• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: LISE action category and pagelimit
PostPosted: Tue Feb 11, 2020 7:53 pm 
Offline
Power Poster
Power Poster
User avatar

Joined: Sun Nov 06, 2011 8:15 pm
Posts: 876
Location: Deventer, Netherlands
Hi,

In LISE I use categories (and sub-categories).
Once clicked on a categorie, the items of that category are showing, as expected.

Now I want to set a pagelimit, but that doesn't seem to work with action='category'.

Does anyone can help me out on how to use the pagelimit here?

gr Tim

_________________
NextDoorMedia - Online Marketing Partner
https://www.nextdoormedia.nl


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: LISE action category and pagelimit
PostPosted: Thu Feb 13, 2020 8:48 pm 
Offline
Dev Team Member
Dev Team Member

Joined: Mon Nov 28, 2011 9:29 am
Posts: 3157
Location: The Netherlands
And where do you need that page limit?

On the category overview, on the items overview (AFTER clicking the category) or both?

I'd expect the cms_module_hint tag could be of use.
https://docs.cmsmadesimple.org/tags/cms ... odule_hint


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: LISE action category and pagelimit
PostPosted: Thu Feb 13, 2020 10:11 pm 
Offline
Power Poster
Power Poster
User avatar

Joined: Sun Nov 06, 2011 8:15 pm
Posts: 876
Location: Deventer, Netherlands
Hi,

I need the pagelimit on the items overview after clicking the category.
I did indeed tried putting module_hint into the page-template to accomplish this, but with no effect. Also tried putting the tag on the page itself..

{cms_module_hint module=LISENieuwtjes pagelimit='2'}

_________________
NextDoorMedia - Online Marketing Partner
https://www.nextdoormedia.nl


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: LISE action category and pagelimit
PostPosted: Fri Feb 14, 2020 4:05 pm 
Offline
Dev Team Member
Dev Team Member

Joined: Mon Nov 28, 2011 9:29 am
Posts: 3157
Location: The Netherlands
I can't get it to work either. It's like the cms_module_hint parameter is not passed to the LISE instance. Don't know why (yet)

EDIT:

Try by adding the summarypage parameter explicitly PLUS leave the cms_module_hint in place:

{LISEinstance action=category summarypage=$page_alias} (or an other page of course)


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: LISE action category and pagelimit
PostPosted: Fri Feb 14, 2020 5:45 pm 
Offline
Power Poster
Power Poster
User avatar

Joined: Sun Nov 06, 2011 8:15 pm
Posts: 876
Location: Deventer, Netherlands
Hi,

I already had the summarypage parameters set.
This is my complete tag:

{LISENieuwtjes action=category summarypage=$page_alias detailpage=$page_alias category='de-wildernis-terrein'}

Seem to do nothing..Still showing 4 items.

Maybe good to know I'm using sub-categories also.. don't know if that's the reason it breaks..

_________________
NextDoorMedia - Online Marketing Partner
https://www.nextdoormedia.nl


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: LISE action category and pagelimit
PostPosted: Fri Feb 14, 2020 5:51 pm 
Offline
Dev Team Member
Dev Team Member

Joined: Mon Nov 28, 2011 9:29 am
Posts: 3157
Location: The Netherlands
And where exactly have you put the {cms_module_hint ...} tag.
I'd suggest to put it in the the 'Smarty data or logic that is specific to this page' field of the specific page the overview is displayed.

Then also make sure the PAGE template has the {process_pagedata} tag at the top.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: LISE action category and pagelimit
PostPosted: Fri Feb 14, 2020 5:57 pm 
Offline
Power Poster
Power Poster
User avatar

Joined: Sun Nov 06, 2011 8:15 pm
Posts: 876
Location: Deventer, Netherlands
Hi,

I have had it on the main template.
Now I have put in in the ''Smarty data or logic that is specific to this page' ' and something did change, but seems fault.

Normally, the url of the category was:

/article/category-name/1/89

Now with the module hint in that place, the url changed to:

/article/category-name/1/page//2/89

_________________
NextDoorMedia - Online Marketing Partner
https://www.nextdoormedia.nl


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: LISE action category and pagelimit
PostPosted: Wed Feb 26, 2020 8:51 am 
Offline
Power Poster
Power Poster
User avatar

Joined: Sun Nov 06, 2011 8:15 pm
Posts: 876
Location: Deventer, Netherlands
Hi, should I make a bug-report for this?
Seems like it does not work how it's supposed to, or maybe it's not really suitible for categories and sub-categories..

_________________
NextDoorMedia - Online Marketing Partner
https://www.nextdoormedia.nl


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Hosting Nation - Managed CMSMS Hosting