1 The following patch adds a footer div on all pages to ease CSS themeing.
2 Indeed, the misc.tmpl, recentchanges.tmpl and editpage.tmpl templates lack such a div.
4 > So, the problem with this is that the default css inserts a horizontal
5 > line at the top of the footer div, and putting an empty footer on these
6 > other pages looks a bit weird. Any idea how to get around that?
9 >> Sorry I didn't see that. It definitely looks weird. We could add text
10 >> in all footers or change the CSS stylesheet, but it's not clean IMHO.
12 >> The idea was about to ease themeing by giving all the pages the same
13 >> structure. The current structure is the following one:
15 >> div header - div actions ... div content - div footer (sometimes)
17 >> So we could add some new divs in all templates. By default, they will
18 >> be empty and no CSS will be defined for them. This way ikiwiki
19 >> standard appearance is not changed but themeing will be eased.
20 >> The new page structure could be:
22 >> * div banner (to show up a logo for example)
24 >> * div content-wrap containing div header, div actions, ... div content
27 >> * div realfooter (to put credits, "Powered by ikiwiki", "Valid XHTML"...)
29 >> From my tests, it works: Just adding the divs, without touching the stylesheet,
30 >> doesn't change ikiwiki appearance. And themeing is eased :-)
32 >> I can update the patch, if you want to follow and test this idea. --Fred
34 >>> Sure, go ahead --[[Joey]]
36 This patch is against current svn.
38 Index: templates/recentchanges.tmpl
39 ===================================================================
40 --- templates/recentchanges.tmpl (révision 3543)
41 +++ templates/recentchanges.tmpl (copie de travail)
45 <!-- from <TMPL_VAR NAME=WIKINAME> -->
51 Index: templates/editpage.tmpl
52 ===================================================================
53 --- templates/editpage.tmpl (révision 3543)
54 +++ templates/editpage.tmpl (copie de travail)
56 <TMPL_VAR PAGE_PREVIEW>
63 Index: templates/misc.tmpl
64 ===================================================================
65 --- templates/misc.tmpl (révision 3543)
66 +++ templates/misc.tmpl (copie de travail)