Hi all, have a question
have a blog with posts:
all tags are with separator = ', '
post1 tags: travel, weather, city
post2 tags: cars, tech, road
post3 tags: sun, sea, travel
how to get only unique tags?
i have started, but don't know, how to get only unique using CouchCMS programming tags without php
in output i need to get just:
without "travel" dublicates, only 1 time
have a blog with posts:
- Code: Select all
<cms:template title='Blog' clonable='1'>
<cms:editable name='tags' type='text' />
</cms:template>
all tags are with separator = ', '
post1 tags: travel, weather, city
post2 tags: cars, tech, road
post3 tags: sun, sea, travel
how to get only unique tags?
i have started, but don't know, how to get only unique using CouchCMS programming tags without php
- Code: Select all
<cms:pages masterpage='blog.php'>
<cms:each tags sep=', '>
<cms:each item>
<cms:show item />
</cms:each>
</cms:each>
</cms:pages>
in output i need to get just:
travel, weather, city, cars, tech, road, sun, sea
without "travel" dublicates, only 1 time