Search the FirstSpirit Knowledge Base
Hi,
I need to know how many templates the editor added to a FS_LIST. In the old Contentarealist there was a special variable for that which could be use in a #for loop. How can I do this now?
Thanks
solution is $CMS_VALUE(#row.column1.size)$
To directly adress a template within the FS_LIST:
$CMS_VALUE(#row.column1.get(0))$
You can use the #for.index variable as well, as long as you're using a CMS_FOR loop to iterate over every section within the FS_LIST. http://www.e-spirit.com/odfs50/de/vorlagenentwicklung/formular/eingabekomponenten_2/fs_list/inline/i... contains an example.
solution is $CMS_VALUE(#row.column1.size)$
To directly adress a template within the FS_LIST:
$CMS_VALUE(#row.column1.get(0))$