Hi, I have 2 clonable templates, let's say blog.php and tags.php
Each cloned page in blog has a direct relation to many pages of tags i.e. any blog page has multiple tags.
I have already listed tags, belonging to the blog page.
Also display counts of pages associated with each tag.
This is in page-view of blog.php (relation is set in blog and named has_tag):
Now, the idea is the following: show tags, that are not associated with the current page. This will be good for navigating i.e. tag cloud.
I will list at first associated tags with one color and secondly, I want to list the remaining tags with another color.
How would it be constructed? Appreciate any ideas. Thank you!
Each cloned page in blog has a direct relation to many pages of tags i.e. any blog page has multiple tags.
I have already listed tags, belonging to the blog page.
Also display counts of pages associated with each tag.
This is in page-view of blog.php (relation is set in blog and named has_tag):
<cms:related_pages field='has_tag' orderby='page_title' order='desc' >
<cms:capture into='count' >
<cms:pages masterpage='blog.php' custom_field="has_tag=<cms:show k_page_name />" count_only='1' />
</cms:capture>
<li><a class="tag" href="<cms:show k_page_link />"><cms:show k_page_title /><sup> <cms:show count /></sup></a></li>
</cms:related_pages>
Now, the idea is the following: show tags, that are not associated with the current page. This will be good for navigating i.e. tag cloud.
I will list at first associated tags with one color and secondly, I want to list the remaining tags with another color.
How would it be constructed? Appreciate any ideas. Thank you!