This section describes shortly the concepts of LFC. You will find more detailed information later in this documentation.
2.1. Content types¶
2.2. Sub objects¶
Every instance of an content object can have arbitrary sub objects which will build the content structure. Every content type can restrict the type of allowed sub types.
2.3. Images and Files¶
Every object can have an arbitrary amount of images and files. How they are displayed is up to the selected template.
The content of an object is displayed by templates. By default there are just a small bunch of templates (more can be added by developers):
Only the text is displayed: The user can add images with the WYSIWYG Editor
The first assigned image is displayed top left, the text flows around the image.
All assigned images are display as a 3x3 grid.
All sub pages are displayed as a list. The first image of the sub pages (if there is one) is displayed as thumbnail top left, the text flows around the image.
Every object can have so-called portlets, which are displayed in a slots. By default there is a left and a right slot and just a few portlets (more slots and portlets can be added by developers):
A portlet to display HTML structured text
A portlet to display the content structure as navigation tree
A portlet to display selected (by tags) pages
Portlets are inherited from parent pages but it is also possible to block parent portlets per slot.
Every page can have multiple translations.
By default all new objects are created in the default language and all translations are assigned automatically to the base canonical object, which has the advantage that the user is automatically redirected to the correct translation if he changes the language. But it is also possible to create completely independent page structures in different languages.
Additionally it is possible to create language neutral objects which are displayed independent on the current selected language.
Permissions are granted to roles (and only to roles) in order to allow specific actions (e.g. add content) for users or groups.
Roles are used to grant permissions. LFC comes with a several Roles by default (more can be added by users):
2.9. Local Roles¶
Local roles are roles which are assigned to users and groups for specific content objects.
- Users are actors which may need a permission to do something within LFC.
- Users can be members of several groups.
- Users can have several roles, directly or via a membership to a group (these are considered as global).
- Users can have local roles, directly or via a membership to a group. That is roles for a specific object.
- Users have all roles of their groups - global and local ones.
- Users have all permissions of their roles - global and local ones.
- Groups combines users together.
- Groups can have roles (these are considered as global).
- Groups can have local roles, that is roles for a specific object.
- Groups has all permissions of their roles - global and local ones.
- Users of a Group have the group’s roles and permissions.
A workflow consists of a sequence of connected (through transitions) states. The transitions can be restricted by permissions.
By default LFC comes with two workflows (more can be added by users and developers):
A simple workflow for smaller sites where only one or a few authors add content objects.
A workflow for larger sites where content is provided by several authors. Every content object must be submitted for review before it can be published.