I recently followed the tutorial on the couchcms, but I seem to be stucked on the categories in the sidebar.
The coding I currently have is:
It does display all my different category folders, but when I click on one of those folders I'm getting the following text:
Instead of displaying the posts in that folder category. All my posts are connected with categories, so I don't know what I am doing wrong?
The coding I currently have is:
- Code: Select all
<cms:set current_folder_name = k_folder_name />
<ul>
<cms:folders masterpage='blog.php' orderby='title' >
<li class="<cms:if current_folder_name=k_folder_name>active</cms:if>"><a href="<cms:show k_folder_link />">
<span> <cms:show k_folder_title /></span></a></li>
</cms:folders>
</ul>
It does display all my different category folders, but when I click on one of those folders I'm getting the following text:
Back Uncategorised >>
18th Jul, 15
comments
Instead of displaying the posts in that folder category. All my posts are connected with categories, so I don't know what I am doing wrong?