activa Posted September 23, 2015 Report Posted September 23, 2015 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 . Quote
Michael Posted September 23, 2015 Report Posted September 23, 2015 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. Quote
activa Posted September 23, 2015 Author Report Posted September 23, 2015 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 . Quote
Michael Posted September 23, 2015 Report Posted September 23, 2015 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, ) ); Quote
Tyson Posted September 23, 2015 Report Posted September 23, 2015 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. Quote
Blesta Addons Posted September 23, 2015 Report Posted September 23, 2015 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 . Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.