eGzyl.pl Posted February 25, 2010 Share Posted February 25, 2010 where i can edit it OFC FILE PHP not tpl need make condition who hidden me some part of path :> Link to comment Share on other sites More sharing options...
eGzyl.pl Posted February 26, 2010 Author Share Posted February 26, 2010 where is it somebody know????? Link to comment Share on other sites More sharing options...
eGzyl.pl Posted February 28, 2010 Author Share Posted February 28, 2010 somebody know?? Link to comment Share on other sites More sharing options...
rocky Posted March 1, 2010 Share Posted March 1, 2010 I don't understand the question, which may be why you aren't getting a response. Can you please further explain what you want? Link to comment Share on other sites More sharing options...
eGzyl.pl Posted March 2, 2010 Author Share Posted March 2, 2010 in breadcrumb.tpl is $path i need edit it but i dont know where...i must block some category in breadcrumb.for exaaple.home > cat1 > cat2 >cat3 and in cat2 i don't want to have the flag its clear now? Link to comment Share on other sites More sharing options...
rocky Posted March 2, 2010 Share Posted March 2, 2010 It is the getPath() function in classes/Tools.php that creates the category breadcrumb. If you want to hide a category from it, you'll need to change lines 564-567: if ($path != $category_name) $path = 'getCategoryLink($category)).'">'.htmlentities($category_name, ENT_NOQUOTES, 'UTF-8').' '.$pipe.' '.$path; else $path = ($linkOntheLastItem ? 'getCategoryLink($category)).'">' : '').htmlentities($path, ENT_NOQUOTES, 'UTF-8').($linkOntheLastItem ? '' : ''); to: if ($id_category != 6 AND $id_category != 7) { if ($path != $category_name) $path = 'getCategoryLink($category)).'">'.htmlentities($category_name, ENT_NOQUOTES, 'UTF-8').' '.$pipe.' '.$path; else $path = ($linkOntheLastItem ? 'getCategoryLink($category)).'">' : '').htmlentities($path, ENT_NOQUOTES, 'UTF-8').($linkOntheLastItem ? '' : ''); } Change 6 and 7 to the IDs of the categories you want hidden. You can add as many as you want using AND. Link to comment Share on other sites More sharing options...
eGzyl.pl Posted March 2, 2010 Author Share Posted March 2, 2010 thx a lot!! Link to comment Share on other sites More sharing options...
emmeics Posted July 28, 2010 Share Posted July 28, 2010 Sorry if i post thi message here, you know if i dont want to add product title in breadcrumb what i must to do? Thanks Link to comment Share on other sites More sharing options...
eGzyl.pl Posted July 28, 2010 Author Share Posted July 28, 2010 u must write condition or make dont visible produckt (maybe) and give link static Link to comment Share on other sites More sharing options...
emmeics Posted July 28, 2010 Share Posted July 28, 2010 I'm looking the classes getPath() and FullPath() in Tools.php, but i dont understand where they add the title of product. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now