1
kerkyra
theme selector not always working
  • 2010/5/7 13:09

  • kerkyra

  • Just can't stay away

  • Posts: 553

  • Since: 2005/2/14


hi anybody have a problem with the theme selector and xoops 2.4.2? I have 3 themes i'm working on for a site, so i have the theme selector block set visible for webmasters only. When i change the themes one of them doesnt work! If i set this as the defautl theme it works like a charm! It doesnt work only throught the theme block. It just reloads the page with the last theme selected! Any ideas?!

2
ghia
Re: theme selector not always working
  • 2010/5/7 15:30

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


What are the theme names?
Is one containing spaces or special charcters?

3
kerkyra
Re: theme selector not always working
  • 2010/5/9 17:32

  • kerkyra

  • Just can't stay away

  • Posts: 553

  • Since: 2005/2/14


some of them contain '-' or '_' characters. You think this is it?

4
ghia
Re: theme selector not always working
  • 2010/5/9 21:16

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


If you rename them to alphanummeric only, you will know (reselect themes for use in preferences).

5
Burning
Re: theme selector not always working
  • 2010/5/9 21:46

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


hi'

I have also noticed two strange behaviors about themes name and system-themes block (if I well remember) :
• if the first character is a number, nothing is displayed
• the alphabetic order is not complied because themes beginning with capital letters are sorted first (example : Zeta before anakin)
Still learning CSS and... english

6
ghia
Re: theme selector not always working
  • 2010/5/10 0:19

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Looking at XooFoo, it seems there is no problem with - or _, nor with numbers in front.

(To have another sort, you may try to replace
asort($dirlist);
for the theme case by
natcasesort ($dirlist);
in /modules/profile/class/field.php)

Login

Who's Online

210 user(s) are online (141 user(s) are browsing Support Forums)


Members: 0


Guests: 210


more...

Donat-O-Meter

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

Latest GitHub Commits