Log in

View Full Version : change the shape of quickchooser


akafi
12-17-2008, 11:35 AM
Dear all,
i want to change the shape of combo quick chooser to be hyper links
this the code on the footer templates
<if condition="$show['quickchooser']">
<td class="tfoot">
<select name="styleid" onchange="switch_id(this, 'style')">
<optgroup label="$vbphrase[quick_style_chooser]">
$quickchooserbits
</optgroup>
</select>
</td>
</if>

i want to change this code to be not combo but hyper links to the style i want
thank you

peleh
11-12-2010, 08:11 PM
bump

Lynne
11-12-2010, 08:24 PM
You'll need to get rid of the select and optgroup stuff there and then just modify the template option to just be a link to the existing page with styleid=xxx on the end. Of course, format it like you want also.

Actually, the template 'option' is used elsewhere also. So, you may have to modify the code for the function construct_style_options that calls the option template and call a custom template instead.