Paging is not working !

Post bug reports and your suggestions for features or functionality that can be added or enhanced here.

Paging is not working !

Postby php_three » Wed Jan 07, 2009 11:54 am

Hi,
I am a php developer and I am working on joomla site.

I installed wbAdvert Advanced Banner System component and module.
It is working fine as per the need but there is one problem in admin section. In admin section paging is not working. When I click on next or number it redirect to home page of wbAdvert component.

Thanks for replay.
php_three
 
Posts: 4
Joined: Wed Jan 07, 2009 10:38 am

Re: Paging is not working !

Postby rugarigo » Thu Feb 05, 2009 6:57 am

Hi

It can be a possible solution to:

1) go to /administrator/components/com_wbadvert/includes/

2) simply comment these two lines in advert.php, group.php, client.php
Code: Select all
  //$limit = $mainframe->getUserStateFromRequest( "viewlistlimit", 'limit', $mainframe->getCfg('list_limit') );
  //$limitstart = $mainframe->getUserStateFromRequest( "wbadvert{$task}limitstart", 'limitstart', 0 );

and add these right after them:
Code: Select all
  $limit='1000';
  $limitstart='0';

It will force the template to display the first 1000 entries (ads) or whatever number you declare as the $limit variable, so
you will have all your entries on one page - as long as you have less ads then the limit.

You have to make these changes in the advert, group, client php files in the same folder.
rugarigo
 
Posts: 1
Joined: Thu Feb 05, 2009 6:46 am

Re: Paging is not working !

Postby php_three » Thu Apr 23, 2009 8:18 am

Thanks
php_three
 
Posts: 4
Joined: Wed Jan 07, 2009 10:38 am


Return to Bugs & Feature Requests

Who is online

Users browsing this forum: No registered users and 1 guest

cron