| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Removing the images in the category boxes? | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
![]() 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.
__________________
scott v x cart version 4.1.8 (Unix) |
|||||||
#12
|
|||||||
|
|||||||
![]() 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?
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#13
|
|||||||
|
|||||||
![]() See what you mean ,
will try it again, yes cleared the cache and pasted it directly into the menu.tpl
__________________
scott v x cart version 4.1.8 (Unix) |
|||||||
#14
|
|||||||
|
|||||||
![]() 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
__________________
scott v x cart version 4.1.8 (Unix) |
|||||||
#15
|
|||||||
|
|||||||
![]() 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?
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#16
|
|||||||
|
|||||||
![]() 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>
__________________
scott v x cart version 4.1.8 (Unix) |
|||||||
#17
|
|||||||
|
|||||||
![]() Try customer/categories.tpl, I think the include for fancy categories is in there by default.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#18
|
|||||||
|
|||||||
![]() 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}
__________________
scott v x cart version 4.1.8 (Unix) |
|||||||
#19
|
|||||||
|
|||||||
![]() 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.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#20
|
|||||||
|
|||||||
![]() 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
__________________
scott v x cart version 4.1.8 (Unix) |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|