[Documentation de SPIP] PUBLIE : 22. Variables for customising SPIP

Article publié
--------------

L'article "22. Variables for customising SPIP" a été validé par George
Kandalaft.

** 22. Variables for customising SPIP **
par Paolo le jeudi 30 octobre 2003

Some aspects of the pages of your site can be altered by using PHP
variables. SPIP gives default values to these variables, but, in order to
make fine adjustments to the site’s appearance, they can be changed by
the webmaster.

Where can you set these variables?

It’s not necessary to go into SPIP’s source code to do this (phew!).

to change something for the whole site

If you want to set variables for the whole site, you can do so in a file
named mes_fonctions.php3 which should be placed in the root directory of
the site. (If this file does not already exist, you need to create it,
placing <?php at the very beginning of the file and (...)

-> http://www.spip.net/spip_redirect.php3?id_article=2145