The objective of this mini-tutorial is to use a new feature of the universal module
-filtering items based on the value of a field FLEXIcontent
CAUTION available since R1742a FLEXIcontent
here's how it works:
Selecting items with MULTIPLE fields with the desired values
1
|
IDfield1##fieldValue%%IDfield2##fieldValue etc.
|
Item selection with value between the values in fields RANGE
1
|
IDfield1##FieldValue1---FieldValue2
|
Selecting items with values in an EVEN MORE FIELD
1
|
IDfield1##Fieldvalue1+++Fieldvalue2+++Fieldvalue3 etc
|
Now we can imagine that a full application system as whether an item is displayed in the module of our home page,
without leaving our item!Let our example
1 Creating a field RADIO yes / no
Think noted the values of yes (1) rather than (0) and the id field
Set as default value 0
Affect your field to the desired type
2 create an universal module FLEXIcontent
Choose your template (I recommend you use the carousel)
Choose categories if needs
In Static Field Filters: insert the desired filtering
In our example we want to display the items with a value of 1 for the radio field
simply
Finally define the fields displayed.
It's simple but extremely powerful!