Opened 12 years ago

Last modified 12 years ago

#618 closed enhancement

Improved theming override — at Version 2

Reported by: Tumulte Owned by:
Priority: major Milestone:
Component: programming Keywords:
Cc: Parent Tickets:

Description (last modified by Christopher Allan Webber)

This is (almost) the part 2 of the previous ticket.

If the template override system is to be modified, I believe it'd be a great idea to allow multiple themes and a customizable override order :

That would allow someone to make small design enhancement/mods without having to build a whole theme (perfect for plugins).

You would have to add those lines in the ini :

#the main theme
theme_base=base

#optional themes, each one override the previous one - that overide the base theme
theme[0]=my_theme
#if someone has made a theme for devices with screens smaller than 320px :
theme[1]=phone_theme
# some plugins would require to have this line added to the ini
plugin_theme[2]=my_plugin_1

That'd make theme and plugins way more flexible whith, at all time, a clean basic theme.

Change History (2)

comment:1 by Tumulte, 12 years ago

(this was a test by cwebber's request, removed by cwebber)

Last edited 12 years ago by Christopher Allan Webber (previous) (diff)

comment:2 by Christopher Allan Webber, 12 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.