The config.php3 is the main reason why people would
not succeed installing phpslash : it is too complicate
to handle phplib AND phpslash together for a first
This config.php3 will work only if the .class files
are moved in the phplib folder ($classdir = $_PHPLIB
["libdir"]) which seems much cleaner than the default
configuration on the package.
This config.php3 file only requires to specify
database settings and it handles multiple templates as
well. The skin name is stored in the cookie, the extra
templates must be in a folder named
"templates.your_skin_name", the images in a folder
A simple call in the url ?skin=your_skin_name and the
work is done !
Thing to do before you use it :
-Make a duplicate of your templates and images
cd < your $rootdir >
cp images images.default
cp templates templates.default
-move the class files in the phplib folder :
mv *.class < $_PHPLIB["libdir"] >
-make a backup of your config file :
cp config.php3 config.bak.php3
-update your config.php3 with the new code
it's ready !
Log in to post a comment.