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 .

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...