I have successfully set up TVTagCloud on my site, but I need to to display the values from a set of TVs, not just one. Some of these TVs are multi-select, others are single select so I’ve written a PHP script to concatenate them so that TVTagCloud can use them.
Here is the tagmerge snippet:
<?php
$output = $region . "," . $countries;
return $output;
?>
My TvTagCloud call:
[[TvTagCloud? &parent=`[*id*]` &landing=`30` &tvTags=`[!tagmerge? $region = '[*region*]` $countries = `[*countries*]`!]` &extenders=`tagging` &showCount=`0` &customDisplayChunk=`tagcloud` &tagDelim=`,` &displayType=`custom`]]
However, what I’ve done doesn’t seem to work at all. Essentially, I just need to merge the values of $region and $countries so that they can be displayed together by the TvTagCloud call. Perhaps there’s a better way.
Thanks for your help!