1
djvpx
[NOT SOLVED] I'd like a theme with an admin module
  • 2006/3/29 12:00

  • djvpx

  • Just popping in

  • Posts: 12

  • Since: 2006/2/16


Dear,
I've made a website (not xoops) which was elected on of the bests french sites in the beginning of this year.
My problem is that I would like to have it running in XOOPS BUT to keep the same design, every page (or section category) should have is own theme;
I mean: its own logo, text color, background color, link color...
If you want to see what I mean, click here and visit the different departments (which could be sections in xoops)

My idea is to have an admin section where I could define all the pages that do not have the default theme and which theme they should use.

I've post a request 4 months ago but nobody could give me an acceptable (I'm not a developper) solution yet.
Pleaaaaase help!
Thanks a lot!

2
McNaz
Re: [NOT SOLVED] I'd like a theme with an admin module
  • 2006/3/29 12:52

  • McNaz

  • Just can't stay away

  • Posts: 574

  • Since: 2003/4/21


Hi djvpx.

As far as I know this is not possible with any of the currently available section like modules. You'll have to hack one of the available modules (news, wf-section, AMS etc) to support some theming per section.

Good luck and cheers.

McNaz.

3
Lance_
Re: [NOT SOLVED] Id like a theme with an admin module
  • 2006/3/29 14:15

  • Lance_

  • Home away from home

  • Posts: 983

  • Since: 2004/1/12


You can actually use a module like TinyD or WF-Channel that you can clone, and using a themechanger module assign each of these content modules their own theme.
GDL-Web.com :: Website development.
Xoopslance.com::Freelancing and Projects
thelionsden-arena.net:: Clan/League/Ladder Hosting

4
davidl2
Re: [NOT SOLVED] Id like a theme with an admin module
  • 2006/3/29 14:24

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


Other than hacking a content module to change an element of the css, or switching theme, this would probably be the simplest method.

(In theory - you could add a hack that would take a page number of the content module, and change either theme or css based on this value )

5
stefan88
Re: [NOT SOLVED] Id like a theme with an admin module
  • 2006/3/29 14:53

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Don't know about the admin part.
Some time ago I made this for my theme, but it was never finished:

<tr id="header"
<
td id="headerlogo"><a href="<{$xoops_url}>/"><img src="<{$xoops_imageurl}>images/logo_<{$xoops_dirname}><{$category.id}>.jpg" border="0" /></a></td
</
tr>


then you will name your images as logo_system.jpg; logo_news.jpg and so on and put them in theme/images folder. The problem with planing and finding right module is with articles module where you need <{$category.id}> - it will be diferent for diferent modules. I think this was from some tests I made with Article module from AndyM. It will give you option to use images as logo_article.jpg, logo_article1.jpg, logo_article2.jpg ... for start page (no index) and diferent categories. The problem is that this may interfere with other modules if thay have same smarty.

Also there was a smarty plugin that will give you the current module name - you may use it instead of <{$xoops_dirname}>.

And you could use similar code to change css.
Also have a look here:
https://xoops.org/modules/smartfaq/faq.php?faqid=335
..

6
davidl2
Re: [NOT SOLVED] Id like a theme with an admin module
  • 2006/3/29 16:17

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


That's exactly what I meant

7
damaster
Re: [NOT SOLVED] I'd like a theme with an admin module
  • 2006/3/29 18:05

  • damaster

  • Just can't stay away

  • Posts: 556

  • Since: 2003/5/11


Salut,

Est-ce que tu as essayé d'adapter cette solution à tes besoins?

Après tout ce temps, cela peut peut etre faire ton affaire!

A+
I like people more than machines or money. But that's me!
Lets do something good and great: Lets do open source!

8
djvpx
Re: [NOT SOLVED] I'd like a theme with an admin module
  • 2006/3/30 6:20

  • djvpx

  • Just popping in

  • Posts: 12

  • Since: 2006/2/16


Thanks a lot, I will try "THEME CHANGER 2" and clone "SECTION" to use a different theme for each section.

Login

Who's Online

135 user(s) are online (102 user(s) are browsing Support Forums)


Members: 0


Guests: 135


more...

Donat-O-Meter

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

Latest GitHub Commits