Module development: Difference between revisions

Jump to navigation Jump to search
Line 319: Line 319:


=== Modify the descriptor file of your module ===
=== Modify the descriptor file of your module ===
Then, within the descriptor file of your module, modify the variable config_page_url to set name of this PHP page (without the path, which is not necesary if the page is inside directory admin).
Then, within the descriptor file of your module, modify the variable '''config_page_url''' to set name of this PHP page.
If the page is in the directory '''admin/''', then the path is not required, e.g. like this:
<source lang="php">
<source lang="php">
$this->config_page_url = array("mymodule_setuppage.php");
$this->config_page_url = array("mymodule_setuppage.php");
</source>
If the page is in the directory '''mymodule/admin''', then like this:
<source lang="php">
$this->config_page_url = array("mymodule_setuppage.php@mymodule");
</source>
</source>


304

edits

Navigation menu