- Posts: 640
- Thank you received: 16
Change the default number of items in pagination section
- PeterChain
-
Topic Author
- Offline
Less
More
8 years 10 months ago #282202
by PeterChain
-- HikaShop version -- : 3.2.1
-- HikaMarket version -- : 1.7.3
-- Joomla version -- : 3.8
How can I change the default 20 items in the pagination dropdown list to 100 (not all, hundred)
I couldn't find a setting in the configuration. Guess there is no one. I tried chanigng in HikaShop's Display->Module->number of items but there is no connected effect with hikamarket.
I'm not afraid to change this on code, but would appreciate a "formal safe" way to do it.
What file and section shall I change?
Thank you.
-- HikaMarket version -- : 1.7.3
-- Joomla version -- : 3.8
How can I change the default 20 items in the pagination dropdown list to 100 (not all, hundred)
I couldn't find a setting in the configuration. Guess there is no one. I tried chanigng in HikaShop's Display->Module->number of items but there is no connected effect with hikamarket.
I'm not afraid to change this on code, but would appreciate a "formal safe" way to do it.
What file and section shall I change?
Thank you.
Please Log in or Create an account to join the conversation.
8 years 10 months ago #282205
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic Change the default number of items in pagination section
Hello,
Where ?
Which dropdown are you talking about ?
What page(s) ?
Please be a lot more precise.
Regards,
Where ?
Which dropdown are you talking about ?
What page(s) ?
Please be a lot more precise.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
- PeterChain
-
Topic Author
- Offline
Less
More
- Posts: 640
- Thank you received: 16
8 years 10 months ago #282233
by PeterChain
Replied by PeterChain on topic Change the default number of items in pagination section
Yes.
Hikamarket.
The product list where you have access to products to edit them. In hikamarket.
there is a pagination block with page numbers, arrow buttons and a dropdown with "20" items per page selected by default.
"Vendor product listing" menu.
Hikamarket.
The product list where you have access to products to edit them. In hikamarket.
there is a pagination block with page numbers, arrow buttons and a dropdown with "20" items per page selected by default.
"Vendor product listing" menu.
Please Log in or Create an account to join the conversation.
8 years 10 months ago #282257
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic Change the default number of items in pagination section
Hello,
HikaMarket is working exactly as HikaShop and as other Joomla extension.
That "20" limit is a common value. And it bases that on the Joomla core :
Important information:
It's also known as the "Default List Limit" setting in the Joomla global configuration.
HikaMarket is working exactly as HikaShop and as other Joomla extension.
That "20" limit is a common value. And it bases that on the Joomla core :
Code:
$pageInfo->limit->value = $app->getUserStateFromRequest($this->paramBase.'.list_limit', 'limit', $app->getCfg('list_limit'), 'int');
Code:
$app->getCfg('list_limit')
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
Moderators: Obsidev
Time to create page: 0.189 seconds