Loading...
 
Features / Usability

Features / Usability


Re: Create custom footer

posts: 4656 Japan

If you're interested in the layout of the footer of the Tiki project sites in particular (the columns of links, etc.), you can have a look at https://themes.tiki.org/Shared_footer_content. Check the Source for that page. This is the updated-for-Bootstrap method of doing it, as it uses grid divs and Bootstrap CSS classes (all the project sites should use this method but I think they haven't been updated yet). This layout uses HTML syntax inside an HTML plugin because for me that's the easiest way to do it (the lists in particular need "no styling" which I think isn't possible with wiki syntax alone).

In general I'm a big advocate of using Bootstrap grid divs in the horizontal module zones as well as in wiki pages, etc. when you want to make columns of content. It can be done with wiki syntax alone, as shown here: https://themes.tiki.org/Making+columns+for+wiki+content.

The "legacy" footer code is shown at https://branding.tiki.org/Footer+code. Interestingly, that page is also using a little raw HTML for the headings; apparently "Use HTML" is turned on for that site.

Once you have your content figured out, you can either make custom module and use your content for the module's data, or you can save the content as a wiki page, and then use the "menupage" module to grab the wiki page's content for your module; then assign this to the "Bottom" module zone, with nobox=y parameter (probably you don't want a module title and borders, etc.). I usually use the menupage module + wiki page because then you have versions saved, etc.

-- Gary

There are no comments at this time.