Pls Help with small Vertical Right Menu code correction
Posted: Mon Sep 29, 2008 8:22 pm
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}
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}