Closed (fixed)
Project:
Page Title
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 Dec 2006 at 19:08 UTC
Updated:
31 Jul 2008 at 04:46 UTC
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
Comment #1
robertdouglass commentedMake sure you read the instructions concerning adding code to your template.php file. If you have not done this, it won't work.
Comment #2
ben finklea commentedI'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/
Comment #3
johnalbinDid 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.
Comment #4
nicholasthompsonJohn - 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?
Comment #5
emdalton commentedHow can I tell if my theme uses PHP Template? I thought it did, but this module isn't working for me.
Comment #6
emdalton commentedNever 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!
Comment #7
johnalbinComment #8
Yura Filimonov commentedOn 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.
Comment #9
nicholasthompsonYou 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.
Comment #10
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.