PDA

View Full Version : breadcrumbs for our own added pages



generic
01-02-07, 08:37 AM
I have successfully added my own page to my support section by creating a page in the templates for it. That works nice and is actually quite easy to do.

The only issue I am having is navigation where I cant figure out how to make the breadcrumb links work.

Is there some format or template syntax i need to use to make them links?

here is that line i am using (I figured out how to add the arrow and new page name):

$breadcrumbnav=''.$_LANG['globalsystemname'].' > '.$_LANG['flashtutorialstitle'].'';

MACscr
01-02-07, 08:43 AM
$breadcrumbnav=''Test (test.html) > Test2 (test2.html)';

bedot
01-02-07, 09:18 AM
Hosting.php

$breadcrumbnav=''.$_LANG['serviceslink'].$_LANG['servicesareatitle'].$_LANG['serviceslinkclose'].$_LANG['custombreadcrum'].$_LANG['hostinglink'].$_LANG['hostingareatitle'].$_LANG['hostinglinkclose'].'';
Lang/English.txt

$_LANG['servicesareatitle'] = "Services";
$_LANG['serviceslink'] = "<a href='services.php'>";
$_LANG['serviceslinkclose'] = "</a>";
$_LANG['hostingareatitle'] = "Hosting Solutions";
$_LANG['hostinglink'] = "<a href='hosting.php'>";
$_LANG['hostinglinkclose'] = "</a>";
Thanks how I accomplished it.

MACscr
01-02-07, 09:28 AM
that would work as well. I just dont care about people that dont speak english. jk =P

generic
01-02-07, 02:25 PM
THANK YOU!