It is currently Sat Oct 11, 2008 6:45 pm

 

All times are UTC





Post new topic Reply to topic  [ 14 posts ] 
Author Message
 Post subject: [FIXED]document title
PostPosted: Wed Oct 03, 2007 10:51 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Thu Aug 18, 2005 8:01 am
Posts: 207
Location: Germany Bonn
Hi ,

in former Joomla -Versions the document title is build of the sitename and the article or menu title.
Now the sitename is lost.

we have in application.php for example
$document->setTitle($params->get('page_title') ); 

in com_content the document title is set  in realtion to the article-title or menu-title.

So the connection between the sub-sites and the whole site is lost in the document title.
For example:

page title  frontpage : Joomla  an open source CMS

Navigation -item :  "Features"
pagetitle of this item : "The new way we offer"

So we have in the document title only "features" or in relation to the content structure " The new way we offer"

The relation to joomla is lost. The correct document title has to be: "Joomla - The new way we offer"
or " Joomla - Features "

What do you think? Is it better to make the combination like this:

$document->setTitle( $this->getCfg('sitename') .'-'.$params->get('page_title') ); 

Angie

_________________
ausdrucks|Stark
Büro für Kommunikation Angie Radtke
http://www.der-auftritt.de
Blog: http://www.der-auftritt.de/wissen.html


Last edited by Jinx on Thu Oct 04, 2007 3:06 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: document title
PostPosted: Wed Oct 03, 2007 11:02 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Sat Nov 12, 2005 10:55 pm
Posts: 820
Location: Israel
a.radtke wrote:
The relation to joomla is lost. The correct document title has to be: "Joomla - The new way we offer"
or " Joomla - Features "

What do you think? Is it better to make the combination like this:

$document->setTitle( $this->getCfg('sitename') .'-'.$params->get('page_title') ); 

Angie

I agree for 2 reasons:
  • Logic - title needs to have the sitename + pagetitle
  • Backward Compatibility - it would affect SEO if we migrate a site & chage all its titles...

_________________
"In a world without walls and fences,
who needs Windows & Gates?"

http://www.smartmtk.com | http://www.ganpoohadov.com


Top
 Profile  
 
 Post subject: Re: document title
PostPosted: Wed Oct 03, 2007 3:28 pm 
User avatar
Joomla! Champion
Joomla! Champion
Offline

Joined: Wed Aug 17, 2005 10:27 pm
Posts: 5711
Location: Kent, England
see http://forum.joomla.org/index.php/topic ... #msg891989
http://forum.joomla.org/index.php/topic ... #msg864257
http://forum.joomla.org/index.php/topic ... #msg844482

and probably countless others ;)

Andy

_________________
Andy Wallace Author of the J! 1.5 Installation Manual http://joomlacode.org/gf/download/docmanfileversion/664/17471/1.5_Installation_Manual_version_0.5.pdf
Those that can do (to the best of their time and ability); those that can't just whine about it (..and expect it all to be done for them!)
Amazing how useful the search button can be...so use it!


Top
 Profile  
 
 Post subject: Re: document title
PostPosted: Wed Oct 03, 2007 4:30 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Thu Aug 18, 2005 8:01 am
Posts: 207
Location: Germany Bonn
hi

we have take care not to muddle up page title and document title.

Angie

_________________
ausdrucks|Stark
Büro für Kommunikation Angie Radtke
http://www.der-auftritt.de
Blog: http://www.der-auftritt.de/wissen.html


Top
 Profile  
 
 Post subject: Re: document title
PostPosted: Wed Oct 03, 2007 5:43 pm 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 10368
Location: •Translation Matters•
humvee wrote:


And on International forums too..

BTW I do not understand the reasoning behind "it's better for SEO" as stated by Jinx.
I suggest to add a parameter in Global Configuration that would let the user add the site name before the page if the user wants so.
Looks like many want this feature.

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr · GMT +2
Qui vult dare parva non debet magna rogare.


Top
 Profile E-mail  
 
 Post subject: Re: document title
PostPosted: Wed Oct 03, 2007 10:39 pm 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso
Online

Joined: Fri Sep 16, 2005 8:41 pm
Posts: 3608
Location: NRW - Germany
Fixed. Added global config option to set this. :)

_________________
god doesn't play dice with the universe. not after that drunken night with the devil where he lost classical mechanics in a game of craps.

Since the creation of the Internet, the Earth's rotation has been fueled, primarily, by the collective spinning of English teachers in their graves.


Top
 Profile  
 
 Post subject: Re: [FIXED]document title
PostPosted: Thu Oct 04, 2007 3:06 am 
User avatar
Joomla! Champion
Joomla! Champion
Offline

Joined: Fri Aug 12, 2005 12:47 am
Posts: 6425
Sorry Hannes but I had to revert your change. The page titles handling in Joomla! 1.0 has been discussed multiple times and there is a heap of information that can be found on page titles and SEO optimisations in general on the www.

