 |
 |
 |
 |
 |
 |
 |
|
 |
 |
 |
 |
 |
|
|
|
|
Lookup Modules
|
|
|
Lookup modules allow you to connect content modules with each other. In the lookup module only a select box with the content of the appropriate module appear.
|
|
 |
|
|
 |
 |
 |
 |
 |
|
|
|
|
Create a new Lookup module
|
|
|
Choose the register "develop" in the jmuffin control panel. Underneath "Modul Lookup" choose "new module". |
|
|
|
 |
|
|
 |
 |
 |
 |
 |
|
|
|
|
Indicate a title and a code for the lookup module (important: no special characters or white spaces).
|
|
|
|
|
 |
|
|
 |
 |
 |
 |
 |
|
|
|
|
|
|
Fields give the sense to a lookup module. In our example "Address" we only need one field to edti an address. It would also be possible to create a seperate field for each address element (name, address, city, etc.) You can create as many fields as you need. |
|
 |
|
|
 |
 |
 |
 |
 |
|
|
|
|
Connect a content module to a lookup module
|
|
|
Next we need a content module which is used as a container for the lookup module. For better understanding, let's create a new content module (see "create content module"). Of course, lookup modules can also be integrated in complex existing content modules. |
|
|
|
 |
|
|
 |
 |
 |
 |
 |
|
|
|
|
In the new content module, we now do need a field type "Modul Lookup":
|
|
|
|
|
 |
|
|
 |
 |
 |
 |
 |
|
|
|
|
Click on the field just created to get to the field definitions.
|
|
|
|
|
 |
|
|
 |
 |
 |
 |
 |
|
|
|
|
Choose the lookup module that you wish to connect with the content module.
|
|
|
|
|
 |
|
|
 |
 |
 |
 |
 |
|
|
|
|
Your lookup module now is connected with the content module. Insert the content module "address" into your frmework (layout template). Create your entries and select the one you like:
|
|
|
|
|
 |
|
|
 |
 |
 |
 |
 |
|
|
|
|
Remarks
|
|
|
Don't forget to give yourself permission for the modules you created.
It is also possible to connect multiple lookup modules with each other. There's no limit to your creativity!
Lookup modules remarkably enhance the functionality of jmuffin. They allow the redactor to enter some data directly.
|
|
 |
|