| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Removing the images in the category boxes? | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I do i remove all the little images that are on the left of all the menu boxes?
__________________
X-cart Gold 4.0.17 |
|||||||
#2
|
|||||||
|
|||||||
![]() edit menu.tpl and remove the dingbats.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Quote:
I would put a {* comment out *} around it just in case you want to revert.
__________________
4.1.9 |
|||||||
#4
|
|||||||
|
|||||||
![]() Dingbats are something that should NEVER be part of a professional storefront, so I'd feel pretty safe about removing them
![]()
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
![]() Could you tell me exactly where to comment out the dingbats? I but them in the wrong place and ended up not even being able to log into my admin page to fix the problem lol..
Can anyone recommend any reading material/book that will tell me how to create my own menu boxes and what not?
__________________
X-cart Gold 4.0.17 |
|||||||
#6
|
|||||||
|
|||||||
![]() In menu.tpl, simply replace this:
<TD class="VertMenuTitle"> {$link_begin}<IM G src="{$ImagesDir}/{if $dingbats ne ''}{$dingbats}{else}spacer.gif{/if}" width="21" height="20" border="0" align="absmiddle">{$link_end} {if $link_href} <A href="{$link_href}"><FONT class="VertMenuTitle">{$menu_title}</FONT></A> {else} <FONT class="VertMenuBoxNewsTitle">{$menu_title}</FONT> {/if} </TD> with this: <TD class="VertMenuTitle">{$menu_title}</TD> As for how to edit templates, custom boxes, etc. it is all here in the forums, you just need to search. I'd start with this thread: http://forum.x-cart.com/showthread.php?t=21529 There are a few posts in the custom mods forum on how to create new menu boxes. Remember, always backup the file you are working on so you can easily restore it if you botch something up!
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#7
|
|||||||
|
|||||||
![]() Hi All
I am trying remove these dingbats as well. I am using xcart version 4.1.8 and the solution provided below telling me to remove the dingbats from the menu.tpl does not work correctly. When I do this it changes the page structure drastically. Pusing the center customer product container below the vert menu boxes and to the far left. I have been able to remove the categories dingbat, and the help dingbat successfully by removing the dingbats reference from the help.tpl, and the customer/categories.tpl I was hoping that I could do the same thing be removing the dingbat from the modules/Gift_Certificate/gc_menu.tpl but it does not have any reference to the dingbats. Can someone tell me how to remove this last dingbat, and if this is now the correct way to do so in version 4.1.8 rather than using the menu.tpl which would appear to be a much simpler solution. MAny thanks in advance to all that reply Scott V Linux xcart=4.1.8
__________________
scott v x cart version 4.1.8 (Unix) |
|||||||
#8
|
|||||||
|
|||||||
![]() It works fine Scott, you must have missed something somewhere. Are you using a custom template? Perhaps you can post your menu.tpl?
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#9
|
|||||||
|
|||||||
![]() Hi Balinor,
I am enclosing the code from the manu_tpl below. <table cellspacing="1" width="100%" class="VertMenuBorder"> <tr> <td class="VertMenuTitle"> <table cellspacing="0" cellpadding="0" width="100%"><tr> <td>{$link_begin}<img src="{$ImagesDir}/{if $dingbats ne ''}{$dingbats}{else}spacer.gif{/if}" class="VertMenuTitleIcon" alt="{$menu_title|escape}" />{$link_end}</td> <td width="100%">{if $link_href}<a href="{$link_href}">{/if}<font class="VertMenuTitle">{$menu_title}</font>{if $link_href}</a>{/if}</td> </tr></table> </td> </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> As you can see this is slightly different code than what you posted but it is the original dafault tpl that I recieved with this version of xcart. I have tried removing from <td class="VertMenuTitle"> through {/if}</td> as well as several other things all of which produce various errors. I admit to being a newbie at a lot of the .tpl but have been having pretty good luck with it for the most part. FYI- I have tried making the changes through my ftp but have also tried the internal editor with no luck. This is a standard template. but does have an xcart modules Fancy_Categories skin for the nav buttons that appear in the vert menu box. I have looked at the tpl's included with this and there is no reference to the dingbats here, and there is not a differnet menu.tpl The only difference appears to be the category.tpl, the new one supplied being called fancy_categories.tpl thanks for hte help Scott V
__________________
scott v x cart version 4.1.8 (Unix) |
|||||||
#10
|
|||||||
|
|||||||
![]() Just use this:
<table cellspacing="1" width="100%" class="VertMenuBorder"> <tr> <td class="VertMenuTitle">{$menu_title}</td></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> It is awful code, but that is the easiest way to simply get rid of the dingbats. A much cleaner version would simply be this: <div class="VertMenuTitle">{$menu_title}</div> <div class="VertMenuBox">{$menu_content}</div>
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|