Provides Pico CMS with possibility to place the pages in any order according to meta flag
Switch branches/tags
Nothing to show
Clone or download
ollierik Merge pull request #1 from kstenschke/patch-1
fixed typo in key, improved sorting
Latest commit 94d5d70 Mar 27, 2015
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Initial commit Jan 12, 2014
README.md Updated README Jan 13, 2014
pico_placing.php improved sorting to work also with different digit-lengths of placing… Feb 18, 2015

README.md

Pico-Placing

Provides Pico CMS with the ability to place the pages in any order according to a meta flag. The pages are sorted and iterated in the specified order, for example in the navigation. In case of same Placing-tag, first comes the page with the name first in alphabetical order.

  1. Place the 'pico_placing.php' to your Pico install 'plugins' folder.
  2. Add the following line to 'config.php' at the root of your Pico install:
config['pages_order_by'] = 'placing';
  1. Example page meta data:

/* Title: Example page
Author: Jack Jackson
Date: 2014/1/1
Placing: 4 */