Problems, need help? Have a tip or advice? Post it here.
3 posts Page 1 of 1
I have a clonable template for adding services to my website. Now on each clonable page, I want to list all the other services on the sidebar except the current one I am on. How do I go about it?
Please try using the 'page_name' parameter coupled with 'NOT' (http://docs.couchcms.com/tags-reference ... #page_name) e.g. as follows -
Code: Select all
<cms:pages masterpage='services.php' page_name="NOT <cms:show k_page_name />">
    ..
</cms:pages>

N.B. the parameter will require double-quotes as we are using another Couch tag within it, as seen above.

Hope it helps.
Thank you very much KK. Will try it out and get back to you
3 posts Page 1 of 1

Who is online

In total there are 4 users online :: 0 registered, 0 hidden and 4 guests
(based on users active over the past 5 minutes)

Users browsing this forum: No registered users and 4 guests