singapore: the smallest big galery
home » forum » Templates » get rid of text 'you are here' in crumbline?

You are not logged in.

  • Index
  •  » Templates
  •  » get rid of text 'you are here' in crumbline?

#1 2004-07-16 21:48:07

Guest
Guest

get rid of text 'you are here' in crumbline?

can I?
I'm a php-newbie, and can't find the place to edit this.
I like the crumbline, but don't want the 'you are here' text.

 

#2 2004-07-21 12:56:56

mjaste
Member

Re: get rid of text 'you are here' in crumbline?

To totally remove the "You are Here" text:
In includes/singapore.class.php find the function

Code:

 function crumbLine()
  {
    return $this->i18n->_g("crumb line|You are here:")." ".$this->crumbLineText();
  }

and replace with

Code:

  function crumbLine()
  {
    return $this->crumbLineText();
  }

Offline

 

#3 2004-07-21 21:55:49

Guest
Guest

Re: get rid of text 'you are here' in crumbline?

thanks! it worked like a charm  big_smile

 

#4 2004-07-25 19:27:57

tamlyn
Lead Developer

Re: get rid of text 'you are here' in crumbline?

Thanks mjaste. Another option is to edit the language file(s) in the locale directory. Your solution is probably simpler and quicker to do but the advantage of editing the language file is that you won't have to re-edit when (if) you upgrade.

Offline

 

#5 2004-09-04 18:12:31

Guest
Guest

Re: get rid of text 'you are here' in crumbline?

Sorry for resurrected an older thread, but I tried the crumbline editting that was mentioned earlier, and I ended up with this error:

Warning: Cannot modify header information - headers already sent by (output started at /home/dumbxlu/public_html/photos/includes/singapore.class.php:1356) in /home/dumbxlu/public_html/photos/index.php on line 30 photos

What do I do now?

 

#6 2004-09-05 11:55:48

Guest
Guest

Re: get rid of text 'you are here' in crumbline?

Guest

My guessing is you used an online HTML editor to edit the file? Download the file to your local drive, open it with text editor, check if there are any blank lines at the end of the script, clear them, load the file up and see if that fix the problem?

 

#7 2004-09-05 16:27:51

tamlyn
Lead Developer

Re: get rid of text 'you are here' in crumbline?

Thanks dean. Yeah blank lines are probably your problem. did you edit index.php or any of the include files? it is important that there are no blank lines or spaces or text of any kind before the first <?php in each file.

Offline

 
  • Index
  •  » Templates
  •  » get rid of text 'you are here' in crumbline?