All posts in the topic Modify <title> on a specific page (Short link)
Summary
- There are 3 posts — by 2 authors — in this topic.
- Latest post made by dwipper at Nov 25 23:03 UTC
The overall site "Title/Heading" is set in the Admin under "General Settings",
i.e. the <title></title> tag on each page. In order to get some SEO for a
specific page, I would like to change the <title> tag for that specific page.
I haven't been able to figure out where to make that change so it only effects
the specific page, i.e. groups_home.php.
Any help would be greatly appreciated!
in the current pre7 builds (and before) yiz can have a look at the
various web/*.php files.
The lne you are looking for looks like this one:
$page = new PageRenderer("setup_module", PAGE_GROUP, "Group:
".$group->title,
"container_three_column.tpl",'header_group.tpl',PRI,HOMEPAGE,$network_info,NULL,$setting_data);
See here the third parameter: "Group: ".$group->title
You can customize that to your heart's desire.
If you need more control... I guess the only way would be to hack the
PageRenderer.php class that actually creates the HTML header...
Hope that helps,
-Martin
dwipper schrieb:
> The overall site "Title/Heading" is set in the Admin under "General
Settings", i.e. the <title></title> tag on each page. In order to get some SEO
for a specific page, I would like to change the <title> tag for that specific
page.
>
> I haven't been able to figure out where to make that change so it only
effects the specific page, i.e. groups_home.php.
Thanks. Works Great!