Page 1 of 1

Pls Help with small Vertical Right Menu code correction

Posted: Mon Sep 29, 2008 8:22 pm
by ladybird
Hi everyone,

just new to all this PHP stuff, but have figured out a little bit of stuff. I am trying to add a bordered box on my site x-cart site to show up in the vertical right menu - the site is http://www.makeuwell.com.au if you want to see what it is doing at present.

So I have managed to create the bordered menu box, and I have managed to add the text I want, I just need to get the text inside the borders - can anyone help?

Here is my vertical right menu code:

<td class="VertMenuRightColumn">
{if $active_modules.SnS_connector && $config.SnS_connector.sns_display_button eq 'Y' && $sns_collector_path_url ne ''}
{include file="modules/SnS_connector/button.tpl"}
<br />
{/if}
{if $active_modules.Feature_Comparison ne "" && $comparison_products ne ''}
{include file="modules/Feature_Comparison/product_list.tpl" }
{/if}
<br />
{include file="customer/menu_cart.tpl" }
<br />
{if $login eq "" }
{include file="auth.tpl" }
{else}
{include file="authbox.tpl" }
{/if}
{include file="news.tpl" }
{if $active_modules.XAffiliate ne ""}
<br />
{include file="partner/menu_affiliate.tpl" }
{/if}
{if $active_modules.Interneka ne ""}
<br />
{include file="modules/Interneka/menu_interneka.tpl" }
{/if}
<br />

{capture name=menu}
Spend over $120 in one order to receive free shipping! <br> <br> Simply enter the coupon code <br><br><strong>bulkbuy</strong> <br> <br> when you check out.
{/capture}
{ include file="menu_border.tpl"
dingbats="dingbats_categorie.gif"}
{ include file="menu.tpl" dingbats="dingbats_orders.gif"
menu_title=$lng.TITLE_LNG_NAME menu_content=$smarty.capture.menu }
<br />

{include file="poweredby.tpl" }
<br />
</tr>
</table>
{include file="rectangle_bottom.tpl" }
{if $active_modules.Google_Analytics ne "" && $config.Google_Analytics.ganalytics_code ne ""}
{include file="modules/Google_Analytics/ga_code.tpl"}
{/if}
</body>
</html>
{/if}

Re: Pls Help with small Vertical Right Menu code correction

Posted: Fri Oct 03, 2008 2:49 pm
by phppucci
Hi,

In the .css files find the class .VertMenuRightColumn
and add this between { and }
border: #ff0000 1px solid;

Re: Pls Help with small Vertical Right Menu code correction

Posted: Mon Oct 06, 2008 6:03 am
by ladybird
Hi Sorry

bear of little brain here can you be more specific in your instructions.

Re: Pls Help with small Vertical Right Menu code correction

Posted: Mon Oct 06, 2008 6:31 am
by papa

Code: Select all

<td class="VertMenuRightColumn">
Means it's using a stylesheet class which is probably in another document called something.css and included in your menu page.

Search in that document for "VertMenuRightColumn" and put in the code provided above between the { }...

Re: Pls Help with small Vertical Right Menu code correction

Posted: Mon Oct 06, 2008 6:42 pm
by ladybird
Hi thanks,

I have tried that and that puts a red border right around the vertical right menu.

What I want to do is to make each section of vertical right menu appear inside a box structure like the logon section

Image

Thanks