Home « Server software «
Documentation: articles/populate.php
articles/populate.php - Populate articles
Creates articles with following nick names:- 'cover' - A sample cover article for your front page
- 'extra_rss' - A sample extra box to link to our XML RSS feed
- 'menu' - A sample general menu displayed on all pages
Also, if the parameter $context['populate'] is set to 'samples', additional articles will be created:
- 'extra' - A sample extra box at the front page
- 'my_article' - A sample plain article
- 'my_blog_page' - Some blogging sample
- 'my_manual_page' - A sample page of an electronic book
- 'my_jive_thread' - A sample thread made of one article, with a number of comments
- 'my_thread' - A sample thread made of one article, with a number of comments
- 'my_wiki_page' - Some wiki sample content
- 'my_yabb_thread' - A sample thread made of one article, with a number of comments
- 'navigation' - A sample navigation box
This script do not use the standard publication mechanism (
Articles::publish()
)
and do not put created pages into weekly and monthly categories.This script is a reference file of this system.
Voir aussi:
Licence: GNU Lesser General Public License
Auteurs:
- Bernard Paques bernard.paques@bigfoot.com