Change the default number of items in pagination section

  • Posts: 634
  • Thank you received: 16
6 years 5 months ago #282202

-- 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.

Please Log in or Create an account to join the conversation.

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
6 years 5 months ago #282205

Hello,

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.

  • Posts: 634
  • Thank you received: 16
6 years 5 months ago #282233

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.

Please Log in or Create an account to join the conversation.

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
6 years 5 months ago #282257

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 :

$pageInfo->limit->value = $app->getUserStateFromRequest($this->paramBase.'.list_limit', 'limit', $app->getCfg('list_limit'), 'int');
Important information:
$app->getCfg('list_limit')
It's also known as the "Default List Limit" setting in the Joomla global configuration.


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.059 seconds
Powered by Kunena Forum