longhorn1999 Posted September 4, 2010 Share Posted September 4, 2010 Hi, I made a simple page of random articles on my site by just copying the shipping page (shipping.php and includes/languages/english/shipping.php) and customizing it with the proper links. I put these articles into this page using basically the same method. But though the main articles page has a breadcrumbs trail of 'Home - List of Articles', the actual article pages have a trail like 'Home - Article Title 1', whereas I'd like it to be 'Home - List of Articles - Article Title 1'. This is the standard format for breadcrumbs in all information pages: $breadcrumb->add(NAVBAR_TITLE, tep_href_link (FILENAME_ARTICLE_TITLE_1)); NAVBAR_TITLE is defined as Article Title 1 here. I wasn't able to find a clear answer elsewhere in the forum, but what would I add to this code to insert the extra link in the breadcrumb? Thanks Link to comment Share on other sites More sharing options...
chadcloman Posted September 4, 2010 Share Posted September 4, 2010 Include a second $breadcrumb statement, somewhere after the first. It should be formatted something like this: $breadcrumb->add('Article Title 1', tep_href_link(...)); where you should replace "..." with the appropriate tep_href_link() parameter(s) that will create a direct link to the article. . Check out Chad's News. Link to comment Share on other sites More sharing options...
longhorn1999 Posted September 5, 2010 Author Share Posted September 5, 2010 Include a second $breadcrumb statement, somewhere after the first. It should be formatted something like this: $breadcrumb->add('Article Title 1', tep_href_link(...)); where you should replace "..." with the appropriate tep_href_link() parameter(s) that will create a direct link to the article. . Thanks Chad! That did the job... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.