Hi,
I have the following two blocks:
Code
- <perch:block type="text" label="Desktop Links">
- <aside aria-label="<perch:content id="sidebarheading" type="hidden"/>">
- <p><perch:content id="sidebarheading" type="text" label="Sidebar Heading"/></p>
- <perch:if exists="links">
- <perch:repeater id="links">
- <perch:before><ul></perch:before>
- <li><a href="<perch:if exists="hypertextlink"><perch:content id="hypertextlink" type="text" label="Hypertext Link"/><perch:else/>mailto:<perch:content id="emaillink" type="text" label="Email Link"/></perch:if>"><perch:if exists="hypertextlink"><perch:content id="hyperlinktext" type="text" label="Hyperlink Content"/><perch:else/><perch:content id="emaillinktext" type="text" label="Email Content"/></perch:if></a></li>
- <perch:after></ul></perch:after>
- </perch:repeater>
- </perch:if>
- </aside>
- </perch:block>
and
Code
- <perch:block type="sidemenu" label="Mobile Links">
- <aside aria-label="<perch:content id="sidemenuheading" type="hidden"/>">
- <perch:content id="mobilemenuheader" type="select" options="mobilemenu" label="Mobile Menu" help="Enable Mobile Menu" suppress="true" allowempty="true"/>
- <perch:if id="mobilemenuheader" value="mobilemenu">
- <div>
- <div>
- <span></span>
- <span></span>
- <span></span>
- </div>
- </div>
- </perch:if>
- <div>
- <p><perch:content id="sidemenuheading" type="text" label="Sidemenu Heading"/></p>
- <perch:if exists="sidemenulinks">
- <perch:repeater id="sidemenulinks">
- <perch:before><ul></perch:before>
- <li><a href="<perch:if exists="hypertextlink1"><perch:content id="hypertextlink1" type="text" label="Hypertext Link"/><perch:else/>mailto:<perch:content id="emaillink1" type="text" label="Email Link"/></perch:if>"><perch:if exists="hypertextlink1"><perch:content id="hyperlinktext1" type="text" label="Hyperlink Content"/><perch:else/><perch:content id="emaillinktext1" type="text" label="Email Content"/></perch:if></a></li>
- <perch:after></ul></perch:after>
- </perch:repeater>
- </perch:if>
- </div>
- </aside>
- </perch:block>
which have I believe, what are identical code structures that I would like to replicate content for.
I was wondering if simply using the same id="" for a <perch:repeater></perch:repeater whether the content will simply be replicated in the same way that id="hidden" can be used to duplicate content for text fields.