Page Title seems to be working for all pages bar my homepage. On the Homepage it shows the quoted text '[site-name][site-slogan]'

I've looked at settings but all seems fine.

Comments

johnbentleyii’s picture

I changed the following line 33 in page_title/modules/page_title.page_title.inc from

    $pattern = variable_get('page_title_front', '[site-name] | [site-slogan]');</code

to

<code>    $pattern = variable_get('page_title_front', '[site:name] | [site:slogan]');

and it resolved the issue.

modctek’s picture

Confirmed the above fix works. (Minus the rogue code markup)

In short, replace the "-" (dashes) with ":" (colons). I spent about 2 minutes trying to figure out what was different between the two. :)

Anonymous’s picture

Does anyone know why this has not been fixed yet? It's a ridiculously tiny fix and without doubt should have been made by now. Judging by the last commit to the project and the last update to the dev version I suspect this module and it's issues are being ignored by it's maintainer. I would happily take up the reigns but cannot find a single bit of information on drupal.org that tells me how I would report the problems to a higher authority or simply gain access to make the changes.

Anyone got any ideas?

rachelf’s picture

Status: Active » Closed (fixed)

I've just downloaded the dev version of the module (7.x-2.x-dev, release date 2011-Feb-25). The fix is already in place in that version, and the page title works as expected on the home page. (It isn't fixed in the older 7.x-2.4-beta1 2010-Nov-02 version which is the current recommended release).

- And thanks for the clarification @modctek - I spent more than a couple of minutes trying to spot the difference until I read your reply ;-)

@_isos - take a look at the getting involved guide and in particular the issues queue page which has links to committing and submitting patches for modules, and how you can help test them.

Anonymous’s picture

Many thanks :)

AndrewJarvis’s picture

Thanks so much for this patch!

BeaPower’s picture

doesn't work even with the dev. I am using site.com/cars as the front page and only cars shows up in the page title