Anyone out there using version 6.7 and cloud tags? I have created a content type with a multi-dropdown of preconfigured cloud tags for the end user to chose but an having difficulty getting the tags into page. The idea being the the choices the user makes will be in the published page (not visible) just within the html. the a JS populates the cloud tag field in the global template. Any better or different ideas?
I found this code snippet in the forum but am having problems with it:
I’m not sure if this would serve your needs or not, but we worked with Percussion PSO to implement a custom tagging module that allows an administrator to define a taxonomy (basically a tree of terms) and then the users can tag content items with whatever tags they want, which can then be used in the Velocity code to build pages.
Thanks so much for the input, certainly that may the best option and we will be working with there PSO in the very near future on some other issues but unfortunately I am under the gun on this particular issue to get the cloud tag in place QUICKLY due to a new site launch. The idea being I put in a stop gap measure and as mentioned, and then discuss a more robust solution with the PSO when we discuss other work we need done.
I am just hoping someone can jump in and tell me where I am going wrong on the code. This should be fairly striaght foward to grab choices from the multi-dropdown choices and add them to the HTML in a hidden field but I am having no luck
Let me know if that gets you close to your desired result. If you’re wanting to delimit the values then you’ll have to use the $velocityCount variable within the foreach to determine the last occurrence then stop delimiting.
Let me know if that gets you close to your desired result. If you’re wanting to delimit the values then you’ll have to use the $velocityCount variable within the foreach to determine the last occurrence then stop delimiting.[/QUOTE]
Thanks Riley. I tried that code and it gives me the same message:
“Problem assembling output for item (name=“Human-Factors-Article”, id=6-101-26015) with template: erauPgArticle. Underlying error: keywordvalue may not be null or empty See log for stack trace.”
This has me way perplexed. I am unclear as to why it seems so difficult to pull into the page a multi-dropdown choices from a field? In another site I am using a querybuilder statement to pull in specific content types via a multi-dropdwon choice e.g.