I managed to figure out the settings for the page title module but when I changed the page title in the edit section for a specific page it does not show at the top of the page when I am on that page. It still shows the old settings. Please let me know if anyone has any tips on why this is not working. Thanks again.

Comments

robertdouglass’s picture

Make sure you read the instructions concerning adding code to your template.php file. If you have not done this, it won't work.

ben finklea’s picture

Title: Page Title not working » Same Problem
Version: 4.7.x-1.x-dev » 5.x-1.x-dev
Priority: Normal » Critical

I'm having the same problem. I copied the templates.php file from the page title installer to my template. The "Pattern for individual pages:" is the only variable that it's paying attention to. The "Pattern for front page:" is completely ignored.

Here is how I have my settings:
Pattern for individual pages:
Houston Landscaping Contractors | @site_name

Pattern for front page:
Houston Landscaping Contractor | @site_name

Note the "s" on "Contractors" that differentiates the two so you can easily see where it is pulling the title from.

The website url is: http://www.freshstartlandscapes.com/

johnalbin’s picture

Title: Same Problem » Title on homepage not working
Component: Miscellaneous » Code
Priority: Critical » Normal

Did your theme not have a template.php file before you copied it over from the page_title module?

Although the README.txt doesn’t mention it, page_title requires you to use a theme based on the PHP Template engine. Otherwise, it won’t work at all.

nicholasthompson’s picture

John - thanks for making the issue settings more relevant ;-)

sprysoft - what's on your frontpage? Is it a node? Is it the "default" 'node' path? Is it a View?

emdalton’s picture

How can I tell if my theme uses PHP Template? I thought it did, but this module isn't working for me.

emdalton’s picture

Never mind, it is working, it just doesn't do what I thought it did. (This modifies the page title in HTML, not the text that displays at the top of the page in the content area.) Sorry!

johnalbin’s picture

Status: Active » Closed (fixed)
Yura Filimonov’s picture

Category: support » feature
Status: Closed (fixed) » Active

On a slightly different topic, but still about configuring page title of the front page.

Currently, the module doesn't allow me to enter a different title for the homepage, but since it's the most powerful page of a website (usually), it basically kills a huge part of the benefits of the entire module.

Picture this:

Homepage has a title to fit between one or two columns (basically, short, readable and maybe using some common words) to engage the readers.

However, in the title tag I'd prefer to specify a keyword rich title to get more traffic, but I can't select !page_title using your module.

People don't search by the slogan. And when they do type in your company name, they mostly get your site, anyway.

Adding the option of using !page_title on the front page, even not set to default, would help a lot.

In short, I'd like to have "!page_title | !site_name" as a front page title, too. Others might benefit from "!site_name | !page_title", too.

Thanks.

nicholasthompson’s picture

Category: feature » support
Status: Active » Fixed

You dont HAVE to use tokens for the token template. You could just set the frontpage token template to a static string of your choice.

If you wanna expand upon this as a feature request - please open a new issue.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.