TSconfig
1.2.2. ->ADMPANEL
Configuration of the Admin Panel in the Frontend for the user.
|
Property: |
Data type: |
Description: |
Default: |
|---|---|---|---|
|
enable |
[object] |
Used to enable the various parts of the panel for users. All values are 0/1 booleans.
General: .all: enables all modules
Modules: .preview .cache .publish .edit .tsdebug .info |
(For admin-users, all = 1 is default! Hardcoded in class) |
|
hide |
boolean |
If set, the panel will not display in the bottom of the page. This has only a visual effect. |
|
|
override |
[object] |
Override all admin panel settings: .[modulename].[propertyname]
Note: You have to activate a module first by setting .modulename = 1
Full reference: To find out the name of a modulename/property, you can have a look at the HTML code of the admin panel and watch the names of the form elements. In this example, the module name is "tsdebug", and the property is called "displayTimes": name="TSFE_ADMIN_PANEL[tsdebug_displayTimes]"
Most common options .preview.showHiddenPages (boolean) .preview.showHiddenRecords (boolean) .preview.simulateDate (timestamp) .preview.simulateUserGroup (integer)
.cache.noCache (boolean) .cache.clearCacheLevels (integer)
.edit.displayFieldIcons (boolean) .edit.displayIcons (boolean) .edit.editFormsOnPage (boolean) .edit.editNoPopup (boolean) |
|
|
module.edit |
[object] |
DEPRECATED, use override.* instead (see above).
.forceDisplayIcons (boolean): Forces edit-panels to appear regardless of the selectorbox. .forceDisplayFieldIcons (boolean): Forces edit-icons to appear regardless of the selectorbox. .forceNoPopup (boolean): Forces edit-forms to open in same window - not pop up window.
Example, that forces the display of the edit icons without displaying the admin-panel itself:
admPanel { enable.edit = 1 module.edit.forceDisplayFieldIcons = 1 hide = 1 } |
|
[beuser:admPanel]
Tip:
If you want to link to the login-screen of the backend, but wishes that the user should return to the front-end for editing, you do it by this link, sending the "redirect_url" parameter to the login-screen. In that case the backend interface is not started.
<a href="typo3/index.php?redirect_url=../">Backend login returning to front-end</a>
This is how the admin panel looks. Notice the fact that the visibility of the admin panel is ultimately depending on being configured in your TypoScript template for the website! This is easily done by inserting this string in the TypoScript Template:
config.admPanel = 1
or if you use frames, this is probably better:
page.config.admPanel = 1
