Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Menu Dingbats

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-20-2009, 08:43 AM
 
Xel Xel is offline
 

Advanced Member
  
Join Date: Sep 2007
Posts: 82
 

Default Menu Dingbats

Ok, so I've been customizing my menu (left column) of my site and everything is fine except one oddity:

The dingbat for my Help section is the same as my authentication / affiliate section (I.e green), when the actual image it should pull is orange.

Steps I have taken and relevant info:
-The actual image file (dingbats_Help.gif) is correct; i.e. orange.

skin1/customer/help/menu.tpl looks like this:
Code:
{* $Id: menu.tpl,v 1.4 2008/11/14 12:32:21 max Exp $ vim: set ts=2 sw=2 sts=2 et: *} {capture name=menu} {strip} <ul> <li><a href="help.php?section=contactus&mode=update">{$lng.lbl_contact_us}</a></li> {foreach from=$pages_menu item=p} {if $p.show_in_menu eq 'Y'} <li><a href="pages.php?pageid={$p.pageid}">{$p.title|amp}</a></li> {/if} {/foreach} </ul> {/strip} {/capture} {include file="customer/menu_dialog.tpl" title=$lng.lbl_help content=$smarty.capture.menu link_href="help.php" additional_class="menu-help"}

skin1/customer/menu_dialog.tpl looks like this:
Code:
{* $Id: menu_dialog.tpl,v 1.4 2008/11/24 09:23:19 max Exp $ vim: set ts=2 sw=2 sts=2 et: *} {*** Added If menu-auth and if login to space auth box ***} <div class="menu-dialog{if $additional_class} {$additional_class}{/if}"> <div class="title-bar valign-middle"> {strip} <img class="icon" src="{$ImagesDir}/spacer.gif" alt="{$title|escape}" /> {$title} {if $link_href} <a href="{$link_href}"><img src="{$ImagesDir}/spacer.gif" alt="" /></a> {/if} {/strip} </div> {if $additional_class eq "menu-auth"} {if $login eq ""} <div><br /></div> {/if} <div class="content2"> {$content} </div> {else} <div class="content"> {$content} </div> </div> {/if}

