function smart_paging_help in Smart Paging 7.2
Same name and namespace in other branches
- 7 smart_paging.module \smart_paging_help()
Implements hook_help().
File
- ./
smart_paging.module, line 1633 - Provides smart paging capability to Drupal contents.
Code
function smart_paging_help($path, $arg) {
switch ($path) {
case 'admin/help#smart_paging':
return '<p>' . t('Provides splitting up long Drupal content into sub pages by number of characters/words or by
a placeholder HTML tag. Smart Paging feature can be applied only to CCK fields (with text format)
of node, user and taxonomy term entities (Note: "Description" field of taxonomy term is not a CCK
field). URL for sub pages made more SEO friendly and works even for aliased URL path. The user has
more control over Smart Paging configuration. An option is provided at "Manage Display" page of an
entity type whether to control Smart Paging display behavior during content editing or at "Manage
Display" page itself. Weight and visibility of Smart Paging can also be controlled at "Manage
Display" page of an entity type.') . '</p><p>' . t('It splits complex HTML markup content more accurately:') . '</p><div class="messages"><pre>
<div class="text-important">
<p class="info">
Long content paragraph...
<!--pagebreak-->
Continuation of long content paragraph.
</p>
<ul class="text-note">
<li>List #1</li>
<li>Long list #2...
<!--pagebreak-->
Continuation of long list #2</li>
<li>List #3</li>
</ul>
</div></pre></div>
<p>into this...</p>
<p>' . t(' - Page 1 - ') . '<br />
http://www.example.com/node/1</p><div class="messages"><pre>
<div class="text-important">
<p class="info">
Long content paragraph...
</p>
</div></pre></div>
<p>' . t(' - Page 2 - ') . '<br />
http://www.example.com/node/1/page/0/1</p><div class="messages"><pre>
<div class="text-important">
<p class="info">
Continuation of long content paragraph.
</p>
<ul class="text-note">
<li>List #1</li>
<li>Long list #2...</li>
</ul>
</div></pre></div>
<p>' . t(' - Page 3 - ') . '<br />
http://www.example.com/node/1/page/0/2</p><div class="messages"><pre>
<div class="text-important">
<ul class="text-note">
<li>Continuation of long list #2</li>
<li>List #3</li>
</ul>
</div></pre></div>';
break;
}
}