how to remove site title from administrator area?

Everything to do with Joomla! 1.5 templates and templating.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
User avatar
rw1
Joomla! Guru
Joomla! Guru
Posts: 958
Joined: Sun Aug 28, 2005 11:23 am
Location: New York
Contact:

how to remove site title from administrator area?

Postby rw1 » Sat May 03, 2008 5:41 pm

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 :)

User avatar
rw1
Joomla! Guru
Joomla! Guru
Posts: 958
Joined: Sun Aug 28, 2005 11:23 am
Location: New York
Contact:

Re: how to remove site title from administrator area?

Postby rw1 » Sat May 10, 2008 12:48 pm

anyone please?

still cant get rid of the site title!

thank you :)

User avatar
rw1
Joomla! Guru
Joomla! Guru
Posts: 958
Joined: Sun Aug 28, 2005 11:23 am
Location: New York
Contact:

Re: how to remove site title from administrator area?

Postby rw1 » Sat May 10, 2008 1:36 pm

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 :)

User avatar
rw1
Joomla! Guru
Joomla! Guru
Posts: 958
Joined: Sun Aug 28, 2005 11:23 am
Location: New York
Contact:

Re: how to remove site title from administrator area?

Postby rw1 » Sun Jul 20, 2008 1:28 am

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!

User avatar
rw1
Joomla! Guru
Joomla! Guru
Posts: 958
Joined: Sun Aug 28, 2005 11:23 am
Location: New York
Contact:

Re: how to remove site title from administrator area?

Postby rw1 » Sun Jul 20, 2008 1:36 am

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!

r32
Joomla! Apprentice
Joomla! Apprentice
Posts: 44
Joined: Wed Aug 22, 2007 6:10 pm

Re: how to remove site title from administrator area?

Postby r32 » Sun Jul 20, 2008 2:41 am

Did you try looking in the administrator/index.php ?

Thanks,
r32

User avatar
rw1
Joomla! Guru
Joomla! Guru
Posts: 958
Joined: Sun Aug 28, 2005 11:23 am
Location: New York
Contact:

Re: how to remove site title from administrator area?

Postby rw1 » Sun Jul 20, 2008 3:00 am

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?

r32
Joomla! Apprentice
Joomla! Apprentice
Posts: 44
Joined: Wed Aug 22, 2007 6:10 pm

Re: how to remove site title from administrator area?

Postby r32 » Sun Jul 20, 2008 4:00 am

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

User avatar
rw1
Joomla! Guru
Joomla! Guru
Posts: 958
Joined: Sun Aug 28, 2005 11:23 am
Location: New York
Contact:

Re: how to remove site title from administrator area?

Postby rw1 » Sun Jul 20, 2008 4:22 am

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!!

User avatar
rw1
Joomla! Guru
Joomla! Guru
Posts: 958
Joined: Sun Aug 28, 2005 11:23 am
Location: New York
Contact:

Re: how to remove site title from administrator area?

Postby rw1 » Sun Jul 20, 2008 5:23 am

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.

thedoctor24
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Wed Apr 11, 2007 8:42 pm

Re: how to remove site title from administrator area?

Postby thedoctor24 » Thu Aug 07, 2008 7:05 pm

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.

ninjaducks
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Mon Feb 22, 2010 5:29 pm

Re: how to remove site title from administrator area?

Postby ninjaducks » Mon Feb 22, 2010 5:34 pm

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;
}

Roef
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Wed Apr 07, 2010 2:42 pm

Re: how to remove site title from administrator area?

Postby Roef » Wed Apr 07, 2010 2:46 pm

how do you change just the page title <title> in admin, I just want to change place of the sitename & administrator words.

thank you!

saraheagle
Joomla! Apprentice
Joomla! Apprentice
Posts: 48
Joined: Sat Nov 03, 2007 8:06 am

Re: how to remove site title from administrator area?

Postby saraheagle » Wed Jan 20, 2016 11:29 am

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'));


Return to “Templates for Joomla! 1.5”

Who is online

Users browsing this forum: No registered users and 6 guests