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

Chapter 1. EXT: tm_contentaccess

Extension Key: tm_contentaccess

Copyright 2000-2005,Tapio Markula, <tapio.markula@xetpoint.fi>

Additional authors (authors of integrated plugins):

Bernhand Kraft

Máximo Cuadros Ortiz

Martin Klaus

Marc Ehret

Franz Holzinger

This document is published under the Open Content License

available from http://www.opencontent.org/opl.shtml

The content of this document is related to TYPO3

- a GNU/GPL CMS/Framework available from www.typo3.com

1.1. Introduction

What does it do?

Adds options 'Restrict/Allow editing by following backend user groups',  'Allow editing by following backend users'  and 'Restrict editing by non-Admins'  for individual content elements. How restrictions work can change using enable options for the plugin. For user groups you can choose three working modes:

  1. Adds new restriction to existing restrictions. If some content element has been disabled using TS config for some users/user groups, these restrictions remain.

  2. Reset previous restrictions and makes restrictions on the base of backend user groups. If some content element has been disabled using TS config for users/user groups, those settings are ignored.

  3. Makes list of allowed backend user groups to edit the content element. This list resets previous restrictions like in the second mode but the list base on allowing user groups to edit the content element.

User-level access control can be disabled. If it is enabled any user groups level access control and TS config for users are ignored. Only the option Restrict editing by non-Admins may restrict editing some user, which is the user list. Restrictions have then hierarchy.

The plugin adds three new fields to the table 'tt_content'. For consistency reasons I used the same field name ('editlock'), which has been used for the table 'pages' even if for extensions should use field names, which has the name of the plugin as prefix ('tx_tmcontentaccess_editlock').

In addition this plugin adds many new configuration options and classes for backend editing files of Typo3 in order to customize the BE interface. Because some BE functionalities have been used also in frontend editing, tm_contentaccess modifies a little bit also frontend editing. Today frontend editing features are primarily in the plugin 'pixe_feediting'.

It is also possible to hide some features for users/user groups or highlight features using CSS. This plugin can also be used as a plugin for extended interface control. It is possible to create “Typo3 Lite” for users and user groups.

Requirements and suggested extensions

This plugin is for Typo3 3.8.x – 4.0.x. Needs proper defined .htaccess in order to get paths to work correctly. The plugin 'tm_shared_lib' must be installed.

In order to get everything out from this plugin, it needs 'skin_grey_2' installed. Skin grey has extended user configuration and some options for tm_contentaccess. Many features have proper layout using skin_grey_2, especially improved page modules needs skin_grey_2 in order to get proper layout. In order to get extra features work properly with other skins cause much extra work.

Installing skin_grey_2, that doesn't prevent using other skins, if the plugin 'kb_skinselect' has been installed. Kb_skinselect changes CSS files and icons, but functionalities remains.

Other authors

Other authors have done following implementations:

  1. Berhand Kraft – paste functionality + nested content elements for the classic page module.

  2. Máximo Cuadros Ortiz – AJAX for the classic page module.

  3. Marc Ehret – backend template for the classic page module.

  4. Franz Holzinger – handling of record lists in 'Web > Page > Columns'

Look at the list of relations to other plugins in order to know plugin names. Tm_contentaccess combines functionalities about half a dozen plugins, which could not be used together as stand alone plugins. In addition tm_contentaccess has some integrated functionalities.