Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

Pagination not working properly
(1 viewing) (1) Guest
Support forum for customers who have purchased JoomSEF 3 (Joomla 1.5 compatible). Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1

TOPIC: Pagination not working properly

Pagination not working properly 13 years, 6 months ago #22883

Order number: 00018314

I installed paid Artio Joomsef and i have problems with pagination.The pagination, in the homepage and sections, not working properly. Pagination is crazy.
Example:
In Web home, when i click on the four page the sef url is the page 2
and the link number of pagination is 3.

My Web is

w w w . l i n k i l i . c o m

Sorry google english, thanks
The topic has been locked.

Re: Pagination not working properly 13 years, 6 months ago #22897

Order number: 00018314

I've found temporary solution

In Parameters Basic i had this configuration (photo 1)

photo-1.jpg


I changed #4 to #0

The pagination works properly.

But I like better solution. I hope to answer

Sorry Google English. Thanks
The topic has been locked.

Re: Pagination not working properly 13 years, 5 months ago #22902

  • fiba
  • OFFLINE
  • Posts: 75
Try to open file /components/com_sef/sef_ext/com_content.php and find line 513 and under

$limit = $menuParams->get('display_num', $mainframe->getCfg('list_limit'));
$limit = $mainframe->getUserStateFromRequest('com_content.'.$uri->getVar('layout', 'default').'.limit', 'limit', $limit, 'int');


add line
$limit=$limit-$links;
Last Edit: 13 years, 5 months ago by fiba.
The topic has been locked.

Re: Pagination not working properly 13 years, 5 months ago #22904

  • fiba
  • OFFLINE
  • Posts: 75
I found better solution. Replace lines 509-515 in this file with:
 
if((isset($view) && $view=='category' && isset($layout) && $layout=='blog') || ($view=='frontpage')) {
$limit = $mainframe->getUserStateFromRequest('com_content.'.$uri->getVar('layout', 'default').'.limit', 'limit', 5, 'int');
$limit=$limit-$links;
} else {
$limit = $menuParams->get('display_num', $mainframe->getCfg('list_limit'));
$limit = $mainframe->getUserStateFromRequest('com_content.'.$uri->getVar('layout', 'default').'.limit', 'limit', $limit, 'int');
}
 
The topic has been locked.

Re: Pagination not working properly 13 years, 5 months ago #22905

Ok. I put the code and the pagination works properly. But the articles (4 articles) that appear in 'more articles' are not in the beginning of the next page.

Thanks, thanks, thanks Filbar
The topic has been locked.
  • Page:
  • 1
Přihlášení uživatele Prázdný