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
[solved] Site name - page you are editing
[solved] Site name - page you are editing
Last edited by Anonymous on Sat Sep 01, 2007 7:00 pm, edited 1 time in total.
Re: Site name - page you are editing
How do you edit the Firefox Tab text?
Nullig
Nullig
Re: Site name - page you are editing
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 ?>
/admin/themes/default/defaultTheme.php...
was...
line: 96 cms->siteprefs['sitename'] ." - ". $this->title ?>
me...
line: 96 cms->siteprefs ." - ". $this->title ?>
-
alby
Re: Site name - page you are editing
siteprefs['sitename'] is read from Sitename field in Global Settingsmark 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 ?>
Alby
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Site name - page you are editing
This:
is an array
is one element of the array
uust take the whole siteprefs stuff out.... if you don't want it there.
Code: Select all
$this->cms->siteprefs
Code: Select all
$this->cms->siteprefs['sitename'] uust take the whole siteprefs stuff out.... if you don't want it there.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: Site name - page you are editing
@ 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...
@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...
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Site name - page you are editing
Yeah, it should work.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: Site name - page you are editing
Thanks again...


