Karsten
I'm new here

Count templates in FS_LIST

Jump to solution

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

1 Solution

Accepted Solutions
Karsten
I'm new here

solution is $CMS_VALUE(#row.column1.size)$

To directly adress a template within the FS_LIST:

$CMS_VALUE(#row.column1.get(0))$

View solution in original post

2 Replies
feddersen
Community Manager

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.

0 Kudos
Karsten
I'm new here

solution is $CMS_VALUE(#row.column1.size)$

To directly adress a template within the FS_LIST:

$CMS_VALUE(#row.column1.get(0))$