skin1/main.css snippet:
Code:
/* help menu */ .menu-help .title-bar img.icon { background: url(images/dingbats_help.gif) no-repeat; } /*

Code:
/* menu Box title */ .menu-dialog { padding: 0; margin: 0; } .menu-dialog .title-bar { width: 100%; white-space: nowrap; border-bottom: 1px solid #fff; color: #fff; background: #2F3440; font-weight: bold; padding: 2px 5px 2px 0; overflow: hidden; position: relative; } .menu-dialog .title-bar img.icon { margin: 2px 7px 2px 7px; width: 21px; vertical-align: middle; height: 20px; } .menu-dialog .title-bar a:link, .menu-dialog .title-bar a:visited, .menu-dialog .title-bar a:hover, .menu-dialog .title-bar a:active { display: block; text-decoration: none; position: absolute; top: 7px; right: 7px; } .rtl .menu-dialog .title-bar a:link, .rtl .menu-dialog .title-bar a:visited, .rtl .menu-dialog .title-bar a:hover, .rtl .menu-dialog .title-bar a:active { right: auto; left: 7px; } .menu-dialog .title-bar a:link img, .menu-dialog .title-bar a:visited img, .menu-dialog .title-bar a:hover img, .menu-dialog .title-bar a:active img { width: 7px; background: transparent url(images/menu_arrow.gif) no-repeat left top; height: 11px; } .rtl .menu-dialog .title-bar a:link img, .rtl .menu-dialog .title-bar a:visited img, .rtl .menu-dialog .title-bar a:hover img, .rtl .menu-dialog .title-bar a:active img { background: transparent url(images/menu_arrow_invert.gif) no-repeat left top; }

Any ideas?
__________________
Dustin Spears

www.SpearTech.net
X-Cart Gold
Version: 4.2.0
Add Ons: Product Configurator,X-RMA, X-AOM
Third Party Mods: None (Yet )
Reply With Quote

The following user thanks Xel for this useful post:
Victor D (03-23-2009)
  #2  
Old 03-23-2009, 12:56 AM
  Victor D's Avatar 
Victor D Victor D is offline
 

X-Adept
  
Join Date: Aug 2008
Posts: 643
 

Default Re: Menu Dingbats

do you have both dingbats_Help.gif and dingbats_help.gif?

according to this
.menu-help .title-bar img.icon { background: url(images/dingbats_help.gif) no-repeat; }

this image name should be written in lowercase
Also I believe that for 4.2.0 Templates editing there is a separate forum.
__________________
Regards,
Victor Dubiniuk

X-Cart Skins Store
- twenty two different skins for 4.1.x and 4.2.x;
- 4.3.x compatible versions are available;
- refresh you store now!

Smart menu X-Cart add-on for 4.1.8 - 4.3.x
Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x
Reply With Quote
  #3  
Old 03-23-2009, 02:57 AM
 
Xel Xel is offline
 

Advanced Member
  
Join Date: Sep 2007
Posts: 82
 

Default Re: Menu Dingbats

It is dingbats_help, no caps. Sorry. If this is in the wrong forum I apologize, didn't know.
__________________
Dustin Spears

www.SpearTech.net
X-Cart Gold
Version: 4.2.0
Add Ons: Product Configurator,X-RMA, X-AOM
Third Party Mods: None (Yet )
Reply With Quote
  #4  
Old 03-23-2009, 02:58 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Menu Dingbats

Moved to 4.2 forum
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 03-23-2009, 03:25 AM
  Victor D's Avatar 
Victor D Victor D is offline
 

X-Adept
  
Join Date: Aug 2008
Posts: 643
 

Default Re: Menu Dingbats

So entering in browser URL your_domain/skin1/images/dingbats_help.gif you see correct image?
__________________
Regards,
Victor Dubiniuk

X-Cart Skins Store
- twenty two different skins for 4.1.x and 4.2.x;
- 4.3.x compatible versions are available;
- refresh you store now!

Smart menu X-Cart add-on for 4.1.8 - 4.3.x
Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x
Reply With Quote
  #6  
Old 03-24-2009, 03:29 AM
 
Xel Xel is offline
 

Advanced Member
  
Join Date: Sep 2007
Posts: 82
 

Default Re: Menu Dingbats

Quote:
Originally Posted by Victor D
So entering in browser URL your_domain/skin1/images/dingbats_help.gif you see correct image?

Yep. Which of course leads me to believe it is referencing a different image somewhere, but I can't for the life of me discern where
__________________
Dustin Spears

www.SpearTech.net
X-Cart Gold
Version: 4.2.0
Add Ons: Product Configurator,X-RMA, X-AOM
Third Party Mods: None (Yet )
Reply With Quote
  #7  
Old 03-24-2009, 03:41 AM
  Victor D's Avatar 
Victor D Victor D is offline
 

X-Adept
  
Join Date: Aug 2008
Posts: 643
 

Default Re: Menu Dingbats

It is possible due to overriding CSS rule for menu-help with more specific one.

Try to change
Code:
.menu-help .title-bar img.icon { background: url(images/dingbats_help.gif) no-repeat; }

to
Code:
#left-bar .menu-help .title-bar img.icon { background: url(images/dingbats_help.gif) no-repeat; }
__________________
Regards,
Victor Dubiniuk

X-Cart Skins Store
- twenty two different skins for 4.1.x and 4.2.x;
- 4.3.x compatible versions are available;
- refresh you store now!

Smart menu X-Cart add-on for 4.1.8 - 4.3.x
Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x
Reply With Quote
  #8  
Old 03-24-2009, 06:04 AM
 
Xel Xel is offline
 

Advanced Member
  
Join Date: Sep 2007
Posts: 82
 

Default Re: Menu Dingbats

Didn't help =/ thanks anyways.

I have bigger issues at this point anyways, I plan to move my site from one domain to another, so i switched the ssl to the new site. Unfortunately now I cannot log into the admin side (was using secure login)
***EDIT***
Found the correct DB entry, I'm back in my own store
__________________
Dustin Spears

www.SpearTech.net
X-Cart Gold
Version: 4.2.0
Add Ons: Product Configurator,X-RMA, X-AOM
Third Party Mods: None (Yet )
Reply With Quote
  #9  
Old 03-24-2009, 06:29 AM
  Victor D's Avatar 
Victor D Victor D is offline
 

X-Adept
  
Join Date: Aug 2008
Posts: 643
 

Default Re: Menu Dingbats

Please PM me your store URL or post it here I'll try to investigate this right in place.
__________________
Regards,
Victor Dubiniuk

X-Cart Skins Store
- twenty two different skins for 4.1.x and 4.2.x;
- 4.3.x compatible versions are available;
- refresh you store now!

Smart menu X-Cart add-on for 4.1.8 - 4.3.x
Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x
Reply With Quote
  #10  
Old 03-24-2009, 07:18 AM
 
Xel Xel is offline
 

Advanced Member
  
Join Date: Sep 2007
Posts: 82
 

Default Re: Menu Dingbats

Thanks for taking an interest in it.

www.speartech.net/shop/home.php?shopkey=testing

you'll see it on the left there (green when it should be red)
__________________
Dustin Spears

www.SpearTech.net
X-Cart Gold
Version: 4.2.0
Add Ons: Product Configurator,X-RMA, X-AOM
Third Party Mods: None (Yet )
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:25 AM.

   

 
X-Cart forums © 2001-2020