New Zenner
- Join Date:
- Jan 2011
- Posts:
- 47
- Plugin Contributions:
- 0
Started by raphael on 14 Sep 2014, 5:09 PM · Views: 1,273
New Zenner
New Zenner
You can change the link in includes/classes/breadcrumb.php
$trail_string .= ' <a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . $this->_trail[$i]['title'] . '</a>';
You can change . HTTP_SERVER . DIR_WS_CATALOG to whatever you want.
New Template for Zen Cart 1.5.3
**Elektro Responsive Zencart Template**
New Zenner
mdc:
You can change the link in includes/classes/breadcrumb.php
$trail_string .= ' <a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . $this->_trail[$i]['title'] . '</a>';
> You can change . HTTP_SERVER . DIR_WS_CATALOG to whatever you want.
Thanks mdc, I changed it to the below & it broke my cart. What did I do wrong?
$trail_string .= ' <a href="' . <http://www.mysiteaddress.com/subdirectory/filename.htm> . '">' . $this->_trail[$i]['title'] . '</a>';
Totally Zenned
raphael:
Thanks mdc, I changed it to the below & it broke my cart. What did I do wrong?
$trail_string .= ' <a href="' . <http://www.mysiteaddress.com/subdirectory/filename.htm> . '">' . $this->_trail[$i]['title'] . '</a>';
try this:
$trail_string .= ' <a href="http://www.mysiteaddress.com/subdirectory/filename.htm">' . $this->_trail[$i]['title'] . '</a>';
Zen cart installation / maintenance / customisation / hosting
Supported Modules: Dutch language pack, Multi site, Dynamic Price Updater and more.
New Zenner
Thanks Design that did the trick... not sure what I was missing though..
Totally Zenned
raphael:
Thanks Design that did the trick... not sure what I was missing though..
You had:
$trail_string .= ' <a href="' . http://www.mysiteaddress.com/subdirectory/filename.htm . '">' . $this->_trail[$i]['title'] . '</a>';
After the href an double quote you were changing from html to php mode in building the string. This was causing the error.
Zen cart installation / maintenance / customisation / hosting
Supported Modules: Dutch language pack, Multi site, Dynamic Price Updater and more.
Tell staff why this post should be reviewed.