11
locomotion
Re: Theme with template
  • 2004/6/4 17:53

  • locomotion

  • Just popping in

  • Posts: 7

  • Since: 2002/8/2 1


thats what i want to do. I want to custumize some blocks and modules but only for a specific theme. And what i want to custumize can't be done using css.

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

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


hey locomotion,

yes it can be done with css, and moreover i believe it should be. that said, i have done it both ways, but things can get confusing. i am presently creating a css for my theme that is specifically related to my templates. i save a lot of time as i can edit my templates (to some degree) locally by editing my style.css. its your choice.

13
tjnemez
Re: Theme with template
  • 2004/6/4 18:25

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


hey locomotion,

here is an example allbeit not the best:

.login {
text-align: left;
width: 95%;
padding-top: 7px;
padding-left: 10px;
background: transparent;
}

this affects my system -> system_userinfo.html template


edit: this was to get the login form to appear almost the same in ie6, firefox 0.8 and opera 7.5


14
locomotion
Re: Theme with template
  • 2004/6/5 0:49

  • locomotion

  • Just popping in

  • Posts: 7

  • Since: 2002/8/2 1


but what i want to do can not be done using css.
for example i want do add a image before omly a specific text.

15
tjnemez
Re: Theme with template
  • 2004/6/5 1:01

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


hey locomotion,

yes, other than background images you are right. i would first clone my templates, then select the templates you want to add an image to and then edit them locally. what editor do you use? once you have the table or div the way you like it, copy and paste to template, then update.

16
ajaxbr
Re: Theme with template
  • 2004/6/5 1:34

  • ajaxbr

  • Quite a regular

  • Posts: 276

  • Since: 2003/10/25


First a wacky question: have you tried copying the default template to the other themes' folders? (as if it was a custom template?)


Then, two wackier suggestions:
1st Yes it's possible to do that kind of trick using CSS (not sure if CSS only, but you'd be able to add a DIV by hacking your theme). Check this thread for a discussion and some nice links.

2nd You can have a single template that behaves as many Not sure about what you could use to alternate rendering, I gave a lame referer example here. But you don't have to hack templates, IMHO.

Login

Who's Online

188 user(s) are online (108 user(s) are browsing Support Forums)


Members: 0


Guests: 188


more...

Donat-O-Meter

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

Latest GitHub Commits