Page 1 of 1

how to remove site title from administrator area?

Posted: Sat May 03, 2008 5:41 pm
by rw1
Hello,

I have removed the reference to the site title in:

/administrator/templates/khepri/index.php
/administrator/templates/khepri/login.php (removed it from the login page)

however the site title is still showing up when i am in the administrator area.

Can anyone tell me which file i have to edit to remove the title from this area?

I am using the default 1.5 administrator template 'khepri'.

Thank You :)

Re: how to remove site title from administrator area?

Posted: Sat May 10, 2008 12:48 pm
by rw1
anyone please?

still cant get rid of the site title!

thank you :)

Re: how to remove site title from administrator area?

Posted: Sat May 10, 2008 1:36 pm
by rw1
ok i figured out a little clue, the site title can be turned off in the kehpri template parameters - but when you turn it off it defaults to showing 'Administration' - so i would also like it not to display this? Any ideas? I'll post when i figure it out!
Ciao :)

Re: how to remove site title from administrator area?

Posted: Sun Jul 20, 2008 1:28 am
by rw1
ok, i havent figured it out yet, but this may be of use to someone, it controls the amont of padding on the left hand side of the title 'Administration' in the administrator area - it is in administrator/khepri/css/general.css:

Code: Select all

#border-top .title {
	font-size: 22px; font-weight: bold; color: #fff; line-height: 44px;
	padding-left: 180px;
}
If anypne knows how to remove 'Administration' completely please let us know.

Thanks!

Re: how to remove site title from administrator area?

Posted: Sun Jul 20, 2008 1:36 am
by rw1
I'm getting closer!

To remove it from the login page, in administrator/templates/khepri/login.php find:

Code: Select all

<div>
<span class="title"><?php echo $this->params->get('showSiteName') ? $mainframe->getCfg( 'sitename' ) : JText::_('Administration'); ?></span>
</div>
and replace with:

Code: Select all

<div>
<span class="title"><?php echo $this->params->get('showSiteName') ? $mainframe->getCfg( 'sitename' ) : JText::_(''); ?></span>
</div>
Still trying to figure out how to remove it from administrator Control Panel page - any ideas appreciated!

Re: how to remove site title from administrator area?

Posted: Sun Jul 20, 2008 2:41 am
by r32
Did you try looking in the administrator/index.php ?

Thanks,
r32

Re: how to remove site title from administrator area?

Posted: Sun Jul 20, 2008 3:00 am
by rw1
thank you for your suggestion, yes i looked in administrator/index.php and index2.php and index3.php - i couldnt see anything in there that would change it - could u see anything?

Re: how to remove site title from administrator area?

Posted: Sun Jul 20, 2008 4:00 am
by r32
Hello.

I opened this file:

administrator/templates/khepri/cpanel.php (line 49)

Code: Select all

<span class="title"><?php echo $this->params->get('showSiteName') ? $mainframe->getCfg( 'sitename' ) : JText::_('Administration'); ?></span>
I changed the line of code to read this:

Code: Select all

<span class="title"><?php echo $this->params->get('') ? $mainframe->getCfg( '' ) : JText::_('TEST'); ?></span>
BUT...it only changes the Title at the top of the Admin area when you click on SITE > CONTROL PANEL

So then I looked in this file:

administrator/templates/khepri/index.php (line 50)

Code: Select all

<span class="title"><?php echo $this->params->get('showSiteName') ? $mainframe->getCfg( 'sitename' ) : JText::_('Administration'); ?></span>
I changed the line of code to read this:

Code: Select all

<span class="title"><?php echo $this->params->get('') ? $mainframe->getCfg( '' ) : JText::_('TEST'); ?></span>
That seemed to work for the rest of the pages. So just delete [showSiteName] [sitename] and [Administration] if you don't want it to show anything up there.

Thanks,
r32

Re: how to remove site title from administrator area?

Posted: Sun Jul 20, 2008 4:22 am
by rw1
ofcourse, cpanel!

THANK YOU!

Yes it wasnt showing on any other page except for the main Control Panel page and i couldnt figure out why - this sorted it completely - thank you! You have no idea how long i put into looking for that!

Thanks again!!

Re: how to remove site title from administrator area?

Posted: Sun Jul 20, 2008 5:23 am
by rw1
For further admin area tweaking, you can change the Joomla! Administration Login title in administrator/templates/khepri/login.php, find:

Code: Select all

<h1><?php echo JText::_('Joomla! Administration Login') ?></h1>
replace with:

Code: Select all

<h1><?php echo JText::_('What You Would Like Here') ?></h1>
ps i cant edit my first post to have a solved icon - mods please mark as solved if possible, thank you.
pps definitive guide on these tweaks and more now posted here.

Re: how to remove site title from administrator area?

Posted: Thu Aug 07, 2008 7:05 pm
by thedoctor24
if you want to edit the top joomla title go to administrator/templates/khepri/images

You can then edit the images and put your own title up there. Hope that helps.

Re: how to remove site title from administrator area?

Posted: Mon Feb 22, 2010 5:34 pm
by ninjaducks
Very simple - Just a small change in the template general.css file from

Code: Select all

#border-top .title {
	font-size: 10px; font-weight: bold; color: #F4F4F4; line-height: 44px;
	padding-left: 60px;
}
to

Code: Select all

#border-top .title {
	font-size: 0px; font-weight: bold; color: #F4F4F4; line-height: 44px;
	padding-left: 60px;
}

Re: how to remove site title from administrator area?

Posted: Wed Apr 07, 2010 2:46 pm
by Roef
how do you change just the page title <title> in admin, I just want to change place of the sitename & administrator words.

thank you!

Re: how to remove site title from administrator area?

Posted: Wed Jan 20, 2016 11:29 am
by saraheagle
A bit late but I needed this myself. It's amazing how I didn't realise I needed this sooner, it makes all the difference when you have many tabs open.

- Open /administrator/templates/yourtemplatename/index.php
- Somewhere before <!DOCTYPE html> and after
$app = JFactory::getApplication();
$doc = JFactory::getDocument();
add

$doc->setTitle(strip_tags($app->JComponentTitle).' - '.JText::_('JADMINISTRATION') .' - '.$app->get('sitename'));
Or
$doc->setTitle(strip_tags($app->JComponentTitle) .' - '.$app->get('sitename'));