This seems like a simple question. I'd like to change the page title for the /node/add screen from 'Create A Page' to something like 'Create Content.' I've spent quite a while trying to figure this out but I've not found a setting or code patch or anything that seems to apply to this. Can anyone illuminate me?

Thanks.

Comments

spurrdog’s picture

Have you tried editing the content type name? /admin/content/node-type/page

taquil’s picture

That's for the things listed on the page, the different content types. I'm after the actual title/header on the page itself.

gjangelo’s picture

assuming that you are adding a new "page" content item, your path would be this....
node/add/page

so in your page template, test for that path in the url....

<h1 class="title">
<?php
$path = drupal_get_path_alias($_GET['q']);
$fs_refer = explode("/", $path);

if (($fs_refer[0] == "node") && ($fs_refer[1] == "add") && ($fs_refer[2] == "page")) {
echo "Create A Page";
} else {
echo $title;
}
?>
</h1>