Skip to content

Commit 39be42c

Browse files
committed
Further reformatting.
1 parent 804c186 commit 39be42c

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

manual/first-metamodel.rst

+9-11
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,9 @@ When installed, run the database update and your MetaModels installation is done
1111

1212
.. note:: If you know that you don’t need all attributes and/or filter you can install every single package by it’s own.
1313

14-
Your first MetaModel
15-
--------------------
16-
1714
Create MetaModels
18-
.................
15+
-----------------
16+
1917
To get started with MetaModels we need at least one MetaModel, jai! We will build a small MetaModel, non translated,
2018
MetaModel for real estate references.
2119

@@ -29,7 +27,7 @@ In our example we need two MetaModels:
2927
Create reference and category metamodels.
3028

3129
Create attributes
32-
.................
30+
-----------------
3331

3432
An (empty) MetaModel is just a container for your data objects. But before you can store data in your MetaModel, you
3533
need to define some types of data which you like to store.
@@ -106,8 +104,7 @@ blank, we’ll get back later.
106104
:Attribute type: file
107105
:column name: picture_highlight
108106
: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
111108

112109
**Gallery**
113110

@@ -147,7 +144,7 @@ Choose:
147144
:Sorting: sorting
148145

149146
Create Rendersettings
150-
.....................
147+
---------------------
151148

152149
For now, we have two MetaModel with some attributes and a link between booth. But we didn’t want just to store some
153150
data, we also like to display them.
@@ -221,7 +218,7 @@ Go to the „render settings“ of „reference“.
221218
* After adding, activate „name“, „description“, „category“, „picture_highlight“, „picture_gallery“
222219

223220
Input Screens
224-
.............
221+
-------------
225222

226223
For now there are two MetaModels with some Attributes and Rendersetting. But how do we get data in our MetaModels?
227224
With input screens!
@@ -270,7 +267,7 @@ In the grouping & sorting section you need to create at least one object to sort
270267
For example: "Enable manual sorting" without grouping.
271268

272269
View conditions
273-
...............
270+
---------------
274271

275272
View conditions are the easy part in MetaModels. But, you might guess that you also need here at least one to get things
276273
work.
@@ -292,7 +289,8 @@ Define one view condition with following settings:
292289
.. info:: Wasn’t it a good Idea to prefix our input screens and render setting? ;-)
293290

294291
We are ready to enter Data
295-
..........................
292+
--------------------------
293+
296294
Some time ago, we started with just a MetaModels package and already arrived to create data. Easy, hm?
297295

298296
Continue to the new „Referenz“ entry in your „content“ navigation and add a first item.

0 commit comments

Comments
 (0)