@@ -27,6 +27,9 @@ function page_title_help($section) {
<p>#1 is the common case where the visitor is viewing a specific page whereas #2 is used for the default front page.</p>
<p>The <strong>Page title</strong> module lets you change these defaults in two ways. First, you can adjust the patterns below using the placeholders given. This will change the way the default page titles are created. Second, on every content creation form, you can have the option of specifying a page title that overrides the default.</p>");
break;
case'admin/content/page_title/types':
$output=t("<p>By default, a “Page title” field will be displayed (just below the “Title” field) on every content type’s creation form. You may hide this field for each content type below.</p>");
break;
}
return$output;
}
...
...
@@ -53,6 +56,23 @@ function page_title_menu($may_cache) {
'access'=>user_access('administer page titles'),
'type'=>MENU_NORMAL_ITEM,
);
$items[]=array(
'path'=>'admin/content/page_title/settings',
'title'=>t('Default settings'),
'description'=>t('Control the page title settings.'),
'access'=>user_access('administer page titles'),
'type'=>MENU_DEFAULT_LOCAL_TASK,
'weight'=>-10,
);
$items[]=array(
'path'=>'admin/content/page_title/types',
'title'=>t('Content type settings'),
'description'=>t('Control the display of the Page title field.'),