I have a module that contains one main index.php file which pulls a large number of html file into it depending on the link 'clicked'
The html files, for security are declared in an array thus
Code:
$ACCEPT_FILE = array();
$ACCEPT_FILE['index.html'] = 'index.html';
$ACCEPT_FILE['anotherfile.html'] = 'anotherfile.html';
|
This module consists entirely of static html pages and has no DB hook so I'm curious as to how I might create a content object for this.
Would I be better of creating a manual list of links and just dropping the into an new file in content/mymodule.php ?