12 - Template content item view
Now we will discover one of most important part of flexicontent, templating system. In flexicontent we had 2 types of template :
- Item view, display only one item
- category view, display a list of items
Each template use this system
- Got to template admin
- Each line is a template
- Item view
- Category view
As you can see you can duplicate any template to create yours !
Now all your code modifications are saved, no update !
In this tutorrial we discover the basic approach, without editing anything and discover how to use setting to create a good display
Lets start with item view, we will use TABLE template, basic but powerfull template awith many position and tab function
Assign template to item
- Got to your type
- Edit Estate
- Go to Layout tab
- Choose Table template in dropdown
Do nothing in option we will check it in template directly, you can do it for all other type if you want
Item view
For simplier display we will use only one item view for all type
- Editing table display
In fields placement you can drag and drop field in position ! that it !
that display field in desire position we can't do more easier i think !
now we will check the global setting for this template
- Go to display parameters
- Set html5 version (this option will be remode its an old params)
- Got title tab
- Set color of title
I didn't take time to discover all options, just play with it !
now title have the good color
After this we will modify label display
- Go to label tab
- Set color of text
- Set background color
- And play with space arround text for better display
Result
And now we can setup display for specific position
Tabs display
Got to field positions
- Tabbed tab
- Set background color of tab
- Set color of title
- Play with other option for best display
Result
Note you can set title of each tab here
Now we will customize top and bottom part
- Go to top and bottom position
- Choose the top width, this value create the size of image regarding to left position, full with is 12, if i set 3 image can have 9 unit to display
- Set the number of column, this setting display field in 1 or 2 columns in the position
- Set padding in position
- Set color of position
- Set border radius
- Set border width
- Set border color
Result
Doing the same thing for bottom position like this to remove some border
Now you will have an Estate view like this
And responsive !