Jump to content

Recommended Posts

Posted

hello

 

it would be cool if the reselt_per_page can be separated , one for admin side and other for client side .

 

something like

 

the reselt_per_page_admin = for admin side

 

the reselt_per_page_client = for client side

 

the reselt_per_page = use it when the one of above not set .

 

 

or a setting that we can control it for every blesta location .

Posted

Should be able to do it manually, as Mujahed gave us a option in the CMS Plugin to set the number of results per page.

 

and what about upgrades ?

 

also we have this in the store manager done by naja7host , we can set how mush to list per page , but you can't set it manually in other place of blesta . we should update all the models .

Posted

and what about upgrades ?

 

also we have this in the store manager done by naja7host , we can set how mush to list per page , but you can't set it manually in other place of blesta . we should update all the models .

 

You just have to update it after you upgrade. This is in the main controller for the cms:

            $settings = array_merge(Configure::get("Blesta.pagination_client"), array(
                'total_results' => $total_results,
                'uri' => $this->base_uri . "blog/" . $page->uri . "/[p]/",
                'results_per_page' => 5,
                )
            );
Posted

Why not update /config/blesta.php and set the 'results_per_page' for each of the admin/client paginations to what you want them to be set to? That sounds like the simplest solution.

Posted

Why not update /config/blesta.php and set the 'results_per_page' for each of the admin/client paginations to what you want them to be set to? That sounds like the simplest solution.

 

 

that is the simple solution . config.php is not overrided in upgrades .

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...