TvTagCloud
Votes: 29
Tags: Navigation, Blogging, snippet, taxonomy
Submitted: May 9, 2008
Released: May 9, 2008
Downloads: 1200
License: GPL - GNU Public
Package Website
TvTagCloud 2.1.4
Works with the following Version(s): 0.9.5 | 0.9.6
Displays a tag cloud or list based on the tags stored in a template variable for each document.
Download
- repo-2023.txt (1200 downloads)
Description
TvTagCloud allows you to display your doument tags in a tag cloud or as an unordered list. When a user clicks on a tag it links them to a page displaying all documents containing the clicked tag.
This snippet requires the latest version of Ditto to function correctly.
Parameters:
- parent - folder that contains the documents which are to be counted (can take multiple parents, separate with commas)
- depth - the number of levels we should search for child documents (like Ditto)
- days - the number of days to look back over to find tags (based on pub_date), 0 for all
- min - minimum number of tag occurances for tag to show, 0 for all
- sort - how should the results be ordered? By default they will be sorted by document ID. Values can be:
asc - tag alphabetical
dec - tag reverse alpgabetical
numasc - tag count ascending
numdesc - tag count descending
random - random order - landing - id of document to display ditto listings
- tvTags - the template variable that has the tags
- tagDelim - delimiter between tags in tvar
- displayType - cloud | list output as a tag cloud or an unordered list
- showCount - if you want the number of occurances to be displayed set to 1
- caseSensitive - if you want tag duplicate removal to be case sensitive set to 1
- steps - comma separated list of the numeric intervals to determine the size of the tag class (i.e. how many times must a tag appear before it increases in size)
- styles - comma separated list of class names that will be applied to each of the size intervals in "steps"
- tooltip - Template for the tooltip that will appear as the title attribute for each tag link. Takes placeholders +count+ and +tag+ which will be replaced with appropriate values
- dittoID - Id of the Ditto instance which should display the selected tag
- limit - restrict the number of tags to display
Instructions
First thing you need to do is add a new template variable to the template you use for your documents. For this example I named mine docTags. Then go into each document and add some tags i.e. modx,snippet,ajax.
Next you need to setup the snippet call. Add the following snippet call to your page where you want to display the tag cloud:
!TvTagCloud? &parent=`1` &landing=`22` &tvTags=`docTags` &showCount=`1`!
To create the landing page that will display the pages when a tag is clicked create a new document with the following Ditto call:
!Ditto? &parents=`1` &tagData=`docTags` &tagDelimiter=`,`!Updates* Fix bug where depth param was not being used
Sub-Packages
Previous Releases
2.1.3
Votes: 25
Tags: Navigation, Blogging, snippet, taxonomy
Submitted: Apr 9, 2008
Released: Apr 9, 2008
Downloads: 411
License: GPL - GNU Public
Package Website
TvTagCloud 2.1.3
Works with the following Version(s): 0.9.5 | 0.9.6
Displays a tag cloud or list based on the tags stored in a template variable for each document.
Download
- repo-1974.txt (411 downloads)
Description
TvTagCloud allows you to display your doument tags in a tag cloud or as an unordered list. When a user clicks on a tag it links them to a page displaying all documents containing the clicked tag.
This snippet requires the latest version of Ditto to function correctly.
Parameters:
- parent - folder that contains the documents which are to be counted (can take multiple parents, separate with commas)
- depth - the number of levels we should search for child documents (like Ditto)
- days - the number of days to look back over to find tags (based on pub_date), 0 for all
- min - minimum number of tag occurances for tag to show, 0 for all
- sort - how should the results be ordered? By default they will be sorted by document ID. Values can be:
asc - tag alphabetical
dec - tag reverse alpgabetical
numasc - tag count ascending
numdesc - tag count descending
random - random order - landing - id of document to display ditto listings
- tvTags - the template variable that has the tags
- tagDelim - delimiter between tags in tvar
- displayType - cloud | list output as a tag cloud or an unordered list
- showCount - if you want the number of occurances to be displayed set to 1
- caseSensitive - if you want tag duplicate removal to be case sensitive set to 1
- steps - comma separated list of the numeric intervals to determine the size of the tag class (i.e. how many times must a tag appear before it increases in size)
- styles - comma separated list of class names that will be applied to each of the size intervals in "steps"
- tooltip - Template for the tooltip that will appear as the title attribute for each tag link. Takes placeholders +count+ and +tag+ which will be replaced with appropriate values
- dittoID - Id of the Ditto instance which should display the selected tag
- limit - restrict the number of tags to display
Instructions
First thing you need to do is add a new template variable to the template you use for your documents. For this example I named mine docTags. Then go into each document and add some tags i.e. modx,snippet,ajax.
Next you need to setup the snippet call. Add the following snippet call to your page where you want to display the tag cloud:
!TvTagCloud? &parent=`1` &landing=`22` &tvTags=`docTags` &showCount=`1`!
To create the landing page that will display the pages when a tag is clicked create a new document with the following Ditto call:
!Ditto? &parents=`1` &tagData=`docTags` &tagDelimiter=`,`!UpdatesMany bugfixes and suggestions from the forums, including:
* Correct encoding for international output
* Correct query string characters on links (based on ModX friendly URLs / XHTML settings)
* Fix for min value
* Ability to limit nuber of tags returned
* Sort by tag count
2.1.1
Votes: 25
Tags: Navigation, Blogging, snippet, taxonomy
Submitted: Jul 27, 2007
Released: Jul 27, 2007
Downloads: 1144
License: GPL - GNU Public
Package Website
TvTagCloud 2.1.1
Works with the following Version(s): 0.9.5 | 0.9.6
Displays a tag cloud or list based on the tags stored in a template variable for each document.
Download
- repo-1564.txt (1144 downloads)
Description
TvTagCloud allows you to display your doument tags in a tag cloud or as an unordered list. When a user clicks on a tag it links them to a page displaying all documents containing the clicked tag.
This snippet requires the latest version of Ditto to function correctly.
Parameters:
- parent - folder that contains the documents which are to be counted (can take multiple parents, separate with commas)
- depth - the number of levels we should search for child documents (like Ditto)
- days - the number of days to look back over to find tags (based on pub_date), 0 for all
- min - minimum number of tag occurances for tag to show, 0 for all
- sort - how should the results be ordered? By default they will be sorted by document ID. Values can be:
asc - tag alphabetical
dec - tag reverse alpgabetical
numasc - tag count ascending
numdesc - tag count descending
random - random order - landing - id of document to display ditto listings
- tvTags - the template variable that has the tags
- tagDelim - delimiter between tags in tvar
- displayType - cloud | list output as a tag cloud or an unordered list
- showCount - if you want the number of occurances to be displayed set to 1
- caseSensitive - if you want tag duplicate removal to be case sensitive set to 1
- steps - comma separated list of the numeric intervals to determine the size of the tag class (i.e. how many times must a tag appear before it increases in size)
- styles - comma separated list of class names that will be applied to each of the size intervals in "steps"
- tooltip - Template for the tooltip that will appear as the title attribute for each tag link. Takes placeholders +count+ and +tag+ which will be replaced with appropriate values
- dittoID - Id of the Ditto instance which should display the selected tag
- limit - restrict the number of tags to display
Instructions
First thing you need to do is add a new template variable to the template you use for your documents. For this example I named mine docTags. Then go into each document and add some tags i.e. modx,snippet,ajax.
Next you need to setup the snippet call. Add the following snippet call to your page where you want to display the tag cloud:
!TvTagCloud? &parent=`1` &landing=`22` &tvTags=`docTags` &showCount=`1`!
To create the landing page that will display the pages when a tag is clicked create a new document with the following Ditto call:
!Ditto? &parents=`1` &tagData=`docTags` &tagDelimiter=`,`!Updates * can be supplied with more than one parent document (comma separated list of parents)
* can use tags from more than immediate children of the supplied parent (in fact now has a depth parameter like Ditto)
* can retrieve tags from documents only published within the last X days
* can sort the tag output alphabetically (or backwards, or random)
* output step intervals can be specified as parameters to the snippet (not hard coded anymore)
* output step classes can be specified as parameters to the snippet (not hard coded anymore)
* tooltip (title tag) now added to each tag link (usability and SEO benefits) -- this is fully templatable via snippet parameter
* lots of code refactoring and (hopefully) improvements
2.0
Votes: 25
Tags: Navigation, Blogging, snippet, taxonomy
Submitted: May 10, 2007
Released: May 10, 2007
Downloads: 766
License: GPL - GNU Public
Package Website
TvTagCloud 2.0
Works with the following Version(s): 0.9.5
Displays a tag cloud or list based on the tags stored in a template variable for each document.
Download
- repo-1472.txt (766 downloads)
Description
TvTagCloud allows you to display your doument tags in a tag cloud or as an unordered list. When a user clicks on a tag it links them to a page displaying all documents containing the clicked tag.
This snippet requires the latest version of Ditto to function correctly.
Parameters:
- parent - folder that contains the documents which are to be counted (can take multiple parents, separate with commas)
- depth - the number of levels we should search for child documents (like Ditto)
- days - the number of days to look back over to find tags (based on pub_date), 0 for all
- min - minimum number of tag occurances for tag to show, 0 for all
- sort - how should the results be ordered? By default they will be sorted by document ID. Values can be:
asc - tag alphabetical
dec - tag reverse alpgabetical
numasc - tag count ascending
numdesc - tag count descending
random - random order - landing - id of document to display ditto listings
- tvTags - the template variable that has the tags
- tagDelim - delimiter between tags in tvar
- displayType - cloud | list output as a tag cloud or an unordered list
- showCount - if you want the number of occurances to be displayed set to 1
- caseSensitive - if you want tag duplicate removal to be case sensitive set to 1
- steps - comma separated list of the numeric intervals to determine the size of the tag class (i.e. how many times must a tag appear before it increases in size)
- styles - comma separated list of class names that will be applied to each of the size intervals in "steps"
- tooltip - Template for the tooltip that will appear as the title attribute for each tag link. Takes placeholders +count+ and +tag+ which will be replaced with appropriate values
- dittoID - Id of the Ditto instance which should display the selected tag
- limit - restrict the number of tags to display
Instructions
First thing you need to do is add a new template variable to the template you use for your documents. For this example I named mine docTags. Then go into each document and add some tags i.e. modx,snippet,ajax.
Next you need to setup the snippet call. Add the following snippet call to your page where you want to display the tag cloud:
!TvTagCloud? &parent=`1` &landing=`22` &tvTags=`docTags` &showCount=`1`!
To create the landing page that will display the pages when a tag is clicked create a new document with the following Ditto call:
!Ditto? &parents=`1` &tagData=`docTags` &tagDelimiter=`,`!UpdatesMajor optimizations pertaining to tv retreival
1.0
Votes: 25
Tags: Navigation, Blogging, snippet, taxonomy
Submitted: Jul 16, 2006
Released: Jul 16, 2006
Downloads: 1555
License: GPL - GNU Public
Package Website
TvTagCloud 1.0
Works with the following Version(s): 0.9.2 | 0.9.2.1
Displays a tag cloud or list based on the tags stored in a template variable for each document.
Download
- repo-736.txt (1555 downloads)
Description
TvTagCloud allows you to display your doument tags in a tag cloud or as an unordered list. When a user clicks on a tag it links them to a page displaying all documents containing the clicked tag.
This snippet requires the latest version of Ditto to function correctly.
Parameters:
- parent - folder that contains the documents which are to be counted (can take multiple parents, separate with commas)
- depth - the number of levels we should search for child documents (like Ditto)
- days - the number of days to look back over to find tags (based on pub_date), 0 for all
- min - minimum number of tag occurances for tag to show, 0 for all
- sort - how should the results be ordered? By default they will be sorted by document ID. Values can be:
asc - tag alphabetical
dec - tag reverse alpgabetical
numasc - tag count ascending
numdesc - tag count descending
random - random order - landing - id of document to display ditto listings
- tvTags - the template variable that has the tags
- tagDelim - delimiter between tags in tvar
- displayType - cloud | list output as a tag cloud or an unordered list
- showCount - if you want the number of occurances to be displayed set to 1
- caseSensitive - if you want tag duplicate removal to be case sensitive set to 1
- steps - comma separated list of the numeric intervals to determine the size of the tag class (i.e. how many times must a tag appear before it increases in size)
- styles - comma separated list of class names that will be applied to each of the size intervals in "steps"
- tooltip - Template for the tooltip that will appear as the title attribute for each tag link. Takes placeholders +count+ and +tag+ which will be replaced with appropriate values
- dittoID - Id of the Ditto instance which should display the selected tag
- limit - restrict the number of tags to display
Instructions
First thing you need to do is add a new template variable to the template you use for your documents. For this example I named mine docTags. Then go into each document and add some tags i.e. modx,snippet,ajax.
Next you need to setup the snippet call. Add the following snippet call to your page where you want to display the tag cloud:
!TvTagCloud? &parent=`1` &landing=`22` &tvTags=`docTags` &showCount=`1`!
To create the landing page that will display the pages when a tag is clicked create a new document with the following Ditto call:
!ditto? &startID=`1` &tagData=`tvdocTags` &tagDelimiter=`,`!

Please login to comment.