Listit2 - help with summary template
Posted: Wed Jun 12, 2013 3:32 pm
Hi
I have been trying to fix this all day and getting no where with the Listit2 module.
I am modifying the default summary template and need to output 4 fields from my list item which are title, description, testimonial, photogallery.
I wish to call the fields separately as I wish to style them differently and the photogallery field is a Gallery module tag such as {Gallery dir='test-gallery1'} which I know needs some extra code eval var= to process the tag rather than simply output the actual tag.
I just cannot work out how to get the output correct. I tried the following in the foreach else loop which outputs the correct fields but duplicates everything 4 times:
{$item->description|cms_escape}
Also tried {$item->fielddefs.position.value|cms_escape} but made no difference.
Also I can't seem to output the Gallery tag.
I am using latest version of CMSMS and Listit2.
All help greatly appreciated.
Thanks, Steve
I have been trying to fix this all day and getting no where with the Listit2 module.
I am modifying the default summary template and need to output 4 fields from my list item which are title, description, testimonial, photogallery.
I wish to call the fields separately as I wish to style them differently and the photogallery field is a Gallery module tag such as {Gallery dir='test-gallery1'} which I know needs some extra code eval var= to process the tag rather than simply output the actual tag.
I just cannot work out how to get the output correct. I tried the following in the foreach else loop which outputs the correct fields but duplicates everything 4 times:
{$item->description|cms_escape}
Also tried {$item->fielddefs.position.value|cms_escape} but made no difference.
Also I can't seem to output the Gallery tag.
I am using latest version of CMSMS and Listit2.
All help greatly appreciated.
Thanks, Steve