Added following options:
Property: | Datatype: | Description: | Default: |
|---|---|---|---|
mod.SHARED.new_content_wizard | string | Makes possible to use two different content element wizard, another for the standard page module and another for TemplaVoila. Possible values: standard and TemplaVoila. If invalid value has been set, the definition has been ignored. In order to work need 'enable.febeuserauthentication' and 'enable.list' enabled. Normally TemplaVoila overrides the standard content element wizard, when in practice the standard page module can't anymore used. This TS allows to use in one branch full working standard page module and in another branch TemplaVoila, when it is easy to test alternatives. Note. Works only in normal backend editing. Corresponding setting for frontend editing needs 'pixe_feediting 2.x+' installed. | not set |
mod.web_layout.limitToRootlines | string | If allowed to show using the advanced page handling content for the page type 'shortcut' (4) can show in certain branches. Comma separate list of uid values of pages. Note that corresponding setting for TS Config for users/user groups takes precedence over TS Config for pages. | not set |
backend.list.fixedL | integer | The maximum length of titles in Web > List module. | 30 |
In the first screenshot the following features has been disabled with this default TS Config:
mod.web_layout {
disableSearchBox=1
disableAdvanced=1
disableBigButtons=1
noCreateRecordsLink=1
}
options.shortcutFrame=0
options.mayNotCreateEditShortcuts=1
Everything disabled/changed in the screenshot can be set with extended TS Config for users/users groups.
Added generic module configuration features:
Property: | Datatype: | Description: | Default: |
|---|---|---|---|
options.disableHelpModule | boolean | Disables the help module (works if [enable.allow_disable_helpmenu] has been enabled). | not set |
setup.override.allowAdminFunctions | boolean | Allows for non-admin users admin functions to clear BE and FE cache (works if [enable.allow_disable_helpmenu] has been enabled). | not set |
Mod.SHARED has also some following user/user group related options:
Property: | Datatype: | Description: | Default |
|---|---|---|---|
extraTabBar | boolean | Adds additional tab bar for page module and for frontend editing editing for editing page, page overlay and content records. Adds the tab set (main tabs are Contents, Properties and Preview) into backend for Web > Page and Web > View modules. Enables switching between seeing content elements in the page, page properties and preview of pages. When individual content element has been edited, this set is visible. Supports both the classic page module and TemplaVoila. Below screen capture, if used with skin_grey_2 and extra tabs.
| not set |
Note. Look at also manual for 'tm_shared_lib' and 'pixe_feediting', which explains some extra shared option.
'Mod.web_layout' has been extended with the following new options (note that some of them relate with skin_grey_2):
Property: | Data type: | Description: | Default: |
|---|---|---|---|
Common for all modes | |||
disableUserSetup | boolean | Controlling from User > Setup disabled | not set |
disableTopEditIcon | boolean | Disables the icon 'Edit Page Header' on the top-right corner of the view. Note. Not in Typo3 4.2 and newer (the icon doesn't exist). | not set |
disableFuncMenu | boolean | Disables the function menu on top (see below mod.web.layout.menu.function). | not set |
textTopFuncMenu | boolean | Instead of SELECT-menu top menu on the right use text buttons. This can be controlled also from personal setup. If personal setup is allowed it takes precedence over this value. Note. In Typo3 4.2 and newer problematic to use because of space problems. | not set |
disableLangMenu | boolean | Disables the language menu on top left. | not set |
For 'Columns' , 'Languages' and 'Page information' modes | |||
disablePathInfo | boolean | Disables the path info. This can be controlled also from personal setup. If personal setup is allowed it takes precedence over this value. Note. Not in Typo3 4.2 and newer. | not set |
For 'Columns' and 'QuicEdit' modes | |||
allowContentForSpecialDoktypes | string | If the advanced page type handling has been enabled, possible define list, for which page types content should always show in Columns and QuickEdit modes. Comma separate list of integer values of pages. | not set |
limitToRootlines | string | If allowed to show using the advanced page handling content for the page type 'shortcut' (4) can show in certain branches. Comma separate list of uid values of pages. Takes precedence over TS Config for pages. | not set |
For 'Column' mode only | |||
disableToolbar | boolean | Disables the whole toolbar , which is below the path info (in newer Typo3 versions this has also default option 'disableIconToolbar'). | not set |
disabledTables | string | Disables record types, which can show in the Columns view; comma separated list. | not set |
disableAJAX | boolean | If AJAX for backend has been allowed it can be disabled from some users/ user groups. | not set |
disableToolbarButtonsColView | string | Disables buttons from the toolbar; comma separated list and possible values are: view, history_page, new_content, move_page, move_record, new_page, edit_page, shortcut, cache, record_list Note. Changed after 3.0.6 ('view', 'shortcut', 'cache' and 'record_list' are only for Typo3 4.2 and newer). | not set |
disableEditWholeColumn | boolean | Disables the 'Edit this column' button for editing all content elements of the column. | not set |
toolbarIconMode | integer | Alternative style for toolbar icons (look at styles from topNewIconMode). This can be controlled also from personal setup. If personal setup is allowed it takes precedence over this value. Note. Not in Typo3 4.2 and newer. | not set |
buttonOrder | string | Comma separated list of the order of content element related buttons | edit, new, move, hide, delete, copy, cut, paste |
topNewIconMode | integer | Alternative style for icon to create a new content element to the top of columns (0 = icon only; 1 = text only; 2 = icon left text right; 3 = text left icon right; 4 = icon left text right and they can be set with CSS to look like a button (like in the screen capture below). This can be controlled also from personal setup. If personal setup is allowed it takes precedence over this value. If used personal setup all action links has the same style. | not set |
editColumnIconMode | integer | Alternative style for possible edit whole column link on the top of columns (look at styles from topNewIconMode). This can be controlled also from personal setup. If personal setup is allowed it takes precedence over this value. If used personal setup all action links has the same style. | not set |
topPasteIconMode | integer | Alternative style for possible paste link on the top of columns (look at styles from topNewIconMode). This can be controlled also from personal setup. If personal setup is allowed it takes precedence over this value. If used personal setup all action links has the same style. | not set |
totalWidth | integer | Sets mimimum width for each columns | 153 |
disableBigbuttonSet | string | Disables individual buttons if the option showBigButtons is enabled (added because the option showBigButtons is too rough); comma separated list and possible values are: edit_page, edit_pageoverlay, move_page,new_page,new_content,edit_rte,new_if_nocontent. | not set |
disableColViewEditingButtons | string | Disables editing buttons; comma separated list and possible values are: move, new, hide, delete, copy, cut, paste, clear_clipboar (edit is not possible to disable because it is not reasonable to hide). Note. The value 'clear_clipboard' relates with an extra button, which clears the clipboard and takes of paste links, because it is not obvious how to take them off. Paste links can be taken off also clicking the same copy link twice and if that is known the extra button is not necessarily needed. Pasting after cutting operation, paste links disappear automatic. | not set |
editIconMode | integer | Alternative style for edit icons inside each columns (look at styles from topNewIconMode). This can be controlled also from personal setup. If personal setup is allowed it takes precedence over this value. If used personal setup all action links has the same style. | not set |
disableInfo | string | Makes possible to define, what extra information will be hided; comma separated list and possible values(field names) are: sys_language_uid, ctype, date, hidden, starttime, endtime, fe_group, spacebefore, spaceafter, section_frame, sectionindex, linktotop (note that field names are in lowercase'). | not set |
combineInfo | boolean | Extra information has been put into the same row if possible without extra line breaks. This can be controlled also from personal setup. If personal setup is allowed it takes precedence over this value. | not set |
infoBelowElement | boolean | Puts some content element related information after the sample text of the content element (for example date, index and hidden). This can be controlled also from personal setup if not explicitly disabled with the option disableInfoBelowElement or disableUserSetup. If personal setup is allowed it takes precedence over this value. | not set |
disableInfoBelowElement | boolean | Disables the possible info below content elements (meaningful only with the above option – 'disableInfo' is not needed). | not set |
TemplaVoilaStyle | boolean | Makes individual content elements in the Columns view resemble as much as possible TemplaVoila. Ctype information is among the sample text. Button creating new content elements after existing content elements is after the sample text. This can be controlled also from personal setup. If personal setup is allowed it takes precedence over this value. | not set |
extraHeaderInfo | boolean | If the previous option has been enabled makes possible to add some extra infromation, if the header is empty or it is hidden. | not set |
headerLenght | integer | Maximum width for the header, when TemplaVoilaStyle has been set (prevents headers wrapping into several lines. | not set |
For 'Quick Edit' mode only | |||
ElementSelectorRight | boolean | Positions the element selector on the right side of buttons. This can be controlled also from personal setup. If personal setup is allowed it takes precedence over this value. Note. Not in Typo3 4.2 and newer (element selector is always on the right side). | not set |
disableElementSelector | boolean | Disables the element selector. | not set |
disableToolbarButtonsQuickEdit | string | Disables buttons from the toolbar; comma separated list and possible values are: savedok, savedokshow, closedok, deletedok, undo, history_record, history_page, new_content, edit_page, new_content, move_page, move_record, new_page, shortcut, cache, record_list Note. Changed after 3.0.6 ('shortcut' , 'cache' and 'record_list' are only for Typo3 4.2 and newer)! | not set |
toolbarQEIconMode | integer | Alternative style for toolbar icons (0 = icon only; 1 = text only; 2 = icon left text right; 3 = text left icon right; 4 = icon left text right and they can be set with CSS to look like a button. This can be controlled also from personal setup. If personal setup is allowed it takes precedence over this value. Note. Not in Typo3 4.2 and newer. | not set |
disableRTEcheckbox | boolean | Disables the checkbox to select if RTE can be disabled. | not set |
disableLinkQEMoveRecord | boolean | Disables the link (on the bottom of the view) 'Move Content Element'. Note. Not in Typo3 4.2 and newer. | not set |
allowUnsetQE | boolean | Even if new page type handling has been enabled, opening some page type switches the page into Columns mode. | not set |
For 'PageInformation' only | |||
webInfoList | string | Defines what fields are listed in Page information in WWW > Info and WWW > Page modules. Comma separated list. Reset entirely the information, which might come after 'Last change, content:' | not set |
Notes.
I have added possibility to enable/disable big buttons in columns view using personal user setup. That overrides 'disableBigButtons' if 'disableUserSetup' is not '1'. By defining disableBigButtons can set the default value before any personal user setup has been saved. The same concerns also other options, which can control by personal user setup. Even if they normally override TS Config for users/user groups it might however be reasonable to define default values using TS config for users/user groups.
The following setting doesn't disable the Quick Edit mode:
mod.web_layout.menu.function {
0 = 0
}
It must be set:
mod.web_layout.menu.function.0 = 0
I have extended TS Config 'mod.xMOD_alt_doc' with the following new options:
Property: | Datatype: | Description: | Default: |
|---|---|---|---|
newContentAsDefault | boolean | If new page has been created, also new content element for the pages has been created. Supports 'TCAdefaults.tt_content...' for header, CType (content type) and colPos using either in TS Config for pages or users/user groups. For TemplaVoila there is also a pseudo-field 'field_index', which is important, because without setting proper value, new element would be put into unused element. The value is the same as found in template, for example: <field index="field_maincontent">. The correct setting for this is: TCAdefaults.tt_content.field_index=field_maincontent | not set |
usePageTitleForHeader | boolean | If new content element has been created automatic, the header for the new content element is the same as the title of the page. This setting overrides 'TCADefaults.tt_content.header' | not set |
disablePathInfo | boolean | Disables the path information | not set |
disableDocSelector/ enableDocSeletor | Disables or enables document selector. If Typo3 4.2 and newer use enableDocSelector, because the selector doesn't exist at all and it has been especially added. Note. The option enableDocSeletor needs tm_shared_lib 1.0.7 or newer. | not set | |
disableLangSelector | boolean | Disables the language selector for Typo3 4..x | not set |
disableAlt_docBEButtons | string | Disables buttons from the toolbar in frontend editing; comma separated list and possible values are: save, save_view, save_new, save_close, delete, undo, edit, history. | not set |
enableAlt_docBEButtons | string | Enables some special backend editing buttons; comma separated list and possible values are: publish. | not set |
disableAlt_docFEButtons | string | Disables buttons from the toolbar in backend editing; comma separated list and possible values are: reload, save, save_view, save_new, save_close, delete, undo, edit, history, full_form. | not set |
disableRTEcheckbox | boolean | Disables the checkbox to select if RTE can be disabled | not set |
disableDescriptioncheckbox | boolean | Disables the checkbox to select if descriptions has been shown. | not set |
toolbarItemType | boolean | Type, which kind of icons has been used as task links. If the type is '1', the name of icons must have language code, for example '_de' before the '.gif' file extension. Look at from '/gfx' folder, what images are needed. | not set |
ownToolbarButtonMainPath | string | Main path for own taks icons, if they have been used. Note that images must put sub-folder '/gfx'. | not set |
If the property 'disableAlt_docFEButtons' has the value 'full_form' instead of icons there is a text link on the bottom of the view – see the screen capture below:
Note. In the screen capture you see limited set of fields – I have redefined 'css_styled_content' in a TypoScript template. If you want to create Typo3 Lite you must also check which fields you can drop, when editing records by opening them using edit icons. Below is an example script:
# *****************
# CType: header
# *****************
lib.stdheader.stdWrap.editIcons = tt_content : header, [header_layout]
For the 'List' module here is the following extra interface controls, which relate to the module 'mod.web_list' and new record wizard (improved list module must be enabled):
Property: | Datatype: | Description: | Default: |
|---|---|---|---|
Top Menu | |||
disableListmoduleTopIcons | string | Disables buttons from the top of the view ; comma separated list and possible values are: view, edit, new_record, hide_unhide, level_up, move, paste, cache, clear, csv, export, reload, shortcut, back. Note. Changed after 3.0.6 ('shortcut' is only for Typo3 4.2 and newer)! In additional buttons, which has been defined by hooks can be added to this list. | not set |
Main Items | |||
listmoduleMainIconsOrder | string | Order for main items; comma separated list and possible values are: view, history, edit, move, viewBig, version, perms, new, moveUp, moveDown, hide, delete, moveLeft, moveRight and locked. Note. Changed after 3.0.6! Using hooks can add new functionality links. | view, history, edit, move, viewBig, version, perms, new, move, hide, delete, moveLeft, moveRight, locked Note. Changed after 3.0.6! |
disableListmoduleMainIcons | string | Disables buttons from the lists; comma separated list and possible values are: view, history, edit, move, viewBig, version, perms, new, moveUp, moveDown, hide, delete, moveLeft, moveRight, copy, cut, select, pasteInto, pasteAfter. Note. Changed after 3.0.6! In additional buttons, which has been defined by hooks can be added to this list. | not set |
Other options | |||
listmoduleShowClipboardDisabled | boolean | Disables the possibility to use the clipboard. | not set |
listmoduleShowLocalizationDisabled | boolean | Disables the possibility to use localization options. | not set |
listmoduleSearchBoxDisabled | boolean | Disables the search box. | not set |
disableLimit | boolean | Disables resetting the limit for record lists. | not set |
listmoduleMenuBoxDisabled | boolean | Disables the possibility to select extra fields from a menu box. | not set |
limitedPositionTree | boolean | Shortened list of pages, when used 'Create new page' wizard. Note that 'enable.allow_shorted_page_wizard' must be enabled. | not set |
addDeleteAll | string | Comma separated list of tables, which could have link to delete from page certain records. There is some limitations: * table can't be 'pages' * the table must have 'pid' and 'deleted' fields in order to get records back to certain page using some recycler/wastebasket plugin. | not set |
clearDeletedRelations | boolean | If the plugin 'direct_mail' has been installed allows to delete related records from mm table (note – relations are permamently lost). Note. There is a hook to define this behavior also in other conditions. | not set |
deleteLostRelations | boolean | If the plugin 'direct_mail' has been installed allows to delete lost records from mm table. Note. There is a hook to define this behavior also in other conditions. | not set |
An example TS Config for users/user groups:
mod.web_layout {
disableTopEditIcon=1
disablePathInfo=0
disableToolbarButtonsColView=history,new_contentelement
disableToolbarButtonsQuickEdit=history
disableColViewEditingButtons=
disableElementSelector=0
elementSelectorRight=1
disableToolbar=0
disableNewContentElementWizard=0
disableBigButtons=1
toolbarIconMode=4
editColumnIconMode=4
topNewIconMode=4
topPasteIconMode=4
editIconMode=4
disableSearchBox=0
disableAdvanced=0
noCreateRecordsLink=0
}
mod.xMOD_alt_doc{
$disableAlt_docBEButtons=save_new
$disableAlt_docFEButtons=save_view,full_form
disablePathInfo=0
disableDocSelector=0
disableCacheSelector=0
}
mod.web_list{
listmoduleShowClipboardDisabled=0
listmoduleShowLocalizationDisabled=0
listmoduleSearchBoxDisabled=0
disableListmoduleMainIcons = history, levels, cut
}
When installing the plugin, there are possibilities to tailor the plugin. If you want immediately to use new edit panel for frontend editing, you can enable it from 'Enable features' > 'enable.addEditPanel'. Define at least at the same time 'enable.logoutId', if you know, what it could be.
Enable also 'enable.preset' or alternatively install also the plugin 'conf_userts' in order to active frontend edit panels.
New class-attributes
This plugin adds following classes for buttons, which are created by '/typo3/alt_doc', which is used in FE editing and editing records in Columns' view:
Title/purpose | Classes for Frontend Editing | Classes for Backend Editing | |
|---|---|---|---|
Big buttons | |||
Save document | savedok-fe | savedok-be | |
Save document and view page | savedokview-fe | savedokview-be | |
Save document and create a new one | savedoknew-fe | savedoknew-be | |
Save and close document | saveandclosedok-fe | saveandclosedok-be | |
Close document | closedok-fe | closedok-be | |
Delete | deletedok-fe | deletedok-be | |
Undo/redo last change | undo-fe | undo-be | |
Show history | N/A | showhistory | |
Edit whole record | fullform | N/A | |
Select menus | |||
Document selector | docSelector docSelector-fe | docSelector docSelector-be | |
Cache selector (for container SPAN) | cacheSelector cacheSelector-fe | cacheSelector cacheSelector-be | |
Checkboxes (container DIV) | |||
Class for the parent element of all checkboxes | alt-doc-bottom-controls | ||
Show secondary options (palettes) | alt-doc-show-palettes | ||
Show field descriptions | alt-doc-show-description | ||
Disable Rich Text Editor (RTE) | alt-doc-disableRTE | ||
Links on bottom (container DIV) | |||
Create a shortcut to this page? | alt-doc-shortcutlink |
This plugin adds new classes for buttons, which are created by '/typo3/sysext/cms/layout/db_layout.php' and '/typo3/sysext/cms/layout/class.tx_cms_layout.php', which are used in editing records in 'Quick Edit' mode and showing columns in the 'Columns' view (the list will not necessary be comprehensive, because I might have added some new classes after making this list):
Title/purpose | Classes for Backend Editing |
|---|---|
Top menus and toolbars | |
Top function menu table | topFuncMenu / topFuncMenu topFuncMenuQuickEdit + longTable (for Quick Edit with certain toolbar modes) |
Page header info cell for top function menu | topFuncMenuHeader |
Mode select menu for top function menu | topFuncMenu |
Select menu for languages | topFuncLanguages |
Edit icon in top function menu | editIcon |
Toolbar for top funtion menu (Quick Edit) | topFuncMenuToolbar |
Path (text 'Path:') | pathInfo |
Full path | db_layout-page-header |
Whole Columns view | |
Wraps for main elements | div.colWrap, div.contentWrap, div.ul.sortable, leftMargin, spacerLeft, spacerRight, spacerMiddle, blackLineSeparator (available classes depends on enable options) |
Editin buttos in Columns view | |
Header for the start cell of a content element column | commandLinks, commandLinks-startCell, TemplaVoilaStyle, div.headerWrap (available classes depends on enable options) |
Edit whole column | commandLink-edit-whole-column, commandLink-edit-whole-column_img. commandLink-edit-whole-column_text, commandLink-edit-whole-column_button, a.edit , span.text, span.button, span.textMode span.topLink (available classes depends on the selected button mode; if not otherwise informed classes are for td-elements) |
New record for to the top of the column | commandLink-new-record-whole-column, commandLink-new-record-whole-column_img, commandLink-new-record-whole-column_text, commandLink-new-record-whole-column_button, a.new, span.text, span.button, span.textMode span.topLink (available classes depends on the selected button mode; if not otherwise informed classes are for td-elements) |
Extra paste linkto the top of the column | CommandLink-paste-whole-column, pasteLink, IconMode, button-paste, textMode, text-pastePasteLink, buttonMode, commandLink, commandLink-paste (depends on selected mode) |
Spacer row for there header row (for TR) | typo3-page-colHeader-top-space-row |
Header for other cells of a content element column | commandLinks |
Edit record | commandLink-edit |
New record | commandLink-new-record |
Move record up | commandLink-move-up |
Move record down | commandLink-move-down |
Hide record | commandLink-hide |
Unhide record | commandLink-unhide |
Delete record | commandLink-delete |
Mode class for link items | iconMode, textMode, bothMode, buttonMode (depends on selected mode) |
Extra paste link | PasteLink, PasteLinkiconMode, PasteLinktextMode, PasteLinkbothMode, PasteLinkbuttonMode (depends on selected mode) |
Content element related information | Commandrow-info, iconModeInfo, textMode, bothModeInfo, buttonModeInfo (depends on selected mode) |
Icon toolbar (Columns view) | |
Table for toolbar | toolbarTable |
View record change history | list-tb-history |
Create new content element | list-tb-new-contentelement-record |
Move page | list-tb-move-page |
Create new page | list-tb-new-page |
Edit page header | list-tb-edit-page-header |
Classes for container TD-element of toolbar items | toolbar_icon, toolbar_text, toolbar_button (depends on selected mode) |
Button/link title (Quick Edit mode) | |
Save document | savedok |
Save document and view page | savedokview |
Close document | closedok |
Delete | deletedok |
Undo/redo last change | undodok |
Edit page header | list-tb-edit-page-header-quickedit |
(spacer) | toobarspacer toolbar-spacer-1 |
View record change history | list-tb-history |
Create new content element | list-tb-new-record-quickedit |
Reposition current content element | list-tb-move-record-quickedit |
Create new page | list-tb-new-page-quickedit |
(spacer) | toobarspacer toolbar-spacer-2 |
Mode class for link items | iconMode, textMode, bothMode, buttonMode (depends on selected mode) |
Checkboxes (container DIV) | |
Class for the parent element of all checkboxes | db_layout-bottom-controls |
Show hidden content elements | db_layout-show-hidden |
Show secondary options (palettes) | db_layout-show-palettes |
Show field descriptions | db_layout-show-description |
Disable Rich Text Editor (RTE) | db_layout-disableRTE |
Links on bottom (container DIV) | |
Re-position current content element | db_layout-move-record-link |
Create new content element | db_layout-new-contentelement-link |
Create a shortcut to this page? | db-layout-shortcutlink |
This plugin adds following classes for buttons, which are created by '/t3lib/class.t3lib_tsfebeuserauth.php' (as default extensions for this file are disabled – I explain further, how to enable them; classes are for frontend editing purposes and needs that for edit panels has been defined the option 'toolbar' – possible at least editing the 'setup.txt' of 'CSS Styled Contents'):
Title/purpose | Classes for Frontend Editing |
|---|---|
View record change history | tb-button tb-button-history |
Create new page | tb-button tb-button-new-pag |
Edit page header | tb-button tb-button-edit |
Create a new record | tb-button tb-button-new-record |
Move page | tb-button tb-button-move-page |
Show list module | tb-button tb-button-list |
This plugin adds following classes for buttons, which are created by '/tslib/class.tslib_content.php', which have following classes added (as default extensions for this file are disabled). I will explain further how to enable them; classes are for frontend editing purposes:
Title/purpose | Classes for Frontend Editing |
|---|---|
Spacer between possible toolbar and other icons (for IMG) | spacer-image |
Edit record | button-edit2 |
Move up | button-up |
Move down | button-down |
Unhide element | button-unhide |
Hide element | button-hide |
New page | button-new-page |
New record | button-new-record |
Delete record | button-delete-record |
Extra configuration options
Extra XCLASS-implementations have been added, which are not necessarily needed but may be useful. You can enable them from the backend configuration of this plugin.
I have for example added into tm_contentaccess Berhand Kraft's 'EXT: KB Better stdWrap' ('kb_betterstdwrap'), functionality of 'KB Page-Module Paste' ('kb_pm_paste') [Gobernalia] AJAX Backend Drag And Drop' ('gb_bedraganddrop').
I made only necessary changes in order to get them work and avoid error messages.
'class.ux_tx_cms_layout.php'. Has been rewritten. The rewritten file combines all features of older version of this plugin and for example fixed features from kb_pm_paste and gb_bedraganddrop (version 0.3.0).
I have added to this plugin the functionality of plugin 'zed_more_columns' (author: Walter Hölblinger) as option 'more_columns'. You must however add the following TypoScript to the topmost basis template ('Include basis templates:' in the template definition). I tested it with as automatic added TypoScript and installable static template ('Include static templates (from extensions):'), but it didn't work with these methods because it needs to be in certain place. Then you get also the functionality of 'HTML CSS Styling' ('htmlcssstyling'; author David Pratten) concerning supporting of shared contents.
# this to the constants field – the id of the page of the shared contents
pidSharedContent=
#this to the setup field
###########################################################
# initialize extra contents - start
###########################################################
# get content, header
styles.content.getHeader < styles.content.get
styles.content.getHeader.select.where = colPos=4
# get content, footer
styles.content.getFooter < styles.content.get
styles.content.getFooter.select.where = colPos=5
# get content, news1-3
styles.content.getNews1 < styles.content.get
styles.content.getNews1.select.where = colPos=6
styles.content.getNews2 < styles.content.get
styles.content.getNews2.select.where = colPos=7
styles.content.getNews3 < styles.content.get
styles.content.getNews3.select.where = colPos=8
#special links
styles.content.getLinks < styles.content.get
styles.content.getLinks.select.where = colPos=9
# other new – menus and alternatives for 0-5
# 11 = ...getMenu...
# 12 = ...getMenu2...
# 13 = ...getMenu3...
# 20 = ...getNormal2...
# 21 = ...getLeft2...
# 22 = ...getRight2...
# 23 = ...getBorder2...
# 24 = ...getHeader2...
# 25 = ...getFooter2...
###########################################################
# initialize extra contents - end
###########################################################
###########################################################
# initialize the Shared Contents - start
###########################################################
styles.content.getShared < styles.content.get
styles.content.getShared.select {
pidInList = {$pidSharedContent}
}
styles.content.getLeftShared < styles.content.getLeft
styles.content.getLeftShared.select {
pidInList = {$pidSharedContent}
}
styles.content.getRightShared < styles.content.getRight
styles.content.getRightShared.select {
pidInList = {$pidSharedContent}
}
styles.content.getBorderShared < styles.content.getBorder
styles.content.getBorderShared.select {
pidInList = {$pidSharedContent}
}
styles.content.getHeaderShared < styles.content.getHeader
styles.content.getHeaderShared.select {
pidInList = {$pidSharedContent}
}
styles.content.getFooterShared < styles.content.getFooter
styles.content.getFooterShared.select {
pidInList = {$pidSharedContent}
}
styles.content.getNews1Shared < styles.content.getNews1
styles.content.getNews1Shared.select {
pidInList = {$pidSharedContent}
}
styles.content.getNews2Shared < styles.content.getNews2
styles.content.getNews2Shared.select {
pidInList = {$pidSharedContent}
}
styles.content.getNews3Shared < styles.content.getNews3
styles.content.getNews3Shared.select {
pidInList = {$pidSharedContent}
}
styles.content.getLinksShared < styles.content.getLinks
styles.content.getLinksShared.select {
pidInList = {$pidSharedContent}
}
###########################################################
# initialize the Shared Contents - end
###########################################################
Then you should just put to the TS Config of pages, what columns have been used, for example:
mod.SHARED.colPos_list = 0
TCEFORM.tt_content.colPos.removeItems = 1,2,3,4,5,6,7,8,9,10
I you want good control for used columns, I recommend that you install 'rmpl_tmplselect' and 'stfl_tmpl2columns', when you column setting always match with the used templates, and users are confused that column quantity in backend and frontend is different.