X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=doc%2FTheming.html;h=13e6acf0b6fed9394e53f07b96fc3022ab1dd2d2;hb=fdf88d194874a533cf3a8de3d317d70018aa8a62;hp=a751eb98046e14990dc84e366963c71a0889218b;hpb=f8b936e7e75601b5d96525f25d5b52dbabd909b4;p=github%2Fshaarli%2FShaarli.git diff --git a/doc/Theming.html b/doc/Theming.html index a751eb98..13e6acf0 100644 --- a/doc/Theming.html +++ b/doc/Theming.html @@ -4,46 +4,69 @@ - Shaarli - Theming + Shaarli – Theming - +
@@ -89,14 +113,14 @@ code > span.er { color: #ff0000; font-weight: bold; }

RainTPL template

WARNING - This feature is currently being worked on and will be improved in the next releases. Experimental.

Community themes & templates

@@ -116,25 +141,25 @@ code > span.er { color: #ff0000; font-weight: bold; }
  • user sites are enabled, e.g. /home/user/public_html/somedir is served as http://localhost/~user/somedir
  • http is the name of the Apache user
  • -
    $ cd ~/public_html
    +
    $ cd ~/public_html
     
     # clone repositories
    -$ git clone https://github.com/shaarli/Shaarli.git shaarli
    -$ pushd shaarli/tpl
    -$ git clone https://github.com/alexisju/albinomouse-template.git
    -$ popd
    +$ git clone https://github.com/shaarli/Shaarli.git shaarli
    +$ pushd shaarli/tpl
    +$ git clone https://github.com/alexisju/albinomouse-template.git
    +$ popd
     
     # set access rights for Apache
    -$ chgrp -R http shaarli
    -$ chmod g+rwx shaarli shaarli/cache shaarli/data shaarli/pagecache shaarli/tmp
    +$ chgrp -R http shaarli +$ chmod g+rwx shaarli shaarli/cache shaarli/data shaarli/pagecache shaarli/tmp

    Get config written:

    -

    Edit Shaarli's configuration|Shaarli configuration:

    -
    # the file should be owned by Apache, thus not writeable => sudo
    -$ sudo sed -i s=tpl=tpl/albinomouse-template=g shaarli/data/config.php
    +

    Edit Shaarli's configuration|Shaarli configuration:

    +
    # the file should be owned by Apache, thus not writeable => sudo
    +$ sudo sed -i s=tpl=tpl/albinomouse-template=g shaarli/data/config.php