Tag cloud only for $_items

iamtimbo
@iamtimbo
10 years ago
301 posts
I'd like to add a tag cloud, but only for the items that are returned in a template.

I've added this, but to no avail....


{jrTags_cloud height="300" search="gallery_image_title in '$_items'"}


But get no cloud.....
updated by @iamtimbo: 08/08/15 08:40:56PM
michael
@michael
10 years ago
7,791 posts
its going to totally rely on whatever is in that $_items value. if you put a {debug} in that location and look at what $_items looks like that will tell you what the issue is.

the IN search parameter is expecting a comma separated list:
something,other,more

Thats not what I would expect to be in the $_items variable if it is what I think it is.

Might be that you need to change the structure of $_items to create a new variable to get done what your after.

If it was me, I'd first try with static content
{jrTags_cloud height="300" search="gallery_image_title in one for all,enter sandman"}

and see if thats what your after. If it is then figure out how to get that structure into a variable. Probably with 'explode'
iamtimbo
@iamtimbo
10 years ago
301 posts
Huge delay. Thank you - I'm looking into this now....