1
DrClaw
Theme selection from a drop down menu?
  • 2004/5/23 14:43

  • DrClaw

  • Just popping in

  • Posts: 23

  • Since: 2002/11/5


I was wondering if it is possible to make the user able to select his or her own theme from a drop down menu? I know there is a theme block already installed with xoops, but it looks bad on my site and a drop down would fit much nicer. Sorry if I put this in the wrong section, but I wasn't quite sure where it would go. . .

2
Mithrandir
Re: Theme selection from a drop down menu?

It should not be that hard to change the code for the theme selection block to be a drop down select instead of a multi select. Modules/system/admin/blocks/system_blocks.php line 498 - try just removing the size="3" from the select box.

3
phppp
Re: Theme selection from a drop down menu?
  • 2004/5/23 15:24

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


modules/system/blocks/sysem_blocks.php =>b_system_themes_show
$block['theme_select'] = '<select name="xoops_theme_select" onchange="submit();" size="3">'.$theme_options.'</select>';

change to size="1"

ADD: my reply came a little late

4
DrClaw
Re: Theme selection from a drop down menu?
  • 2004/5/23 15:59

  • DrClaw

  • Just popping in

  • Posts: 23

  • Since: 2002/11/5


yep that definately did the trick. thanks so much to both of you.

Login

Who's Online

226 user(s) are online (142 user(s) are browsing Support Forums)


Members: 0


Guests: 226


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