[NOT BUG] Problem with special characters in meta title?

Confirmed bugs that have been Fixed - Joomla 1.0.x



[New Threads cannot be started in this forum]
ben-work
Joomla! Apprentice
Joomla! Apprentice
Posts: 43
Joined: Mon Jan 09, 2006 10:48 pm

[NOT BUG] Problem with special characters in meta title?

Postby ben-work » Thu May 24, 2007 6:56 am

Hi,

I've discovered some weird behaviour relating to the meta-title of generated pages. We have modified a number of components to have more informative dynamic page titles, and these have in the past worked fine (I think Joomla 1.0.8 was the last version we deployed on before 1.0.12), but now if we include a hyphen in the title data it seems to be escaped.

In the components I use code like this:

Code: Select all

$GLOBALS['mainframe']->setPageTitle( "Some static text - " . $dynamicText );


to set the page titles. Now, the hyphen seems to go missing and at least one of the spaces along with it. I found that if I backslash escape all the hyphens it works fine, but this wasn't previously required.

Maybe this is related to a similar issue I discovered previously with mosloadposition? ( http://forum.joomla.org/index.php/topic ... #msg568540 )

System info:
Joomla 1.0.12
Database version: mysql  Ver 12.22 Distrib 4.0.25, for pc-linux-gnu (i686)
PHP version: PHP 4.3.2 (cgi)
Web server: Server version: Apache/2.0.46
Browser: Firefox 2 & IE7

Thanks for any feedback,
Ben.
Last edited by ben-work on Thu May 24, 2007 11:43 pm, edited 1 time in total.

ben-work
Joomla! Apprentice
Joomla! Apprentice
Posts: 43
Joined: Mon Jan 09, 2006 10:48 pm

Re: Problem with special characters in meta title?

Postby ben-work » Thu May 24, 2007 11:42 pm

Sorry, this isn't a Joomla issue. I'd installed Joomsef, and although I'd disabled it I forgot about the system mambot - unpublish this and Joomla behaviour is the same as always. Will change the title to [NOT BUG], hope that's ok. Doh!

User avatar
Robin
Joomla! Master
Joomla! Master
Posts: 15753
Joined: Thu Aug 18, 2005 10:41 am

Re: [NOT BUG] Problem with special characters in meta title?

Postby Robin » Sat Jan 26, 2008 8:47 pm

Moving to resolved


Return to “Q&T 1.0.x Resolved”

Who is online

Users browsing this forum: No registered users and 1 guest