Page 1 of 1

[solved] Site name - page you are editing

Posted: Sat Sep 01, 2007 3:22 am
by Dr.CSS
I'm using multiple tabs in Firefox, I know it can be dangerus, and in 1.1 I could change the "Site Name - Edit Stylesheet: main" to make it just say "- Edit Stylesheet: main" otherwise all the tabs say "Site Name - |" and the rest is hidden, but in 1.1.1 my change now says "Array - Edit Stylesheet: main"...

Any idea where I can edit Array out?...

  TIA

Re: Site name - page you are editing

Posted: Sat Sep 01, 2007 3:56 am
by Nullig
How do you edit the Firefox Tab text?

Nullig

Re: Site name - page you are editing

Posted: Sat Sep 01, 2007 5:48 am
by Dr.CSS
It comes from the in the header of the default theme, title of page shows in tab of Firefox...

/admin/themes/default/defaultTheme.php...

was...

line: 96 cms->siteprefs['sitename'] ." - ". $this->title ?>

me...

line: 96 cms->siteprefs ." - ". $this->title ?>

Re: Site name - page you are editing

Posted: Sat Sep 01, 2007 6:59 am
by alby
mark wrote: It comes from the in the header of the default theme, title of page shows in tab of Firefox...

/admin/themes/default/defaultTheme.php...

was...

line: 96 cms->siteprefs['sitename'] ." - ". $this->title ?>

me...

line: 96 cms->siteprefs ." - ". $this->title ?>
siteprefs['sitename'] is read from Sitename field in Global Settings

Alby

Re: Site name - page you are editing

Posted: Sat Sep 01, 2007 2:34 pm
by calguy1000
This:

Code: Select all

$this->cms->siteprefs
is an array

Code: Select all

$this->cms->siteprefs['sitename'] 
is one element of the array

uust take the whole siteprefs stuff out.... if you don't want it there.

Re: Site name - page you are editing

Posted: Sat Sep 01, 2007 6:35 pm
by Dr.CSS
@ alby yea I got that part but if I take it out of the site preferences it won't show in the title when the site is viewed, and it's nice that it is in the header of the page now in the back end so if I'm working on multiple sites I know which one I just screwed up uh I mean I'm working on ;) just in the tab no reference...

@calguy thanks, can I just leave it at...

line: 96 title ?>

I wasn't sure what the  ." - ". was and if the . were needed or the " " are needed...

ps. it's not my site so I don't want to mess to much, they won't care about the tabs/header thing as much as I do...

Re: Site name - page you are editing

Posted: Sat Sep 01, 2007 6:51 pm
by calguy1000
Yeah, it should work.

Re: Site name - page you are editing

Posted: Sat Sep 01, 2007 7:00 pm
by Dr.CSS
Thanks again...