![]() |
Re: Removing the images in the category boxes?
Hi Balinor,
Thanks for your help, unfortunately that code creates a new set problems. Using what you supplied duplicated everything in the vert menu box so I did this <table cellspacing="1" width="100%" class="VertMenuBorder"> <tr> <td class="VertMenuTitle">{$menu_title}</td></tr> <table cellspacing="0" cellpadding="0" width="100%"><tr> <tr> <td class="VertMenuBox"> <table cellpadding="{$cellpadding|default:"5"}" cellspacing="0" width="100%"> <tr><td>{$menu_content}<br /></td></tr> </table> </td></tr> </table> Which gets me closer but it cutts off the title in the category section of the vert menu. when I check the page. Ex. it should bre saying Prints-water and boats but instead says prints-water and.... its truncated the title. also tried your second code sample which I agree is cleaner but gave me the same results, ( duplicating listings) but liked it as it is much cleaner code. Thoughts about why its truncating the title? Thanks Scott PS- I know why I am working, but why are you, its too nice of a day here to be banging away on this stuff. |
Re: Removing the images in the category boxes?
Your code is not correct...if you look at the tables, you can't have a table tag after a tr tag. My code is correct, did you cut and paste it directly into menu.tpl? Did you clear the template cache after you made the change?
|
Re: Removing the images in the category boxes?
See what you mean ,
will try it again, yes cleared the cache and pasted it directly into the menu.tpl |
Re: Removing the images in the category boxes?
I stand corrected your code works fine, I must have done something incorrect the first time I used it, however the truncating I mentioned above is still happening.
To be sure I cleared the cache again and rebooted, checked in IE, and firefox and the topic under categories appears truncated. It only happens in one line- on the top but it is also contains the most characters in the title. Any thoughts about this greatly appreciated, thanks very,very much for the help Scott |
Re: Removing the images in the category boxes?
That has to be happening in the category or whatever template it is happening in. Post that template where it is happening....help.tpl or special.tpl perhaps?
|
Re: Removing the images in the category boxes?
I believe this should be the template.
{* $Id: fancy_categories.tpl,v 1.2 2005/11/17 06:55:45 max Exp $ *} {include file="main/include_js.tpl" src="`$fc_skin_path`/func.js"} <script type="text/javascript"> <!-- var bLeftOn = new Image(); var bLeftOff = new Image(); var bCenterOn = new Image(); var bCenterOff = new Image(); var bRightOn = new Image(); var bRightOff = new Image(); bLeftOn.src = "{$fc_skin_web_path}/{$config.Fancy_Categories.candy_img_skin}/button_l_on-b.gif"; bLeftOff.src = "{$fc_skin_web_path}/{$config.Fancy_Categories.candy_img_skin}/button_l_off-b.gif"; bCenterOn.src = "{$fc_skin_web_path}/{$config.Fancy_Categories.candy_img_skin}/button_m_on-b.gif"; bCenterOff.src = "{$fc_skin_web_path}/{$config.Fancy_Categories.candy_img_skin}/button_m_off-b.gif"; bRightOn.src = "{$fc_skin_web_path}/{$config.Fancy_Categories.candy_img_skin}/button_r_on-b.gif"; bRightOff.src = "{$fc_skin_web_path}/{$config.Fancy_Categories.candy_img_skin}/button_r_off-b.gif"; --> </script> <div id="{$fancy_cat_prefix}rootmenu"> {include file="`$fc_skin_path`/fancy_subcategories.tpl" level=0} </div> |
Re: Removing the images in the category boxes?
Try customer/categories.tpl, I think the include for fancy categories is in there by default.
|
Re: Removing the images in the category boxes?
here
{* $Id: categories.tpl,v 1.1.2.25 2007/06/19 08:01:50 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} <table cellpadding="4" cellspacing="1"> {if $config.General.root_categories eq "Y"} {foreach from=$categories item=c} <tr> <td valign="top"><img src="{$ImagesDir}/category_bullet.gif" width="6" height="13" alt="" /></td> <td><a href="home.php?cat={$c.categoryid}" class="VertMenuItems"><font class="CategoriesList">{$c.category}</font></a></td> </tr> {/foreach} {else} {foreach from=$subcategories item=c key=catid} <tr> <td valign="top"><img src="{$ImagesDir}/category_bullet.gif" width="10" height="13" alt="" /></td> <td><a href="home.php?cat={$catid}" class="VertMenuItems"><font class="CategoriesList">{$c.category}</font></a></td> </tr> {/foreach} {/if} </table> {/if} {/capture} { include file="menu.tpl" menu_title=$lng.lbl_categories menu_content=$smarty.capture.menu cellpadding=$fc_cellpadding} |
Re: Removing the images in the category boxes?
Sorry Scott, no clue on this one...must have something to do with fancy categories, but as I don't use that module, I can't tell you exactly where the truncation is happening.
|
Re: Removing the images in the category boxes?
ok, thanks for all the other help.
Personally I ma not crazy about hte look of these and might just do something else cleaner, its a client thing. will talk to you more later best Scott V |
All times are GMT -8. The time now is 01:53 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.