--- a/doc/book/en/A02c-maintemplate.en.txt Tue Dec 23 13:50:56 2008 -0800
+++ b/doc/book/en/A02c-maintemplate.en.txt Wed Dec 24 12:17:41 2008 -0800
@@ -87,11 +87,12 @@
````````````````
If you want to change the footer for example, look
-for HTMLPageFooter and override it in your views file as in:
-::
+for HTMLPageFooter and override it in your views file as in: ::
- form ginco.web.views.basetemplates import HTMLPageFooter
+ from cubicweb.web.views.basetemplates import HTMLPageFooter
+
class MyHTMLPageFooter(HTMLPageFooter):
+
def call(self, **kwargs):
self.w(u'<div class="footer">')
self.w(u'This website has been created with <a href="http://lax.logilab.org">LAX</a>.')
@@ -123,21 +124,4 @@
* customize MainTemplate and show that everything in the user
interface can be changed
-* Add login menu in left column ?
-CSS changes
-~~~~~~~~~~~
-
-We cannot modify the order in which the application is reading the CSS. In
-the case we want to create new CSS style, the best is to define it a in a new
-CSS located under ``myapp/data/`` and use those new styles while writing
-customized views and templates.
-
-If you want to modify an existing CSS styling property, you will have to use
-``!important`` declaration to override the existing property. The application
-apply a higher priority on the default CSS and you can not change that.
-Customized CSS will not be read first.
-
-
-
-