Hey,
Ok so i have multiple ditto calls on a page (and i’m using pagination for one of the calls).
I’d like the pagination to only work on that 1 call, but it also paginates the other ditto calls on the page too. Is there a way i can stop pagination on the other calls?
Cheers
André
give it unique id:
[[Ditto? &id=`dive_centre_list` &parents=`[*id*]` &levels=`1` &tpl=`display_dive_centre_list` &showInMenuOnly=`1` &sortBy=`pagetitle` &sortDir=`ASC` &noResults=`<p>Please check back soon for more listings.</p>` &filter=`featured_dive_centre,0` &summarize=`10` &paginate=`1` &paginateAlwaysShowLinks=`1` ]]
there is one important detail not to forget about: if you add an unique ID to a ditto call, you also have to use it in your pagination template, e.g. if the pagination template looked like
[+previous+] [+pages+] [+next+]
and the unique ID you added to the ditto call was &id=`more_news` then template then needs to be changed to
[+more_news_previous+] [+more_news_pages+] [+more_news_next+]
Cost me 90 minutes, hope the note helps somebody.
HF,
hquadrat