In short, for Joomla! 1.5 and for SEO reasons we have choosen to create page titles that are directly relevant to the actual page you are in. This means the sitename and or site description isn't appeneded or prepended to the page title. This decision was taken after research and feeedback from SEO experts. A good example of this approach is this forum, when you browse it you will notice SMF doesn't prepend or append the site name or description to the page title.

If you don't agree with this approach it wouldn't be very hard to create a Joomla! 1.5 plugins that changes the page title. This could easily be done by using the onAfterDispatch event, and using the JDocument::getTitle and getTitle function.

Johan

_________________
Johan Janssens - Lead developer
'Making good things happen'
http://www.nooku.org - content translation system for Joomla! 1.5
http://www.joomlatools.org - training, consulting and extension development


Top
 Profile  
 
 Post subject: Re: [FIXED]document title
PostPosted: Thu Oct 04, 2007 7:20 am 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 10368
Location: •Translation Matters•
Jinx wrote:

If you don't agree with this approach it wouldn't be very hard to create a Joomla! 1.5 plugins that changes the page title. This could easily be done by using the onAfterDispatch event, and using the JDocument::getTitle and getTitle function.


Hmm.. honest, why not let the choice in global config then? We can have a faq explaining your reasoning and let users decide.
This would save the coding of a plugin for those that do not agree    ???

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr · GMT +2
Qui vult dare parva non debet magna rogare.


Top
 Profile E-mail  
 
 Post subject: Re: [FIXED]document title
PostPosted: Thu Oct 04, 2007 8:23 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Sat Nov 12, 2005 10:55 pm
Posts: 820
Location: Israel
Even more, it won't break backward compatibility.
Let's assume I have a site in J!1.0 which has one Title structure (& Search Engines know them that way), after migration all title will change.

Wouldn't it affect Search Engines?

_________________
"In a world without walls and fences,
who needs Windows & Gates?"

http://www.smartmtk.com | http://www.ganpoohadov.com


Top
 Profile  
 
 Post subject: Re: [FIXED]document title
PostPosted: Thu Oct 04, 2007 8:33 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Thu Aug 18, 2005 8:01 am
Posts: 207
Location: Germany Bonn
Hi,


there is an easy solution, Robert told me

We can adapt it in the template itself.


$title=$mainframe->getPageTitle();
$title= $title . ' sitename';
$mainframe->setPageTitle($title);


bye Angie

_________________
ausdrucks|Stark
Büro für Kommunikation Angie Radtke
http://www.der-auftritt.de
Blog: http://www.der-auftritt.de/wissen.html


Top
 Profile  
 
 Post subject: Re: [FIXED]document title
PostPosted: Thu Oct 04, 2007 8:46 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Sat Nov 12, 2005 10:55 pm
Posts: 820
Location: Israel
A template specific solution is good, but not sure good enough.
If template creators won't be aware of this Title behavior, then they won't add this code...
(& we solved nothing)

_________________
"In a world without walls and fences,
who needs Windows & Gates?"

http://www.smartmtk.com | http://www.ganpoohadov.com


Top
 Profile  
 
 Post subject: Re: [FIXED]document title
PostPosted: Thu Oct 04, 2007 1:11 pm 
User avatar
Joomla! Champion
Joomla! Champion
Offline

Joined: Fri Aug 12, 2005 12:47 am
Posts: 6425
I'm not a big fan of having settings for everything and anything. One of the design goal behind 1.5 is trying to reduce choice by reducing the number of settings. Less settings means more simplicytiy and more ease of use plus it makes documenting the system easier.

As for the effect on search engine, I will argue that it will improve you search engine ranking as the titles will better reflect the content of the page.

_________________
Johan Janssens - Lead developer
'Making good things happen'
http://www.nooku.org - content translation system for Joomla! 1.5
http://www.joomlatools.org - training, consulting and extension development


Top
 Profile  
 
 Post subject: Re: [FIXED]document title
PostPosted: Sat Oct 27, 2007 5:48 am 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 10368
Location: •Translation Matters•
A French user has developed a plugin to solve this issue and let users decide whatever the template(s) used.  :)

Tested on last SVN and working.
http://www.joomlagora.org/index.php/Web ... gorie.html

I ask him to add language file and it should be released on JED.

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr · GMT +2
Qui vult dare parva non debet magna rogare.


Top
 Profile E-mail  
 
 Post subject: Re: [FIXED]document title
PostPosted: Tue Oct 30, 2007 8:54 am 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 10368
Location: •Translation Matters•
Helped the user concerning language files...
Had to be redundant until plugin language install is rectified.
http://forum.joomla.org/index.php/topic ... html  :pop

Plug-in now on JED
http://extensions.joomla.org/component/ ... Itemid,35/

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr · GMT +2
Qui vult dare parva non debet magna rogare.


Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 


All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group