Fullscreen
Loading...

Theme-related_changes_in_trunk

3d browser Print

Summary: In trunk we change to *litecss-based default theme files.

Affected files:

Primary — these are central to the change:

  • templates/header.tpl — Include statement for tiki-site_header.tpl is moved to tiki.tpl; body tag has a check for fullscreen that applies a fullscreen id;
  • templates/tiki.tpl — Uses *litecss layout method (floating divs, no table); contains tiki-site_header.tpl include.

  • templates/credits.tpl — Holds theme author information to display in compliance with Creative Commons Attribute license, etc.
  • templates/tiki-bot_bar.tpl — Has credits.tpl include statement;
  • templates/tiki-site_header.tpl — Displays logo and banner ad side-by-side to fit in low space; log-in form positioned absolute;
  • templates/tiki-top_bar.tpl — Contains PHP Layers menu at left and search form at right (only).

Most of the new themes' template files, of the files listed above, can be removed since the default templates will replace them. Each theme still has a credits.tpl file since theme author must be shown and is theme-specific.

Some themes have their own tiki.tpl and/or tiki-site_header.tpl or tiki-top_bar.tpl because their layout variation can't be handled with CSS alone.

Effect of change on existing themes

  • Themes that had been using the old tiki.tpl will need either:
    • To have a theme-specific copy of the old tiki.tpl, or
    • To be killed or moved to mods, and/or
    • To be adapted to the new *litecss-based tiki.tpl

Procedure


Most older themes have been moved to mods.


Tikineat theme preserved for now


Tikineat, to live in this environment, needs the old default files, so tiki.tpl, header.tpl, tiki-top_bar.tpl, tiki-site_header.tpl, and ''tiki-bot_bar.tpl' get moved to templates/styles/tikineat. I'm not sure if keeping Tikineat is even necessary, so maybe this is a temporary measure.

Common-use *litecss templates become default


The *litecss templates that are used in common by themes are moved from one of the *litecss-based theme's template directory to templates/, and these themes are then deleted from the *litecss-based themes' directories. (They keep their credits.tpl file and any theme-specific template file that they still need.)

New file: credits.tpl


A number of the ported themes require the author information to be displayed, so the credits.tpl file is theme-specific and contains that information. Since this file's contents are different for each theme, tiki-bot_bar.tpl can be general and live in the templates/ directory. A credits.tpl file should also be in templates/, and can contain the "powered by TikiWiki" information displayed for all themes.

Other details


If anyone feels strongly about keeping a theme but doesn't want the trouble of maintaining theme-specific templates, any of the current themes can be adapted to use the *lite.css-based templates (at the same time getting switched to % and em font sizes, etc.), and I'll gladly help with that. This can be done whether the theme is in mods as an "aftermarket" download, or kept in the package.





Created by: Gary. Last Modification: Tuesday, 15 of July, 2008 20:52:13 EST by Gary.

Tags This Page Has [toggle]

Shoutbox [toggle]

Anti-Bot verification code: Random Image
Enter the code you see above:

Gary, 06:36 EST, Sat, 16 of Aug, 2008: There may be layout glitches because files are being modified for Tiki 3.
Anonymous, 15:18 EST, Thu, 07 of Aug, 2008: Testshout
Anonymous, 06:35 EST, Tue, 29 of Jul, 2008:
Anonymous, 06:57 EST, Tue, 08 of Jul, 2008: hello There
Anonymous, 13:53 EST, Tue, 10 of Jul, 2007: I am very impressed with your work. Thanks a lot! Keep it up!
Anonymous, 01:44 EST, Tue, 03 of Jul, 2007: Brilliant work, Gary. I'm impressed. Thanks heaps. (Xavi)
Anonymous, 04:46 EST, Wed, 27 of Jun, 2007: Thanks Gary--I appreciate your time and assistance.
Gary, 00:35 EST, Tue, 26 of Jun, 2007: willdela, I responded to your question about Kubrick logo link at tikiwiki.org.
Gary, 09:52 EST, Mon, 14 of May, 2007: Andreas09 theme for TIki is now available at themes.tikiwiki.org!
Gary, 00:50 EST, Fri, 27 of Apr, 2007: cbb uses the box-method author's original graphics, which aren't meant for distribution. I used them for testing, but the theme isn't intended to be shared with these graphic files. I'm replacing them soon. Check the Zuka theme for the cbb method.