Documentation : configure.php
configure.php - The configuration panel for the front page
This configuration panel manages following parameters:root_cover_at_home - Either 'full', 'body' or 'none'.
By default YACS displays the title and the content of the cover article at the front page.
Select 'body' to mask the title of the cover page.
And use 'none' to not display any cover article.root_sections_count_at_home - Specify explicitly the number of sections to list at the front page.
Default value is 5.root_sections_at_home - Either 'root', or 'none', or some section id.
By default YACS lists content of root sections.
Else put the id of the section you would like to focus on at the front page.
Or disable explicit listing of sections if you use a skin that features dynamic tabs, based on sections.root_sections_layout - Either 'menu', or another layout.
By default YACS lists top sections as a menu bar.
Use 'map' to reflect the site map at the front page.root_flash_at_home - Insert a Flash object to animate recent titlesroot_gadget_boxes_at_home - Display gadget boxes at the front page.
Due to the special layout used for gadget boxes, there is a fixed maximum of 6 gadget boxes.root_articles_layout - Select the layout to use for articles at the home page.
Following values may be selected:
- 'alistapart' - Display only the most recent published page.
- 'boxesandarrows' - List the last ten most recent pages.
- 'compact' - A simple list of titles.
- 'daily' (this is also the default value) - Make titles out of publication dates.
- 'decorated' - A compact table featuring the introduction and thumbnail.
- 'digg' - To show evidence of rating.
- 'newspaper' - Focus on the last published article, and list some articles published previously.
- 'no_articles' - Do not mention recent articles.
- 'slashdot' - List the last ten most recent pages.
- custom value - useful to implement an external layout.
foo implemented in skins/layout_home_articles_as_foo.php.root_articles_count_at_home - Specify explicitly the number of articles to list at the front page.
By default YACS uses the value related to the selected layout.home_with_recent_files - List most recent files at the front pagehome_with_recent_links - List most recent links at the front pageParameters for the extra panel of the front page:
root_featured_layout - Either 'static', or 'scroll', or 'rotate', or 'none'.
By default YACS lists featured articles as a static list.
Use 'scroll' to animate things.root_featured_count - Specify explicitly the number of featured articles to list at the front page.root_news_layout - Either 'static', or 'scroll', or 'rotate', or 'none'.
By default YACS lists news articles as a static list.
Use 'scroll' to animate the news.root_news_count - Specify explicitly the number of news to list at the front page.home_with_older_articles - List in a side box articles older that those featured in the
main area.home_with_peering_servers - Display a list of servers that have pinged us recently.home_with_random_articles - Display a list of random pages.home_with_recent_poll - List the current poll at the front pagehome_with_top_articles - List most read articles at the front pagehome_with_top_files - List most fetched files at the front pagehome_with_top_links - List most clicked links at the front pageAccess to this page is reserved to associates.
Configuration information is saved into
parameters/root.include.php.
If YACS is prevented to write to the file, it displays parameters to allow for a manual update.The file
parameters/root.include.php.bak can be used to restore
the active configuration before the last change.If the file
demo.flag exists, the script assumes that this instance
of YACS runs in demonstration mode.
In this mode the edit form is displayed, but parameters are not saved in the configuration file.This script is a reference file of this system.
Licence : GNU Lesser General Public License
Auteurs :
- Bernard Paques bernard.paques@bigfoot.com
- Christophe Battarel christophe.battarel@altairis.fr