4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: graficalicus on October 04, 2005, 07:29:06 PM

Title: "universal" templates?
Post by: graficalicus on October 04, 2005, 07:29:06 PM
hi - another request....

on my site, I have several different templates working - users can choose which one they want (great MOD - http://www.4homepages.de/forum/index.php?topic=6220.0 )

the one bad thing about multiple templates is uploading multiple copies of the same file- - I have one called "Challenge.html", for example, that I have to upload to each of the different template folders, even though it's the same file for all.

On my site, the only template files that are different from each other are home.html and the css & images.

is there a way to make "universal" template blocks (memberlogin.html, uploadform.html, etc. etc.) that can be called by every template, so a simple update doesn't mean changing many files? in other words, a separate template folder for blocks that are the same in every template, and separate template folders for the ones that are unique (home.html, styles, images...)?

Many thanks -
Title: Re: "universal" templates?
Post by: ch€ri{Bi}² on October 04, 2005, 09:09:05 PM
hi,

why not try this : [HACK] Many More colors with only ONE template (http://www.4homepages.de/forum/index.php?topic=9755.0)

i think that mod answers your request perfectly  :wink:

greetings.
Title: Re: "universal" templates?
Post by: graficalicus on October 04, 2005, 10:40:59 PM
 :D :D :D :D :D :D :wink:

I'll try it out tonight - must have missed it in my searches - -

thanks!