View Single Post
  #5  
Old 09-29-2006, 10:53 AM
 
TL408 TL408 is offline
 

X-Adept
  
Join Date: Jan 2005
Posts: 549
 

Default Re: Please help, need to reduce space gaps on the main webstore page...

Quote:
Originally Posted by balinor
Look at the bottom of menu.tpl, as well as the individual menu templates (categories.tpl, help.tpl, etc). Lots of <br> tags hiding in there.

Now, I'm starting to believe that I am blind. LOL....Below are the codes for those files. I just can't find a freaking <br> tag anywhere near the top or bottem of those template files. ARRGGG ***crazy*** Where else could they possibly be?

Thanks
-Tuan

Categories.tpl File
Code:
{* $Id: categories.tpl,v 1.26 2005/11/17 06:55:37 max Exp $ *} {capture name=menu} {if $active_modules.Fancy_Categories ne ""} {include file="modules/Fancy_Categories/categories.tpl"} {assign var="fc_cellpadding" value="0"} {else} {if $config.General.root_categories eq "Y"} <div id="categories"> {foreach from=$categories item=c} <font class="CategoriesList"><a href="home.php?cat={$c.categoryid}" class="VertMenuItems">{$c.category}</a></font> {/foreach} </div> {else} <div id="categories"> {foreach from=$subcategories item=c key=catid} <font class="CategoriesList"><a href="home.php?cat={$catid}" class="VertMenuItems">{$c.category}</a></font> {/foreach} </div> {/if} {/if} {/capture} { include file="menu_left.tpl" dingbats="dingbats_categorie.gif" menu_title=$lng.lbl_categories menu_content=$smarty.capture.menu cellpadding=$fc_cellpadding}


Help.tpl File
Code:
{* $Id: help.tpl,v 1.20 2005/11/17 06:55:36 max Exp $ *} {capture name=menu} <div id="categories"> <a href="help.php?section=contactus&amp;mode=update" class="VertMenuItems">{$lng.lbl_contact_us2}</a> <a href="help.php?section=about" class="VertMenuItems">{$lng.lbl_about_our_site}</a> <a href="help.php?section=FAQ" class="VertMenuItems">{$lng.lbl_faq}</a> <a href="help.php?section=business" class="VertMenuItems">{$lng.lbl_privacy_statement}</a> <a href="help.php?section=conditions" class="VertMenuItems">{$lng.lbl_terms_n_conditions}</a> {*<a href="help.php?section=shipping" class="VertMenuItems">{$lng.lbl_shipping_returns}</a>*} {include file="pages_menu.tpl"} </div> {/capture} { include file="menu.tpl" dingbats="dingbats_help.gif" menu_title=$lng.lbl_help menu_content=$smarty.capture.menu link_href="help.php"}

Menu.tpl File
Code:
{* $Id: menu.tpl,v 1.01 2006/01/20 Studio 57 Designs Exp $ *} <img src="{$ImagesDir}/spacer.gif" width="1" height="1"> <TABLE border="0" cellpadding="0" cellspacing="0" width="100%"> <TR> <TD> <TABLE border="0" cellpadding="0" cellspacing="0" width="100%"> <TR> <TD class="VertMenuTitle2" width="100%" background="{$ImagesDir}/menu_bgrd.gif"> {if $link_href} <FONT class="VertMenuTitle" align="left">&nbsp;&nbsp;{$menu_title}</FONT> {else} <FONT class="VertMenuBoxNewsTitle" align="left">&nbsp;&nbsp;{$menu_title}</FONT> {/if} </TD> </TR> <TR> <TD colspan="3" class="VertMenuBox"> <table cellpadding="{$cellpadding|default:"5"}" cellspacing="0" width="100%" border="1" bordercolor="#183C63" style="border-collapse: collapse" align="right"> <tr> <td>{$menu_content}</td> </tr> </table> </TD></TR> </TABLE> </TD></TR> </TABLE>

Authbox.tpl File
Code:
{* $Id: authbox.tpl,v 1.25 2005/11/17 15:08:15 max Exp $ *} {capture name=menu} <form action="{$xcart_web_dir}/include/login.php" method="post" name="loginform"> <table cellpadding="0" cellspacing="0" width="100%"> <tr> <td>&nbsp;&nbsp;&nbsp;</td> <td class="VertMenuItems" valign="top"> <b>{$login} {$lng.txt_logged_in}</b><br /> <br /> {include file="buttons/logout_menu.tpl" style="button"} </td> </tr> {if $usertype eq "C"} <tr> <td class="VertMenuItems" colspan="2" align="left"> <br /> {if $js_enabled} <a href="{$js_update_link|amp}" class="SmallNote">{$lng.txt_javascript_disabled}</a> {else} <a href="{$js_update_link|amp}" class="SmallNote">{$lng.txt_javascript_enabled}</a> {/if} </td> </tr> {/if} </table> <input type="hidden" name="mode" value="logout" /> <input type="hidden" name="redirect" value="{$redirect}" /> </form> {/capture} { include file="menu.tpl" dingbats="dingbats_authentification.gif" menu_title=$lng.lbl_authentication menu_content=$smarty.capture.menu }

News.tpl File
Code:
{* $Id: news.tpl,v 1.30 2005/12/22 08:06:20 svowl Exp $ *} {if $active_modules.News_Management} {insert name="gate" func="news_exist" assign="is_news_exist" lngcode=$shop_language} {/if} {if $active_modules.News_Management and $is_news_exist} {capture name=menu} <div class="VertMenuItems"> <div style="font-size: 9px"> {include file="today_news.tpl"} </div> {insert name="gate" func="news_subscription_allowed" assign="is_subscription_allowed" lngcode=$shop_language} {if $is_subscription_allowed} <img src="{$ImagesDir}/spacer.gif" width="1" height="1" alt="" /><br /> <form action="news.php" name="subscribeform" method="post"> <input type="hidden" name="subscribe_lng" value="{$store_language}" /> <table> <tr> <td> <b>{$lng.lbl_your_email}</b> <input type="text" name="newsemail" size="16" /> {include file="buttons/subscribe_menu.tpl" style=button} </td> </tr> </table> </form> {/if}{* $is_subscription_allowed *} </div> {/capture} { include file="menu.tpl" dingbats="dingbats_news.gif" menu_title=$lng.lbl_news menu_content=$smarty.capture.menu } {/if}{* $active_modules.News_Management and $is_news_exist *}
__________________
Win2003 IIS6, PHP 5.2.3, MySQL 5.0.45 and X-Cart 4.1.9
Reply With Quote