TSref/EDITPANEL
From TYPO3Wiki
| TypoScript Referenz - EDITPANEL |
|
||||
This content object is inserted only if a backend user is logged in and if that user has enabled “Display Edit Icons” in the front end Admin Panel. If the edit panel is inserted, page caching is disabled as the edit panel offers editing feature only available for backend users.
The edit panel inserts icons for moving, editing, deleting, hiding and creating records.
| Property: | Data type: | Description: | Default: |
| label | string |
Title for the panel. You can insert the record title with %s Example: Section: %s |
- |
| allow | string | Define which functions are accessible. Further this list may be reduced, if the BE_USER does not have permission to perform the action
Values should be listed separated by comma. This is the options you can choose between: toolbar,edit,new,delete,move,hide (toolbar is a general list of icons regarding the page, so use this for pagerecords only) |
- |
| newRecordFromTable | string | Will display a panel for creation of new element (in the top of list) on the page from that table. |
- |
| newRecordInPid | int | Define a page ID where new records (except new pages) will be created. |
- |
| line | boolean / int | If set, a black line will appear after the panel. This value will indicate the distance from the black line to the panel |
- |
| edit.displayRecord | boolean | If set, then the record edited is displayed above the editing form. |
- |
| onlyCurrentPid | boolean | If set, only records with a pid matching the current id (TSFE->id) will be shown with the panel. |
- |
| innerWrap | wrap | Wraps the edit panel |
- |
| outerWrap | wrap | Wraps the whole edit panel including the black line (if configured) |
- |
| previewBorder | boolean / int | If set, the hidden/starttime/endtime/fe_user elements which are previewed will have a border around.
The integer value denotes the thickness of the border |
- |
| previewBorder.innerWrap
previewBorder.outerWrap previewBorder.color
| wrap / HTML color | innerWrap wraps the content elements (including the icons) inside the preview border (an HTML table).
outerWrap wraps the whole content element including the border. color denotes the color of the border. |
-
|
[tsref:(cObject).EDITPANEL]
