Breadcrumb image

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
salo

Breadcrumb image

Post by salo »

I was about to edit the function.breadcrumbs.php page to insert an image rather than '>>' to mark inbetween the pages. 
By the default it is using >>\n
what does  \n do?

I'd like this to point to the image management tool, I thought this would work, but it doesn't seem to locate the image (no errors at least) is my syntax corect?
while ($onecontent = array_pop($allcontent))
{
if ($onecontent->Id() != $thispage && $onecontent->Type() != 'seperator')
{
if ($onecontent->Type() == 'sectionheader')
{
if (getURL($thispage)!="")
{
$trail .= $onecontent->MenuText()." \n";
}
else
{
$trail .= $onecontent->MenuText()." \n";
}
}
else
{
if (getURL($thispage)!="")
{
$trail .= "getURL()."">".($onecontent->MenuText()!=''?$onecontent->MenuText():$onecontent->Name())." \n";
}
else
{
$trail .= ($onecontent->MenuText()!=''?$onecontent->MenuText():$onecontent->Name())." \n";
}
}
}
else
{
$trail .= "".($onecontent->MenuText()!=''?$onecontent->MenuText():$onecontent->Name())."\n";
}
}
}
else
{
$trail = "No pages";
}

return $trail;

}
Last edited by salo on Mon Jul 11, 2005 10:14 pm, edited 1 time in total.
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: Breadcrumb image

Post by Ted »

Yeah, I think that's the problem also.

As far as \n, it's just a carriage return so the html source isn't quite as messy by pushing everything together.
TNTH

Re: Breadcrumb image

Post by TNTH »

I'd like to use a backgroundimage when using the breadcrumbs-plugin. How can I achieve this?
Locked

Return to “CMSMS Core”