function fillpdf_help in FillPDF 5
Same name and namespace in other branches
- 8.4 fillpdf.module \fillpdf_help()
- 6 fillpdf.module \fillpdf_help()
- 7.2 fillpdf.module \fillpdf_help()
- 7 fillpdf.module \fillpdf_help()
- 5.0.x fillpdf.module \fillpdf_help()
Implementation of hook_help().
File
- ./
fillpdf.module, line 13 - Allows mappings of PDFs to site content
Code
function fillpdf_help($section) {
switch ($section) {
case 'admin/help#fillpdf':
return '<p>After setting up your PDF-to-node mapping & you want to download the PDF,
you need to navigate to /fillpdf?fid=10&nid=10
where fid is the form id of the form you\'ve just created, and nid is the node
id whose content you\'ll be pulling via tokens. You can obtain fid from the URL
when editing your form. It will look like: http://localhost/admin/content/fillpdf/form/FID/...</p>';
case 'admin/content/fillpdf':
if (module_exists('help')) {
return t('See the !link for an explaination on dowloading these forms to PDF', array(
'!link' => l(t('Documentation'), 'admin/help/fillpdf'),
));
}
else {
return t('Activate the help module if you need an ' . 'explanation on downloading these forms to PDF.');
}
}
}