Forum for discussing general topics related to Couch.
3 posts Page 1 of 1
I am in the middle of creating a website and done it all using nested pages and I get the k_page_title showing in my <title> tag on each page but have just created a photo gallery page but the <title> tag is blank and not showing a page title

Is there a way to do this, I tried the following but didn't work as all the pages had the title Photo Gallery

Code: Select all
<cms: if k_nestedpage/>
<title><cms:show k_page_title/></title>
<cms:else/>
<title>Photo Gallery</title>


I can't think of another way at the mo

Thank you in advance
Check the if-clause :)

Code: Select all
<cms:if k_nestedpage>
<title><cms:show k_page_title/></title>
<cms:else/>
<title>Photo Gallery</title>
</cms:if>
Thank you, I have just managed to do it the following way and is working that way

Code: Select all
<cms:if k_is_page>
        <title><cms:show k_page_title /></title>
        <cms:else />
        <title><cms:show k_folder_title/> <?php echo($title); ?></title>
        </cms:if>
3 posts Page 1 of 1