PDA

View Full Version : Menu Tags


lwyau
10-19-2004, 02:28 PM
Thanks to Ruben I am now working on a site with SMT Pro 4.7, and have a few questions on the new menu tags.

1. #VMENU# in text mode now has the current menu item highlighted, but somehow lose the spacing to the menu item above it.

2. #VMAINS# appears to work exactly the same manner as #VMENU# with sub-menu items along with main menu items. I thought it should inlcude main menu items only, correct?

3. #HSUBS# works as billed, but somehow throw the template format off by pushing the #CONTENT# area below #VMENU# area, as opposed to being two columns side-by-side.

Any suggestions? Thanks!

Leh-Wen

Cameron Allen
10-19-2004, 06:45 PM
1) check the custom.css for that template. This file is in /sohoadmin/program/modules/site_templates/pages/templatename .

2) #VMAINS# will only include the main menu.

3)If you are using a template that is not made to support #HSUBS# it can throw your template off. To make it so this does not push down the content try making #HSUBS# in an table next to content.

Ruben
10-22-2004, 05:04 AM
lwyau,

please send me a mail if you have problems with any templates from us and i will fix them for you.

Ruben

ricardosanX
03-26-2005, 09:04 PM
1) check the custom.css for that template. This file is in /sohoadmin/program/modules/site_templates/pages/templatename .

2) #VMAINS# will only include the main menu.

3)If you are using a template that is not made to support #HSUBS# it can throw your template off. To make it so this does not push down the content try making #HSUBS# in an table next to content.

I think there is a bug in display for #VMAINS# as it does appear to be displaying sub-menu items. Its also not closing off the <table> tag. See code extract below. I am using 4.7 2004_11a:


<!-- START AUTO MENU SYSTEM -->
<TABLE width="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ALIGN="CENTER" CLASS="vmenu_mainz">
<tr>
<td valign="middle" class="vmenu_main_off">
<div class="vmenu_main_off">
<a href="index.php?pr=Home_Page" class="vmenu_main_off">Home Page</a>
</div>
</td>

</tr>
<tr>
<td valign="middle" class="vmenu_main_off">
<div class="vmenu_main_off">
<a href="index.php?pr=Our_Solutions" class="vmenu_main_off">Our Solutions</a>
</div>
</td>
</tr>

<tr>
<td valign="middle" class="vmenu_main_on">
<div class="vmenu_main_on">
<a href="index.php?pr=Products" class="vmenu_main_on">Products</a>
</div>
</td>
</tr>
<tr>

<td valign="top" class="vmenu_main_sub">


<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" ALIGN="LEFT" class="vmenu_subs">
<tr>
<td class="vmenu_sub_bull_on">
<div class="vmenu_sub_bull_on">
&gt;&gt;
</div>
</td>
<td class="vmenu_sub_on">

<div class="vmenu_sub_on">
<a href="index.php?pr=Product_1" class="vmenu_sub_on">Product 1</a>
</div>
</td>
</tr>
<tr>
<td class="vmenu_sub_bull_off">
<div class="vmenu_sub_bull_off">

&gt;&gt;
</div>
</td>
<td class="vmenu_sub_off">
<div class="vmenu_sub_off">
<a href="index.php?pr=Product_2" class="vmenu_sub_off">Product 2</a>
</div>
</td>

</tr>

</TABLE>


</td>
</tr>
<tr>
<td valign="middle" class="vmenu_main_off">
<div class="vmenu_main_off">

<a href="index.php?pr=Clients" class="vmenu_main_off">Clients</a>
</div>
</td>
</tr>
<tr>
<td valign="middle" class="vmenu_main_off">
<div class="vmenu_main_off">
<a href="index.php?pr=News" class="vmenu_main_off">News</a>

</div>
</td>
</tr>
<tr>
<td valign="middle" class="vmenu_main_off">
<div class="vmenu_main_off">
<a href="index.php?pr=Associates" class="vmenu_main_off">Associates</a>
</div>

</td>
</tr>
<tr>
<td valign="middle" class="vmenu_main_off">
<div class="vmenu_main_off">
<a href="index.php?pr=About" class="vmenu_main_off">About</a>
</div>
</td>

</tr>
<tr>
<td valign="middle" class="vmenu_main_off">
<div class="vmenu_main_off">
<a href="index.php?pr=Contact" class="vmenu_main_off">Contact</a>
</div>
</td>
</tr>
<!-- END AUTO MENU SYSTEM -->

Regards

Richard

Ruben
04-29-2005, 06:40 AM
Looks to me there are still problems with the #VMAINS# its still breaking some layouts.

Ruben

lowlands
05-26-2008, 06:48 PM
Hi folks,

Meanwhile it's 2008 and I created a template using VMAINS and it still shows the Subs in the mains menu.

Anyway to fix this?

Regards,

Theo

lowlands
05-26-2008, 07:13 PM
Hmmm,

Also HSUBS not showing. What am I doing wrong?

Theo