Pls Help with small Vertical Right Menu code correction

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ladybird
Forum Newbie
Posts: 3
Joined: Mon Sep 29, 2008 7:52 pm

Pls Help with small Vertical Right Menu code correction

Post 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}
phppucci
Forum Newbie
Posts: 17
Joined: Fri Oct 03, 2008 2:27 pm

Re: Pls Help with small Vertical Right Menu code correction

Post by phppucci »

Hi,

In the .css files find the class .VertMenuRightColumn
and add this between { and }
border: #ff0000 1px solid;
ladybird
Forum Newbie
Posts: 3
Joined: Mon Sep 29, 2008 7:52 pm

Re: Pls Help with small Vertical Right Menu code correction

Post by ladybird »

Hi Sorry

bear of little brain here can you be more specific in your instructions.
User avatar
papa
Forum Regular
Posts: 958
Joined: Wed Aug 27, 2008 3:36 am
Location: Sweden/Sthlm

Re: Pls Help with small Vertical Right Menu code correction

Post 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 { }...
ladybird
Forum Newbie
Posts: 3
Joined: Mon Sep 29, 2008 7:52 pm

Re: Pls Help with small Vertical Right Menu code correction

Post 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
Post Reply