1
locomotion
Theme with template
  • 2004/5/10 17:41

  • locomotion

  • Just popping in

  • Posts: 7

  • Since: 2002/8/2 1


I want to build a theme that uses a specific template instead of the default template.

For Example, theme1 uses the default template that is set on preferences, but theme2 uses a specific template.

Is that possible???? i'm using the version 2.0.5.

P.S - Sorry my english, but i'm portuguese.

2
Mithrandir
Re: Theme with template

Yes, it should be possible.

I have not tried it, but placing templates with the same name as the templates they replace in the theme folder and enabling the "update module templates from themes/yourtheme folder" setting in preferences -> general settings should do the trick.

I have not really worked with this, so try it out and report your findings here

3
locomotion
Re: Theme with template
  • 2004/6/4 16:09

  • locomotion

  • Just popping in

  • Posts: 7

  • Since: 2002/8/2 1


your solution doesn't work fine. when you choose the theme with the template folder inside it the theme works well, but when you select another theme again it doesn't work fine. I think that XOOPS does no load the default template folder again.

4
tjnemez
Re: Theme with template
  • 2004/6/4 17:04

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


hey locomotion,

i think the key is to focus on style sheet and theme.html

also, i always clone a set of templates related to specific themes, however if you offer your visitors a choice of themes this will not work well - i think.

5
Stewdio
Re: Theme with template
  • 2004/6/4 17:06

  • Stewdio

  • Community Support Member

  • Posts: 1560

  • Since: 2003/5/7 1


Go to your modified template in the template admin and download a tar.gz of it and then include it with your theme distribution, instructing users that they may wish to add the template files through template admin.

6
tjnemez
Re: Theme with template
  • 2004/6/4 17:10

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


hey locomotion,

hope this does not confuse issue, but visit this site:

http://www.csszengarden.com/?cssfile=/078/078.css&page=3

this is a working example of the same html and a variety of style sheets.

7
locomotion
Re: Theme with template
  • 2004/6/4 17:23

  • locomotion

  • Just popping in

  • Posts: 7

  • Since: 2002/8/2 1


i need to put templates in the sytem using template admin ???
If yes there is a problem. i don't want that the template to be used by all themes, only for one specific theme.

8
tjnemez
Re: Theme with template
  • 2004/6/4 17:26

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21



9
locomotion
Re: Theme with template
  • 2004/6/4 17:37

  • locomotion

  • Just popping in

  • Posts: 7

  • Since: 2002/8/2 1


i've done that, but that don't solve my problem because doing that all themes are going to user the same template and i don't want that. i want that only a specific theme use a specific theme.
For example:
theme cubo will use the templates cubo
theme default will use template default
theme x2t will use template default
theme phpkaox will use template default

10
tjnemez
Re: Theme with template
  • 2004/6/4 17:45

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


hey locomotion,

i am not so sure that this is not a css (theme) issue. the templates affect modules and blocks only, how your content is presented.

Login

Who's Online

467 user(s) are online (127 user(s) are browsing Support Forums)


Members: 0


Guests: 467


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits