CMS Made Simple Forums

LISE module pagelimit
Page 1 of 1

Author:  jobravo [ Thu May 11, 2017 12:24 am ]
Post subject:  LISE module pagelimit

Hi all,

I am trying to summarize all the news items on my website using the LISE module on CMSMS version 2.x. I only wanted a few items to show up per page so I used the pagelimit="5", however, after moving onto the next page, the previous page still shows up.

Code calling the LISE summary template:
{LISExxxxx template_summary="events-all" start="1"}

Code in the summary template:
{if $items|@count > 0}

   {if $pagecount > 1}
   <!-- pagination -->
      {if $pagenumber > 1}
         {foreach from=$pagelinks item=page}
      {if $pagenumber < $pagecount}
   <!-- pagination //-->
   <!-- items -->

   {foreach from=$items item=item}
   <!-- item -->
                    <div class="row">
                    <div class="panel panel-default event">
                      <div class="item">
                        <div class="rsvp col-xs-2 col-sm-2 {$item->image_orientation}" style="background-image: url('uploads/{$item->image}'), url('uploads/images/Press/default.jpg'); background-repeat: no-repeat; background-position:center;">
                        <div class="info col-xs-8 col-sm-7">
                          <div class="event-info">
                          <p>{$item->release_date|cms_date_format}, <i>{$item->media}</i>
                          {if isset($item->description)}
                            <p class="description">{$item->description}</p>
                          {if isset($item->link)}
                          <p><a href="{$item->link}" class="item-title">Read More</a> </p>
   <!-- items //-->


Author:  velden [ Thu May 11, 2017 7:21 am ]
Post subject:  Re: LISE module pagelimit  Topic is solved

Not sure what you mean exactly by 'the previous page still shows up'.

Wild guess:

'Display details inline (replaces module tag instead of {content}):' in the bottom of the Options tab of your LISExxxxx instance. Enable that option and try again.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group