Stuart Wright
Well-known member
Folks I have the following code on a page which displays tags (for some content) over the top-left corner of an image.
E.g. https://www.avforums.com/review/panasonic-tx-50cx802b-cx802-cx800-4k-review.11261
	
	
	
		
I want to create an additional string variable which is a comma separated list of the tags.
How would I do this within the above loop please?
Thanks
				
			E.g. https://www.avforums.com/review/panasonic-tx-50cx802b-cx802-cx800-4k-review.11261
		Code:
	
	<xen:foreach loop="$tags" value="$tag">
 <xen:if is="{$tag.tag_name}"><span><a href="{xen:link 'tag', $tag}">{$tag.tag_name}</a></span><br /></xen:if>
</xen:foreach>
	How would I do this within the above loop please?
Thanks