Data Management Made Easy Using Nennius: Advanced Data Handling - Help Files
(Page 7 of 8 )
We may also want to provide our moderators with basic instructions on how to properly create news entries and regulate comments. We may do this by creating basic HTML help files (we'll call ours 'news.htm' and 'comments.htm') and specifying their location within our descriptor files as well. Let's start by creating the help files and placing them within a new directory named '/help/'. For our 'news.htm' file, insert the following content:
The <strong>News Management</strong> page allows ADMINs to create and modify news releases.
<br><br>
Images may also be attached to releases to create a photo gallery.
Next we will need to tell Nennius which help file to use. We can do this by appending the following to our '/descriptors/news.php' file:
# specify location of help & support file for component
$GLOBALS['g_optional_help_file'] = 'help/news.htm';
Now that we've set up our News help file, try creating your own help file for the Comments component and then tie it into the system using that component's descriptor file.
Next: File Attachments >>
More MySQL Articles
More By Brian Vaughn