PDA

View Full Version : Deleting Default Style


DTB Pro
04-24-2010, 05:29 PM
Hi. I have different styles I have the user being able to choose from. However, I still have the default style in the style manager. I'm not positive I want to delete the default style. Below is the code I have for the dropdown box the user can choose from. Is there a way to change this code so it doesn't include the default style? Or, am I just being paranoid and deleting the default style is not a big deal?

Thanks.

<td width="10%">

<if condition="$show['quickchooser']">
<select name="styleid" onchange="switch_id(this, 'style')">
<optgroup label="$vbphrase[quick_style_chooser]">
$quickchooserbits
</optgroup>
</select>
</if>
<if condition="$show['languagechooser']">
<select name="langid" onchange="switch_id(this, 'lang')">
<optgroup label="$vbphrase[quick_language_chooser]">
$languagechooserbits
</optgroup>
</select>
</td>
</if>

Lynne
04-24-2010, 05:41 PM
In the Style Manager, just don't put a check box next to the Default Style and it won't be shown to regular users (you, the admin, will still see it).

DTB Pro
04-24-2010, 06:02 PM
awesome, ok. Thx.

Naan-Kadavul
04-26-2010, 12:34 PM
u can't delete the default theme, unless u change in styles options..!!