I am working on a template and need to be able to keep a list of content IDs that have already been added to the page. This is so that in another area of the page where we add a different variant of the same content type we prevent the same content ID from being added twice.
Just trying this out. If you use this is a Velocity template how do you get it to not render the ‘true’ return value of the .add
method? It looks like there is version of add that won’t do this if you specify the index prior to the element like so:
[ul]
[li]What version of Percussion CM are you using?[/li][li]Do you encounter any error messages?[/li][li]Can you provide a snippet of the code you’re attempting to use?[/li][/ul]