Greetings to all!
I am trying to do a FAQ section for a site.
Till now I have implemented the entire BLOG section from the documentation. I am now looking forward to achieve the following:
1. Folders => Categories
2. Pages => Questions
When a user visits a particular question I want to show him, on that visited question page, the other question related to the same category in the sidebar. I tried something like this:
the above code rendered the output by displaying all the questions, irrespective of their category.
What needs to be done?
Regards,
GenXCoders
I am trying to do a FAQ section for a site.
Till now I have implemented the entire BLOG section from the documentation. I am now looking forward to achieve the following:
1. Folders => Categories
2. Pages => Questions
When a user visits a particular question I want to show him, on that visited question page, the other question related to the same category in the sidebar. I tried something like this:
- Code: Select all
<cms:folders>
<cms:pages masterpage='faq.php' folder=k_folder_name>
<li><a href="<cms:show k_page_link />"><cms:show k_page_title /></a></li>
</cms:pages>
</cms:folders>
the above code rendered the output by displaying all the questions, irrespective of their category.
What needs to be done?
Regards,
GenXCoders