eZ Community » Forums » Setup & design » Tag Cloud question

Tag Cloud question

Tag Cloud question

Friday 20 June 2008 10:15:09 am - 3 replies

I want to show a tag cloud in a certain section of a site, that only displays the tags in that section.

I have managed to do this by creating a custom tag, and then passing the node ID to the eztagcloud() function.

{eztagcloud( hash( 'class_identifier', 'article', 'parent_node_id', $node_id ) )}

This works fine in that only displays the tags in the subtree identified by the node_id. However, when you click on a tag, it displays all the articles though the whole site that contain that tag. Is there any way to display only the tagged articles within the subtree?
I notice that the tag cloud in the blog template displays the same behavior, only showing tags within the blog, but when you click on a tag, it displays all content throughout the site that has that tag.

I am using eZPublish 4.0 with the eZwebin.

Friday 20 June 2008 2:18:29 pm

Hi Richard

This is a limitation/feature of how the system works. I've created a version that works as you want. I'll see if I can package it up in the coming weeks.


Wednesday 02 July 2008 2:24:08 pm

Thanks for the prompt response.

That would be great, keep me posted.

Wednesday 26 May 2010 5:25:33 pm

Did this get updated? Is there a link to the tag cloud package?


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from