Child pages
  • Adding a configuration page

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


But having a getContent() public method in the MyModule object does only make the “Configure” link appear; it does not create the configuration page out of nowhere. We are going to explain how to create one, where we will be able to edit the content of the MYMODULE_NAME variable that we stored in the ps_configuration data table.

Table of Contents

The getContent() method

First, here is the complete code for the getContent() method: