Hi
I'm experimenting with the "nested page" technique.
Really like this functionallity!
I already had some clonable page setup where I added the nested_pages='1' in the template tag and where I switched from "pages" to "nested_pages" in the masterpage setup.
It seems that the clonable page is working perfect, the items in the admin area are switched to nested items.
But my content doesn't show up at the webpage...
I have the feeling that this has something to do with the "show" tag?
Thanks for looking into it!
Code of clonable page:
Code of page where I need the content showing up:
I'm experimenting with the "nested page" technique.
Really like this functionallity!
I already had some clonable page setup where I added the nested_pages='1' in the template tag and where I switched from "pages" to "nested_pages" in the masterpage setup.
It seems that the clonable page is working perfect, the items in the admin area are switched to nested items.
But my content doesn't show up at the webpage...
I have the feeling that this has something to do with the "show" tag?
Thanks for looking into it!
Code of clonable page:
- Code: Select all
<cms:template title='Traiteur items' clonable='1' nested_pages='1' order="30">
<cms:editable name='traiteur_title_nl' type='text' label='Titel (NL)' />
<cms:editable name='traiteur_title_fr' type='text' label='Titel (FR)' />
<cms:editable name='traiteur_title_en' type='text' label='Titel (EN)' />
<cms:editable name='traiteur_content_nl' type='richtext' label='Inhoud (NL)' />
<cms:editable name='traiteur_content_fr' type='richtext' label='Inhoud (FR)' />
<cms:editable name='traiteur_content_en' type='richtext' label='Inhoud (EN)' />
</cms:template>
Code of page where I need the content showing up:
- Code: Select all
<cms:nested_pages masterpage='traiteur_item.php'>
<div id="pane<cms:show k_count />" class="tab-pane <cms:if k_count='1'>active</cms:if>">
<div class="col-md-12 block">
<div class="wrapper text-center">
<h2>
<cms:if my_lang='nl'><cms:show traiteur_title_nl /></cms:if>
<cms:if my_lang='fr'><cms:show traiteur_title_fr /></cms:if>
<cms:if my_lang='en'><cms:show traiteur_title_en /></cms:if>
</h2>
<p class="text-center">
<cms:if my_lang='nl'><cms:show traiteur_content_nl /></cms:if>
<cms:if my_lang='fr'><cms:show traiteur_content_fr /></cms:if>
<cms:if my_lang='en'><cms:show traiteur_content_en /></cms:if>
</p>
</div>
</div>
</div>
</cms:nested_pages>