Actions in the text:
Inserting images in the textInsert an image which is in the library by typing this wiki syntax: { { URL of your image } }
Add : Height and width to create spaces in text before the load of the image
Example: blabla… blabla { { media / image.jpg } } blabla…
blabla… blabla { { media / image.jpg ? 470 x 500 } } blabla…
=> Editing: library toolbox
Actions linked to words:Again, use a wiki syntax so that a word is clickable and a command is executed when you click on it, such as a link or a download occurs.
[ [ commande1 | commande2 | click me!!! ] ]
"click me!!!" : the clickable words. It is always located after the last pipe symbol ("|") (Alt Gr+6)
Ex : blabla [ [ http://domain.com | follow this link ] ] blabla…
blabla [ [ http://domain.com | { { media / image.jpg } } ] ] blabla…
=> image.jpg has to be in the librairy
blabla [ [ open: start / my.page | click here ] ]
=> the command "open:" open a page created
in these examples, clicking on the text or the image will open the silex website in a new window.
=> Actions: Commands list
Accessors in the textAccessors are used to display values in text fields.
Insert accessors like this:
blabla < < silex.variable1 > >
Example:
blabla < < silex.utils.DAY > > blabla
displays: blabbla tuesday blabla if today is tuesday and if the language is English
see the accessors list:
=> Actions: SILEX accessors
also use this tutorial:
=> Tutorials: tutorial on accessors