Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
| info:concrete5:58:express [2020/02/14 07:45] – [c5ExpressPublications] radeff | info:concrete5:58:express [2024/08/20 05:45] (Version actuelle) – radeff | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| ====== express ====== | ====== express ====== | ||
| - | {{tag> | + | {{tag> |
| - | Le nouveau module génial de concrete5, qui vous permet de gérer | + | // |
| <note tip>Pour être tout à fait honnête, je préfère quand je peux utiliser de bonnes vieilles techniques robustes (p. ex. les attributs et les types de page, ou des tables SQL //ad hoc//), notamment par que j'ai des doutes sur la fiabilité d' | <note tip>Pour être tout à fait honnête, je préfère quand je peux utiliser de bonnes vieilles techniques robustes (p. ex. les attributs et les types de page, ou des tables SQL //ad hoc//), notamment par que j'ai des doutes sur la fiabilité d' | ||
| + | ===== Doc ===== | ||
| * https:// | * https:// | ||
| * https:// | * https:// | ||
| Ligne 12: | Ligne 12: | ||
| * https:// | * https:// | ||
| - | ===== Import | + | ==== Import ==== |
| * https:// | * https:// | ||
| * https:// | * https:// | ||
| - | ===== Programmatically Update Option List for Express Object Attribute | + | ==== Programmatically Update Option List for Express Object Attribute ==== |
| https:// | https:// | ||
| - | ===== Creating Express Objects programmatically | + | ==== Creating Express Objects programmatically ==== |
| | | ||
| - | ===== Express Form Theming | + | ==== Express Form Theming ==== |
| https:// | https:// | ||
| + | ==== Extraire des valeurs express ==== | ||
| + | <code php> | ||
| + | $c = Page:: | ||
| + | // Concrete\Core\Entity\Attribute\Value\Value\ExpressValue | ||
| + | $testExpressValue = $c-> | ||
| + | if ($testExpressValue) { | ||
| + | // array of Concrete\Core\Entity\Express\Entry | ||
| + | $testExpressEntryArray = $testExpressValue-> | ||
| + | // Concrete\Core\Entity\Express\Entry | ||
| + | $testExpressEntry = $testExpressEntryArray[0]; | ||
| + | // array of Concrete\Core\Entity\Attribute\Value\ExpressValue | ||
| + | $attributes = $testExpressEntry-> | ||
| + | foreach ($attributes as $attribute) { | ||
| + | // Concrete\Core\Entity\Attribute\Value\ExpressValue | ||
| + | echo '< | ||
| + | } | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | For anyone trying to work with images in Express objects: | ||
| + | |||
| + | <code php> | ||
| + | $photoFileObject = $entry-> | ||
| + | if (is_object($photoFileObject)) { | ||
| + | $photoFileObjectVersion = $photoFileObject-> | ||
| + | $photoRelativePath = $photoFileObjectVersion-> | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | source: https:// | ||
| + | |||
| ===== Tools perso ===== | ===== Tools perso ===== | ||
| + | Des outils express libres fait avec mes petites pognes | ||
| ==== c5ExpressPublications ==== | ==== c5ExpressPublications ==== | ||
| {{ : | {{ : | ||
| Ligne 33: | Ligne 65: | ||
| * https:// | * https:// | ||
| + | ==== C5ContactExpress ==== | ||
| + | A package to import a vcf/csv adressbook into concrete5' | ||
| + | * https:// | ||