Using your custom module
After you have defined, installed and activated your custom module, you can use it to create content in the backend and display the created content on your website. Your custom module appears under the Content tab and a widget appears in page editing mode under the Content widgets group. You use your module to create custom content items. The fields you have defined for the custom module appear when you create a custom content items.
Creating and editing custom content items
You manage the custom content items on a separate page dedicated to the module.
To open the page, in the main menu in the upper part of the screen, click Content » <Your module name>.
The <Module name> page appears, displaying a list of all created content types together with actions you can perform on them. You can manage what columns and information the page displays. For more information, see Editing the module and the module screens.
Use this page to create, edit, and manage custom content types.
Section contents
On this page you can do the following:
Permissions for custom content items
You can set permission for all custom content items and you can set individual permissions for each item.
To change the permissions for all items, on your custom module page, click Permissions link in the right side of the page.
The Permissions page appears.
For more information about changing permissions, see
Changing global and section permissions » Step 2 to Step 4.
For more information about setting individual permissions, see
Changing permissions of an individual item.
Displaying custom items on your website
To display custom items on your website, the system generates a separate widget for these content items. It is added to the Content widgets group.
For more information, see Configuring custom module widgets.
For more information about adding widgets on your page, see Adding widgets on your page.
You can then choose the way items are displayed by changing the template which the widget uses.
For more information, see
Creating and editing widget templates.
Working with the module programmatically
If you are developer, you can use the code reference for each module. It contains code examples for the most common operations you can perform with the module.
-
To view the code samples, click Administration » Module Builder.
-
In the list of all created modules, click the module, whose code reference you want to see.
-
Click Code reference for <module name> link.