Problems, need help? Have a tip or advice? Post it here.
2 posts Page 1 of 1
I want to show k_template_link of "templates" WHERE k_template_name = "Test"

I need to output the k_template_link. How can I get this done?

I started to output all:
Code: Select all
<cms:templates show_hidden='1' order='desc'>
<cms:show k_template_link />
</cms:templates>


But I need a WHERE k_template_name="Test" selection
* * * * * * I LOVE COUCH CMS - flexible and straight forward * * * * * *
Make use of the 'conditional' statements i.e. cms:if, cms:else (http://www.couchcms.com/docs/tags-reference/if.html)
Code: Select all
<cms:if k_template_name='home.php' >
   <a href="<cms:show k_template_link />">Home</a>
</cms:if>

Hope this helps.
2 posts Page 1 of 1