function page_title_help in Page Title 5
Same name and namespace in other branches
- 8.2 page_title.module \page_title_help()
- 5.2 page_title.module \page_title_help()
- 6.2 page_title.module \page_title_help()
- 6 page_title.module \page_title_help()
- 7.2 page_title.module \page_title_help()
- 7 page_title.module \page_title_help()
Implementation of hook_help().
File
- ./
page_title.module, line 16 - Enhanced control over the page title (in the head tag).
Code
function page_title_help($section) {
switch ($section) {
case 'admin/help#page_title':
$output = t('<p>Adds an extra form element to node creation forms that allows you to specify the page title.</p>
<p>Allows for better global configuration of the page title.</p>');
break;
case 'admin/settings/page_title':
$output = t("<p>The default page title follows one of two patterns:</p>\n <ol><li><em>page title</em> | <em>site name</em></li>\n <li><em>site name</em> | <em>site slogan</em></li></ol>\n <p>#1 is the common case where the visitor is viewing a specific page whereas #2 is used at least for the default front page (<em>node</em>).</p>\n <p>The page_title.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 node creation form, you can have the option of specifying a title that is different than the title of the node. If a value is provided, this will be used to generate the <code>!page_title</code> placeholder. If left blank, <code>!page_title</code> will be the node's title, as is now the case.</p>");
break;
}
return $output;
}