Home « Server software «
Documentation: sections/populate.php
sections/populate.php - Populate sections
Creates following sections for web management purposes:- 'covers' - the most recent article is displayed at the front page of the site
- 'default' - the default place to post new content
- 'extra_boxes' - boxes only displayed at the front page, in the extra panel
- 'gadget_boxes' - boxes only displayed at the front page, as gadgets
- 'menus' - the most recent article is used to build the main menu of the server
- 'navigation_boxes' - displayed at every page of the site, in the navigation panel
Also, if the parameter $context['populate'] is set to 'samples', additional articles will be created:
- 'files' - a sample library of files
- 'my_blog' - a sample blog
- 'my_jive_board' - a sample discussion board
- 'my_manual' - a sample electronic book
- 'my_manual_chapter' - chapter 1 of the sample electronic book
- 'my_section' - a sample plain section
- 'my_wiki' - a sample wiki
- 'my_yabb_board' - a sample discussion board
Additional sections may be created directly from within the content assistant, in control/populate.php.
Moreover, some sections may be created on-demand by other scripts, including:
- 'clicks' - to put orphan links when clicked - created automatically in links/links.php
- 'external_news' - for links gathered from feeding servers in feeds/feeds.php and servers/edit.php
- 'letters' - pages sent by e-mail to subscribers - created automatically in letters/new.php
- 'queries' - pages sent by surfers to submit their queries to the webmaster - created automatically in query.php
This script is a reference file of this system.
Voir aussi:
Licence: GNU Lesser General Public License
Auteurs:
- Bernard Paques bernard.paques@bigfoot.com