# HG changeset patch # User Sandrine Ribeau # Date 1229984019 28800 # Node ID 5b3f9e09a6eae2e26ee5f0b5ff078f56e9bcd54b # Parent 06077d56f2c485fbab5269e4d91b9137d54cef48 [doc] Change logo has been moved to FAQ. diff -r 06077d56f2c4 -r 5b3f9e09a6ea doc/book/en/A02c-maintemplate.en.txt --- a/doc/book/en/A02c-maintemplate.en.txt Mon Dec 22 13:54:57 2008 -0800 +++ b/doc/book/en/A02c-maintemplate.en.txt Mon Dec 22 14:13:39 2008 -0800 @@ -18,32 +18,13 @@ HTMLPageHeader ~~~~~~~~~~~~~~~ -Let's use a different logo than the default one provided with LAX -and customize our header. - -Change logo -``````````` - -The easiest way to use a different logo is to replace the existing -``logo.png`` in ``myapp/data`` by your prefered icon and refresh. -By default all application will look for a ``logo.png`` to be -rendered in the logo section. - -.. image:: images/lax-book.06-main-template-logo.en.png - -[ADD] -customized external_resources in myapp/data cd crih for reference - -[WRITE ME] -ADD how to use external_resources variables used in ginco/web/webconfig.py - Customize header ````````````````` Let's now move the search box in the header and remove the login form from the header. We'll show how to move it to the left column of the application. -Let's sat we do not want anymore the login menu to be in the header, but we +Let's say we do not want anymore the login menu to be in the header, but we prefer it to be in the left column just below the logo. As the left column is rendered by ``TheMainTemplate``, we will show how to do it in TheMainTemplate_. @@ -205,5 +186,5 @@ [TODO] Rajouter une section pour definir la terminologie utilisee. -Dans ginco-doc rajouter une section pour erudi-ctl shell ou +Dans ginco-doc rajouter une section pour cubicweb-ctl shell ou on liste les commandes dispos. diff -r 06077d56f2c4 -r 5b3f9e09a6ea doc/book/en/BXXX-templates.en.txt --- a/doc/book/en/BXXX-templates.en.txt Mon Dec 22 13:54:57 2008 -0800 +++ b/doc/book/en/BXXX-templates.en.txt Mon Dec 22 14:13:39 2008 -0800 @@ -24,16 +24,13 @@ HTMLPageHeader -------------- -Let's use a different logo than the default one provided with LAX -and customize our header. - Customize header ~~~~~~~~~~~~~~~~ Let's now move the search box in the header and remove the login form from the header. We'll show how to move it to the left column of the application. -Let's sat we do not want anymore the login menu to be in the header, but we +Let's say we do not want anymore the login menu to be in the header, but we prefer it to be in the left column just below the logo. As the left column is rendered by ``TheMainTemplate``, we will show how to do it in TheMainTemplate_. @@ -165,7 +162,7 @@ TheMainTemplate is responsible for the general layout of the entire application. It defines the template of ``id = main`` that is used by the application. Is -also defined in ``ginco/web/views/basetemplates.py`` another template that can +also defined in ``cubicweb/web/views/basetemplates.py`` another template that can be used based on TheMainTemplate called SimpleMainTemplate which does not have a top section. @@ -195,5 +192,5 @@ [TODO] Rajouter une section pour definir la terminologie utilisee. -Dans ginco-doc rajouter une section pour erudi-ctl shell ou +Dans ginco-doc rajouter une section pour cubciweb-ctl shell ou on liste les commandes dispos.