Being net to couch cms and enthousiastic, I am converting my static site to couch. One problem I cannot solve, although I did a lot of testing and searching for an answer...
I have a small site, three static pages now which I placed under cloned page index.php. The index.php is just a placeholder, because I want to display the other (each having a different template) as a menu.
This is the structure:
index.php
|-- Bio
|-- Resume
|-- Privacy
When you enter the site, index.php is shown empty (as expected). I want it to display the content of the Bio page, and tried something like this:
<cms:if k_is_home >
<cms:show page_name='bio' />
<cms:show bio_content />
</cms:if>
All I see is either an empty page, or the text 'bio'. Not the content of the Bio page.
How can I make this happen?
I have a small site, three static pages now which I placed under cloned page index.php. The index.php is just a placeholder, because I want to display the other (each having a different template) as a menu.
This is the structure:
index.php
|-- Bio
|-- Resume
|-- Privacy
When you enter the site, index.php is shown empty (as expected). I want it to display the content of the Bio page, and tried something like this:
<cms:if k_is_home >
<cms:show page_name='bio' />
<cms:show bio_content />
</cms:if>
All I see is either an empty page, or the text 'bio'. Not the content of the Bio page.
How can I make this happen?