- Posts: 8
- Thank you received: 0
How to disable or corrupt "all" on pagination?
13 years 1 month ago #123036
by magyaart
How to disable or corrupt "all" on pagination? was created by magyaart
-- HikaShop version -- : HikaShop Business: 2.2.1
-- Joomla version -- : 2.5.14
-- PHP version -- : 5.3.16
-- Browser(s) name and version -- : Firefox 23.0.1
I have a lot of products in the store. How to disable the ability to show "All" in the selection of pagination? (only from the front, of course!) (eg show 10, 20, 40, all) - How to disable or corrupt "all". The shop is not able to display 4000 products, it takes a very long time, and the user goes.
-- Joomla version -- : 2.5.14
-- PHP version -- : 5.3.16
-- Browser(s) name and version -- : Firefox 23.0.1
I have a lot of products in the store. How to disable the ability to show "All" in the selection of pagination? (only from the front, of course!) (eg show 10, 20, 40, all) - How to disable or corrupt "all". The shop is not able to display 4000 products, it takes a very long time, and the user goes.
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
13 years 1 month ago #123041
by Mohamed Thelji
Replied by Mohamed Thelji on topic How to disable or corrupt "all" on pagination?
Hi,
One of the solution will be to edit "getLimitBox()" function through the "administrator/components/com_hikashop/helpers/pagination.php" file and change this line :
By :
One of the solution will be to edit "getLimitBox()" function through the "administrator/components/com_hikashop/helpers/pagination.php" file and change this line :
Code:
$limits[] = JHTML::_('select.option', '0', JText::_('HIKA_ALL'));
Code:
//$limits[] = JHTML::_('select.option', '0', JText::_('HIKA_ALL'));
Please Log in or Create an account to join the conversation.
13 years 1 month ago #123046
by magyaart
Replied by magyaart on topic How to disable or corrupt "all" on pagination?
Works. TNX!
Please Log in or Create an account to join the conversation.
Time to create page: 0.094 seconds