Let me explain my issue as best as I can:
I have a blog.php file with two fields with type relation:
The tags and category files are like this:
A blog post can have one category and multiple tags associated with it.
I have a page at /tags, where I am successfully able to show all the tags of the site. But I was wondering if there is a way to show the tags associated with specific categories on the /tags page. I would like to do this on the /tags page, as well as for each category landing page.
Any suggestions are welcome, and thank you in advance for your time.
I have a blog.php file with two fields with type relation:
- Code: Select all
<cms:template title='Blog Posts' clonable="1">
...
<cms:editable name='categories'
label='Categories'
masterpage='categories.php'
has='one'
type='relation'
order='3'
/>
<cms:editable name='tags'
label='Tags'
masterpage='tags.php'
type='relation'
order='5'
/>
...
</cms:template>
The tags and category files are like this:
- Code: Select all
<cms:template title='Categories' clonable='1' >
<cms:config_list_view exclude='default-page'>
</cms:config_list_view>
</cms:template>
<cms:embed 'categories.html' />
A blog post can have one category and multiple tags associated with it.
I have a page at /tags, where I am successfully able to show all the tags of the site. But I was wondering if there is a way to show the tags associated with specific categories on the /tags page. I would like to do this on the /tags page, as well as for each category landing page.
Any suggestions are welcome, and thank you in advance for your time.