1
LazyBadger
Theme-dependent images

As you probably know, some themes can seems ...ugly... with default XOOPS image-set (all dark themes as example). Single solution for now is deliver images with theme and overwrite default images by own... but it'll give some headache on next theme-change, or, if you allow users change theme and store&use selected theme you'll get problems of "poor design" immediatelly.
Well, these rakes beat my forehead too - and idea was born
"We have $xoops_theme variable, why not use it all blocks in for all possible theme-dependent img src?"
Yes, it can require refactoring all templates in all modules (standard and 3-rd party), bur changes are - small, easy...
And they are not mandatory - old img src without $xoops_theme in filename will use default images, as it happens now
But improved templates will give some good (I hope) advantages - you can change only theme and don't worry about something else.

Comments, please?

2
brash
Re: Theme-dependent images
  • 2005/1/5 23:01

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


I see where you are going. Couldn't you do this by releasing a custom template set with your theme as it is now ?

3
LazyBadger
Re: Theme-dependent images

Yes, I can... and this way we all get another type of problem (???), which I tried to describe here

Login

Who's Online

415 user(s) are online (302 user(s) are browsing Support Forums)


Members: 0


Guests: 415


more...

Donat-O-Meter

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

Latest GitHub Commits