Loaded Commerce Community

Banner


Board index » Web Design and Development » Designers Workshop

All times are UTC - 5 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Remove "-" in sub items
PostPosted: Thu Nov 24, 2011 1:13 am 
Offline
CRE Freak

Joined: Thu Oct 27, 2011 3:14 pm
Posts: 37
Hello,

Where can I to to remove "-" before the sub items in menu?

Thank you.


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
 Post subject: Re: Remove "-" in sub items
PostPosted: Thu Nov 24, 2011 1:53 am 
Offline
CRE Legend
User avatar

Joined: Thu Jun 12, 2008 6:39 am
Posts: 2405
Location: New Zealand
It looks like a categories1.php infobox, but guessing as it'll depend on 1) your template 2) your version of (cre) loaded - advice: why not edit your signature and put in the version info of your cart?

So if above is right guess, you'd be looking for the file /includes/classes/box_categories1.php
and this block:
Code:
if (tep_has_category_subcategories($counter)) {
      $this->categories_string .= '->';
    }

which you'd comment out like:
Code:
/* if (tep_has_category_subcategories($counter)) {
      $this->categories_string .= '->';
    } */

to remove the -

Simon

_________________
www.codemehappy.com
For Cre Loaded tips, how-to articles and more


Top
 Profile  
 
 Post subject: Re: Remove "-" in sub items
PostPosted: Thu Nov 24, 2011 9:47 pm 
Offline
CRE Freak

Joined: Thu Oct 27, 2011 3:14 pm
Posts: 37
Hello,

I don't know how to use the signature..I am using CRE 6.5 and box_categories.php. The template is cre65_ats.

Thank you, Simon!


Top
 Profile  
 
 Post subject: Re: Remove "-" in sub items
PostPosted: Fri Nov 25, 2011 12:24 am 
Offline
CRE Legend
User avatar

Joined: Thu Jun 12, 2008 6:39 am
Posts: 2405
Location: New Zealand
So the file you need to edit:
/includes/classes/box_categories.php

Block of code to comment out (as shown):
Code:
/* for ($i=0; $i<$this->tree[$counter]['level']; $i++) {
      $this->categories_string .= "&nbsp;-&nbsp;";
    } */


--------------
Edit your signature:

Login to your account >> User Control Panel >> Profile >> Edit Signature.

Simon

_________________
www.codemehappy.com
For Cre Loaded tips, how-to articles and more


Last edited by soundzgood2 on Fri Nov 25, 2011 4:32 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Remove "-" in sub items
PostPosted: Fri Nov 25, 2011 2:04 am 
Offline
CRE Freak

Joined: Thu Oct 27, 2011 3:14 pm
Posts: 37
Thank you!!!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

Board index » Web Design and Development » Designers Workshop

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
It is currently Thu May 24, 2012 6:54 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Login

Forums Latest Activity

Top Listing

1. Cart2Cart - Shopping...
    Category: Shopping Cart Database Conversion Scripts
    
2. Points & Rewards PLUS!...
    Category: Add-Ons
    
3. Configuration Server...
    Category: Fixes
    
4. Credit Card with CCV
    Category: Payment Modules
    
5. CC7333_ATS
    Category: Templates
    
Show more...

© CRE Loaded is a product of Chain Reaction Ecommerce, Inc. Usage & Privacy Policy