This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
en:dev:284:helloworld [17.08.2015 21:03] – [The files of addons of type 'page'] mrbaseman | en:dev:284:helloworld [17.08.2015 21:15] – [The files of addons of type 'page'] finished translation of this section mrbaseman | ||
---|---|---|---|
Line 212: | Line 212: | ||
A so-called ' | A so-called ' | ||
For these files, the following rule applies: | For these files, the following rule applies: | ||
- | :!: **// | + | :!: **// |
- | + | ||
- | Gehen Sie grundsätzlich immer von der Annahme aus, dass diese Dateien innerhalb einer Funktion/ | + | |
- | [[dev: | + | |
- | Ein Page-Addon benötigt wenigstens eine Basis-Tabelle in der Datenbank. Die Tabelle muss nach dem Muster: mod_AddonName benannt werden und muss zumindest ein Integer Datenfeld für die SectionId enthalten. | + | |
- | + | ||
+ | Always assume that the files are called from inside a function/ | ||
+ | [[dev: | ||
+ | A Page addon requires at least one base table in the database. The table must be according to the pattern: it must be named mod_AddonName and have at least an integer data field included for SectionId. Each record in this table associates an instance of the addon with a Section. More fields can contain standard settings of the addon instance, for example. | ||
==== add.php (erforderlich) ==== | ==== add.php (erforderlich) ==== | ||