LISE categories and pagination
Posted: Wed Apr 28, 2021 2:32 am
Trying to build my old blog in LISE. I call my categories which prints an <ul> in a side div. first tab would load all categories (default behaviour), the other tabs would filter by category (using default summary template). This works fine.
But, when I call the category menu with a pagelimit the category links no longer load the default summary template, they are loading the default detail template
the URL for the categories without pagination:
https://www.rpc.com.au/solar-news/appliances/1/716.html
with pagination
https://www.rpc.com.au/solar-news/appli ... 0/716.html
What am I doing wrong? Thanks
Code: Select all
{LISEcgblog action="category" orderby="category_id"}
Code: Select all
<ul class="nopane">
<li>{cms_selflink class="{if empty({$category->category_id})}current{/if}" page="{$page_alias}" title="All Categories" text="<span>All Categories</span>"}</li>
{foreach from=$categories item=category}
<li><a href="{$category->url}"
{if ! empty($category->current)}class="current" {/if}
title="{$category->name}"><span>{$category->name}</span></a></li>
{/foreach}
</ul>
But, when I call the category menu with a pagelimit
Code: Select all
{LISEcgblog action="category" orderby="category_id" pagelimit=10}
the URL for the categories without pagination:
https://www.rpc.com.au/solar-news/appliances/1/716.html
with pagination
https://www.rpc.com.au/solar-news/appli ... 0/716.html
What am I doing wrong? Thanks