Login / Status
developer.Resource
Home . Documentation . Document Library . Extension Manuals
Sponsors
hosted by punkt.deTYPO3 and Open Source MagazineAOE Media

1.3. Configuration

This skin has some installation level configuration using enable options. You can use 'enable.TinyMCEStyles' also for other editors but you must edit related CSS-files, 'TinyMCEStyles*.css'. These files have today partial support for the 'htmlarea' plugin.

Many features can be set by using personal user setup options, which have defined using the module User > Setup (entire usage of personal user setup can be disabled from enable options of the plugin).

If you want to change module icons, I have some ready made alternatives. For own module icons I added 'enable.ModuleIconSetPath' and corresponding personal user setup. The path is relative to the path of this extension and it should be set without forward slash (/) to the end, for example '../../../fileadmin/my_moduleicons'.

You can also use your own CSS-file for the skin using 'enable.styleSheetFile_post'  or corresponding personal user setup. The path is relative to the path of this extension, for example '../../../fileadmin/my_post_css.css'.

You can set also the height of module icons for new icon sets. Because of technical reasons height and width of minus/plus bullets is fixed in the left frame menu.

Using skin_grey_2 it is possible to add some extra configuration for 'tm_contentaccess', which has been explained in the manual for tm_contentaccess.

I made for 'mod.skin_grey_2'  as if module configuration. Even if skin_grey_2 doesn't  have a backend module, it has settings, which relate with 'Setup > User'  module. Using mod.skin_grey_2  for TS Config for users/user groups administrators can override enable features options and set default values or override personal user setup options (default values mean default values in default settings in enable options or personal setup if enable options don't have certain option). In addition it has some completely own control options.

Property:

Datatype:

Description:

Default:

disableUserSetupSkinChanges

boolean/ string

Disables user setup options for changing skin-related basic properties.

Set either boolean value 0/1 or comma separated list of values/fields, which should disable. Possible values are: skin, moduleiconset, moduleiconsetpath, moduleiconsize, usepngmoduleimages, usepngfix, stylesheetfile_post

If disabled and TS Config for users/user groups has been set for disabled options,  values in TS Config for users/ user groups has been set as personal user settings.

Note that for kb_skinselect is one  option (skin), when it is also possibility to disable that plugin for some users without need of deinstall the  plugin.

maxSubItems

integer

Quantity of maximum sub-menu modules for the new top menu in one row. If the quantity has been reached, for rest of the sub-modules button has been set new main module links and main modules has been listed 1, 2, 3 etc., for example 'Tools 1, Tools 2, Tools 3'.

6

subLabelLenght

integer

Crop the label for sub-module labels in the new top menu. '0' means no cropping. Integer means that if the label is longer than the value, the label will be cropped and three dots added. Use just positive integer values!

0

onClick

boolean

Mode of the new top menu. The top menu works either with mouse movement (hover-mode) or clicking the mouse (two onclick-modes)

0 = hover mode

1 = onclick with low toolbar

2 = onclick with higher toolbar

1

defaultMainModule

string

Module, which sub-modules have been shown as default in the new top menu.

web

saveSubModuleInfo

boolean

Saves automatic the last used sub-module.

The same option is available also as override option. Look at from that setting more details.

0

saveModuleInfo

boolean

Save active main module tab as new default module. Overrides 'Default main module' setting.

The same option is available also as override option.

leftOffset

integer

Left offset for the new top menu. It helps to position sub-module links nearer the main module links. Left offset depends on situation and if that values has been changed, users just need to test, which is the best value.

50

styleSheetFile

string

Style sheet makes possible to change the used style sheet for the new top menu.  Note. The menu has hover mode and two modes and two onclick modes.

ModuleIconSet

string

Selection from predefined module icon sets. If set and ModuleIconSetPath has not set, ModuleIconSize ignored.

ModuleIconSetPath

string

Path for own module icons

ModuleIconSize

integer

Meaningful only if ModuleIconSetPath has been set. If predefined icon sets has been set, module icon sizes has been set automatic correct and this values is ignored.

16

UsePNGModuleImages

boolean

Possibility to use PNG images for own module icons. Set only in the case, you use PNG module icons.

0

UsePNGFix

boolean

Sets PNG transparency fix for MS IE. Meaningful only for PNG-images.

This option doesn't have corresponding feature enable option.

0

styleSheetFile_post

string

Sets a style sheet for the BE interface. Because also other style sheets have been used, doesn't reset all style sheets.

disableAllowCollapseExpandNavFrame

boolean

Allows/disables  visual effects of enable.allowCollapseExpandNavFrame.

Doesn't normally override corresponding option in personal setup but just sets default  value for personal user setup. Used if exits and personal working mode settings disabled.

0

hideWorkspaceselector

boolean

Hides workspace selector from the shortcut frame. No setup using User > Setup.

0

Notes.  

  1. If 'enable.ownCSSforUsers' is not checked, some or all of these settings might not work.

  2. If 'styleSheetFile_post' has been redefined, it is necessary to save the record twice.

  3. Transparency fix for MS IE needs DirectX installed. Otherwise images can't be seen. The transparency fix slow a little bit down downloading speed, because images must render several times. PNG images are reasonable only for browsers, which support them properly.

  4. 'disableAllowCollapseExpandNavFrame' simple hides expand/collapse buttons and they can be enabled using CSS. Needed functionality can be controlled only installation level.

Skin_grey_2 fixes also 'setup.override' options with a new option to disable all user settings (except personal settings and the language setting all values will be set as default):

Property:

Datatype:

Description:

Default:

disableUserSetup

string

Disables and resets personal user setup options. Values base on the used names in fields, which have been mentioned in user setup but all names are in lowercase.

The string is comma separated list of values. Possible values for default options are: simulateuser, lang, condensedmode, nomenumode, taskcenter, thumbnailsbydefault, helptext, titlelen, copylevels, recursivedelete, edit_widedocument, edit_rte, edit_docmoduleupload, edit_showfieldhelp, disablecmlayers, realname, email, emailmeatlogin, password1, password2 (concerning the last two in the list it is enough to setup either password1 or password2). In addition of default values plugins might have extra values.

startPage

string

Starting page after log in to the BE. That can be some page in front end.

defaultMainModule

string

Default main module, which is visible when starting Typo3.

startModule

string

Starting module. Note in previous versions of tm_shared_lib  this option was 'startingModule'.

saveSubModuleInfo

boolean

Saves automatic the last used sub-module.

Note that this setting setting works, if the 'startPage' has not been defined or it has been defined as empty, when default starting page has been used. The default starting has redirect JavaScript function to the desired starting module.

0

saveMainModuleInfo

boolean

Saves in the last active main module as new default module.

The same option also available in module configuration

allowAdminFunctions

boolean

Allows for non-admin users admin functions  to clear BE and FE cache (needs either 'enable.newTopmenu' or 'enable.shortcutframe_ontop' enabled)

0

Added also to mod.SHARED following options:

Property:

Datatype:

Description:

Default:

startID

integer

Starting page (field 'uid')  for page module. Sets default starting page for modules, which belongs under the main module 'Web'.

saveUID

boolean

Use cookies order to store start page  (field 'uid')   for every sub modules, which belongs to the main module 'Web'. Takes precedence over 'startID'.

0

resetCookies

boolean

When used cookies for saveUID information has been saved also into database. With this option you can reset cookies, when you log into the backend of Typo3 or reload the entire frameset. At that ways same cookies have been used with different browsers and even with different computers.

Saves into database also information about the last used main and sub module.

0