by
Musman » Tue Dec 30, 2014 8:35 pm
We can paginate pages only, but what stops us from paginating of folders, repeatables and other arrays using <pages> paginator? I suppose only that it's not an absolutely clean solution. But it's possible)
For example, set page_counter_param = 0 and set allfollders_param with "all folders" value (for example, 12), by using cms:folders tags with a help of counter.
Then define a counter_param = 0 and use cms:pages with limit=allfollders_param and pagination. Inside it use cms:folders with condition of counter_param=page_counter_param and inside it your clear cms:pages [folder=k_folder_name].
Finally, in the end of the loops cms:incr counter_param and page_counter_param.
I suppose that it's not as easy as I described and may require creating an additional template...
There are also a lot of possibilities that I have in mind, starting from using relations and Extended folders for grouping folders to pure JS solutions (I suppose they are the most easy and clean, so personally I would use JS for this task).
Also a neat solution is to use <cms:gpc method='get' /> to ask a string of what folders to display. Yes, I suppose this solution is even better than JS!
So, it's possible, but not "out-of-box" and requires deep knowledge of CMS or JS.