PDA

View Full Version : How do i move the style chooser?


dgkrob
03-18-2009, 11:33 PM
Hi all,

I wanted to move my style chooser from the footer into its own block on the vbadvanced cmps_index.php page.

So i created a new template module and added the following code

<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="$stylevar[outertablewidth]" class="page" align="center">
<tr>
<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>

Now this is great and it has created the block with the dropdown bar however none of my themes show all it say's is "quick style chooser" and thats it.

I'm sure im being really stupid but could someone please point out my error as im going mad sitting here.

Also see attachment for screenshot of what i mean.

Thanks in advance.

Rob

P.s i have posted on vbadvanced the same question but im getting no answer.

dgkrob
03-19-2009, 04:09 PM
Can anyone help?

....

Slight more info dont know if it will help?

If i preview the template it shows me the module and that works it shows me the drop down box with all of my themes however when i save the template module it only shows like my first post.

So something in the cmps must be blocking it from showing correctly? Any Ideas?

dgkrob
03-21-2009, 10:57 PM
bump