Ticket #2150 (closed defect: fixed)

Opened 9 years ago

Last modified 9 years ago

Missing METAL macro slots

Reported by: gracinet Owned by: gracinet
Priority: P2 Milestone: CPS 3.5.1
Component: CPSDesignerThemes Version: TRUNK
Severity: normal Keywords: zpt slot header sub
Cc:

Description

The (seldom used) macro slots header and sub are dropped by the themes engine. An example is the <h1> of the document creation page.

These slots are defined in main_template and also forwarded by content_lib_master

Change History

comment:1 Changed 9 years ago by gracinet

  • Status changed from new to closed
  • Resolution set to fixed

 Done by a simple concatenation, which reproduces exactly the corresponding fragment of CPSSkin's main_template:

<metal:block
      use-macro="here/?main_macro/macros/main">
        <metal:block fill-slot="maincontent">
            <metal:block define-slot="header" />
            <metal:block define-slot="main" />
            <metal:block define-slot="sub" />
          </metal:block>
        </metal:block>
Note: See TracTickets for help on using tickets.