[solved] Site name - page you are editing

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.
Post Reply
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

[solved] Site name - page you are editing

Post 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
Last edited by Anonymous on Sat Sep 01, 2007 7:00 pm, edited 1 time in total.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Site name - page you are editing

Post by Nullig »

How do you edit the Firefox Tab text?

Nullig
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Site name - page you are editing

Post 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 ?>
alby

Re: Site name - page you are editing

Post 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
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Site name - page you are editing

Post 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.
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.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Site name - page you are editing

Post 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...
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Site name - page you are editing

Post by calguy1000 »

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.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Site name - page you are editing

Post by Dr.CSS »

Thanks again...
Post Reply

Return to “CMSMS Core”