The editables are placeholders in the templates, which are input widgets in the admin (editmode) and output the content in frontend mode.
- Area (since 1.4.3)
- Areablock (since 1.3.2)
- Block
- Checkbox
- Date
- Href (1 to 1 Relation)
- Image
- Input
- Link
- Multihref (since 1.4.2)
- Multiselect
- Numeric
- Renderlet
- Select
- Snippet (embed)
- Table
- Textarea
- Video
- WYSIWYG
General
Most of the editables use ExtJS widgets, these editables can be also configured with options of the underlying ExtJS widget.
For example:
<?php echo $this->input('iframe_src', array( 'grow' => true, 'cls' => 'my-css-class' )); ?>
You can also use Zend_Json_Expr to add "native" Javascript to an editable:
<?php echo $this->input('iframe_src', array( 'validator' => new Zend_Json_Expr(' function(value){ if(value.match(/http:.*/)){ return true; }else{ return "invalid"; } }') )); ?>
Labels
Page:
Areablock (since 1.3.2)
Page: Area (since 1.4.3)
Page: Block
Page: Checkbox
Page: Date
Page: Href (1 to 1 Relation)
Page: Image
Page: Input
Page: Link
Page: Multihref (since 1.4.2)
Page: Multiselect
Page: Numeric
Page: Renderlet
Page: Select
Page: Snippet (embed)
Page: Table
Page: Textarea
Page: Video
Page: WYSIWYG
Page: Area (since 1.4.3)
Page: Block
Page: Checkbox
Page: Date
Page: Href (1 to 1 Relation)
Page: Image
Page: Input
Page: Link
Page: Multihref (since 1.4.2)
Page: Multiselect
Page: Numeric
Page: Renderlet
Page: Select
Page: Snippet (embed)
Page: Table
Page: Textarea
Page: Video
Page: WYSIWYG
Comments (1)
Oct 28, 2010
Tim Glabisch says:
have a look at the pimcore\models\Document\Tag folder, all classes are here...have a look at the pimcore\models\Document\Tag folder, all classes are here. if you use in the template the $this->[some tag] function, pimcore looks for a Document_Tag_[some tag] class and create an instance. you can create new tags (or extend, ...) using the same folder structure in plugins. have a look at Zend_Autoloading.