Hi Ibrahim, Nice solution, but I am not sure if it can be used in Andry's scenario because if Andry wants to have N paginated pages, he would have to created N pages and N content classes with slightly different display range.
Also, I noticed that the code provided skips the first page on the list. Andry, like Tony said, either do pagination server side via Delivery Server, php, asp, C# or what other server side code once content is published to a server. OR You can output all the content with a list and use JavaScript/Jquery to show/hide selected range. I do have example ready should you need them. Best, -Jian On Jul 25, 7:50 am, Ibrahim Sawadogo <[email protected]> wrote: > Hi Andry, > > we have something similar, you get the idea: > <!IoRangePreExecute> > <% i = 1 %> > <!IoRangeList> > <% if i = 1 then %> > > <% elseif i > 1 and i < 5 then %> > <div class="teaser-news-standardstory floatbox"> > <div class="teaser-graphic"> > <a href="<%list_news%>" > title="<%standard_news_title%>"><img > src="<%image_mood_news%>" title="<%standard_news_title%>" alt="< > %standard_news_title%>" /></a> > </div> > <div class="teaser-content"> > <span class="news-date"><%standard_news_date%></span> > <h3 title="<%standard_news_title%>">< > %standard_news_title%></h3> > <p><%standard_news_summary%></p> > <a class="link-arrow" href="<%list_news%>" title="< > %standard_teaser_link_title%>"><%standard_teaser_link_title%></a> > </div> > </div> > <% end if %> > > <% i = i +1 %> > <!/IoRangeList> > <!/IoRangePreExecute> > > Ibrahim > > On 25 July 2011 12:34, Andry <[email protected]> wrote: > > > > > > > > > Hi guys, > > > I have a long list of newsletters. How can I show 10 lists per page > > and have pages links on the page. > > e.g page 1 will have newletter 1-10, page 2 will have newsletter 11 to > > 20 and so on... > > > Cheers mate! > > > Andry > > > -- > > You received this message because you are subscribed to the Google Groups > > "RedDot CMS Users" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group at > >http://groups.google.com/group/reddot-cms-users?hl=en. -- You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/reddot-cms-users?hl=en.
