Zen Cart custom software development, Zen Cart modules, Zen Cart Expert eCommerce with Zen Cart!


Please note: This is old content; I have not worked on Prestashop since 2009.

Sort Order in CMS in PrestaShop

A PrestaShop mod which allows you to display CMS pages in the info box in whatever order you desire.

By default, CMS pages are displayed in creation order. This mod allows you to order them according to your own preference.

Relevance: PrestaShop 1.2.4 and forward

Donate: This is free software. Show your appreciation by supporting my efforts. Donate

Download: download link

Installation Instructions: click here

Current Version: 1.0

Support Thread: PrestaShop CMS Support Thread


Overview:

Using this contribution allows you to set the sort order of CMS pages to any desired order.

Here's how it works:

  1. By default, CMS pages are displayed in creation order, as shown below:
    Prestashop Original sort order


  2. This mod adds a sort order field to Admin > Modules > Blocks > Info block.
    Prestashop sort order field


  3. After, CMS pages are displayed in the specified sort order.
    Prestashop New sort order




Installation Instructions:

  1. Back up everything! Try this in a test environment prior to installing it on a live shop.
  2. Unzip the mod and copy all .php files to the root folder of your shop.
  3. Run the command "cms.sql" against your database in phpMyAdmin. If you have used a prefix other than "ps_" for your tables, modify this file accordingly (i.e. if config/settings.inc.php has '_DB_PREFIX_' set to 'ps1_', change `ps_cms` to `ps1_cms` in cms.sql.)
  4. This mod adds a sort order field to Admin > Modules > Blocks > Info block. If you have not already installed this module, press the "Install" button. The PrestaShop admin-modules screen
  5. To set the sort order of any CMS page, press the "Configure" link. The PrestaShop admin-modules screen
  6. Donate! Show your appreciation by supporting my efforts.
  7. You're done! Set the sort orders for your files according to your preference.