@@ -11,11 +11,9 @@ When installed, run the database update and your MetaModels installation is done
11
11
12
12
.. note :: If you know that you don’t need all attributes and/or filter you can install every single package by it’s own.
13
13
14
- Your first MetaModel
15
- --------------------
16
-
17
14
Create MetaModels
18
- .................
15
+ -----------------
16
+
19
17
To get started with MetaModels we need at least one MetaModel, jai! We will build a small MetaModel, non translated,
20
18
MetaModel for real estate references.
21
19
@@ -29,7 +27,7 @@ In our example we need two MetaModels:
29
27
Create reference and category metamodels.
30
28
31
29
Create attributes
32
- .................
30
+ -----------------
33
31
34
32
An (empty) MetaModel is just a container for your data objects. But before you can store data in your MetaModel, you
35
33
need to define some types of data which you like to store.
@@ -106,8 +104,7 @@ blank, we’ll get back later.
106
104
:Attribute type: file
107
105
:column name: picture_highlight
108
106
:Name: Highlight picture
109
-
110
- Customize filetree (optional): select a „content“ folder where the reference pictures are stored
107
+ :Customize filetree (optional): select a „content“ folder where the reference pictures are stored
111
108
112
109
**Gallery **
113
110
@@ -147,7 +144,7 @@ Choose:
147
144
:Sorting: sorting
148
145
149
146
Create Rendersettings
150
- .....................
147
+ ---------------------
151
148
152
149
For now, we have two MetaModel with some attributes and a link between booth. But we didn’t want just to store some
153
150
data, we also like to display them.
@@ -221,7 +218,7 @@ Go to the „render settings“ of „reference“.
221
218
* After adding, activate „name“, „description“, „category“, „picture_highlight“, „picture_gallery“
222
219
223
220
Input Screens
224
- .............
221
+ -------------
225
222
226
223
For now there are two MetaModels with some Attributes and Rendersetting. But how do we get data in our MetaModels?
227
224
With input screens!
@@ -270,7 +267,7 @@ In the grouping & sorting section you need to create at least one object to sort
270
267
For example: "Enable manual sorting" without grouping.
271
268
272
269
View conditions
273
- ...............
270
+ ---------------
274
271
275
272
View conditions are the easy part in MetaModels. But, you might guess that you also need here at least one to get things
276
273
work.
@@ -292,7 +289,8 @@ Define one view condition with following settings:
292
289
.. info :: Wasn’t it a good Idea to prefix our input screens and render setting? ;-)
293
290
294
291
We are ready to enter Data
295
- ..........................
292
+ --------------------------
293
+
296
294
Some time ago, we started with just a MetaModels package and already arrived to create data. Easy, hm?
297
295
298
296
Continue to the new „Referenz“ entry in your „content“ navigation and add a first item.
0 commit comments