submission guidelines not displaying
pwhite - February 20, 2008 - 11:47
| Project: | Node Family |
| Version: | 5.x-1.3 |
| Component: | Code |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Hi,
I have a node profile and the submission guidelines will not display - they will display on normal nodes and when you first create a node profile however when you access it through nodefamily/nodetype they will not display.
Thanks

#1
The code below works for me. Could be added to the module itself.
/**
* Implementation of hook_help().
*/
function nobleprog_help($section) {
if (arg(0) == 'nodefamily') {
$type = node_get_types('type', str_replace('-', '_', arg(1)));
return '
'. filter_xss_admin($type->help) .'
';
}
}