
Content Access
Copyright © by
Matthias Ewert <
matthias.ewert@no spam pleasedenkwerk.com>
Published under the Open Content License available from
http://www.opencontent.org/opl.shtml
Table Of Contents
- 1. dw_content_access
- 1.1. Extension Key: dw_content_access
- 1.2. Copyright 2010, Matthias Ewert, <matthias.ewert@denkwerk.com>
- 1.3. Extension Manuals
- 1.4. This document is published under the Open Content License
- 1.5. available from http://www.opencontent.org/opl.shtml
- 1.6. Extension Manuals
- 1.7. The content of this document is related to TYPO3
- 1.8. - a GNU/GPL CMS/Framework available from www.typo3.com
- 1.9. Extension Manuals
- 1.10. Introduction
- 1.11. Users manual
- Set/Remove a restriction
- Extension Manuals
- How it works
- The extension dw_content_access extends the table tt_content with eight new fields: four fields for the user permissions of the functions edit, hide, positioning and delete and four fields for the four same group permissions. Each field contains a comma list of the ids for which the access is restricted.
- The extension is created to work either with hooks and XClasses. At the current stage the hooks are requested in the bug tracker and pending, so that this extension works basically with XClasses. If you do not like the XClasses method you can add the hooks manually. Please see the chapter Hooks & XClasses for that issue.
- Extension Manuals
- Hooks & XClasses
- Extension Manuals
- The extension dw_content_access can work both with XClasses or hooks. At this current stage, the hooks requests are pending, so that the extension will basically work with XClasses.
- Bug tracker urls:
- Extension Manuals
- Extension Manuals
- Extension Manuals
- Extension Manuals
- Extension Manuals
- If you are a developer or familiar with the typo3 core you can add the hooks manually. You should know that XClasses can only used once for one function, therefore hooks are more flexible and nicer. Therefore I added a patch file which contains the new hooks.
- Please find the patch file for the core and page module hooks under “dw_content_access/patch/hooks.patch”. The patch for the TemplaVoila hooks can be found under “dw_content_access/patch/hooks_templavoila.patch”.
- After you have added the hooks to the source code the dw_content_access extensions has to be switched on for hooks. This can be done in line 10 in the ext_localconf.php. Please easyly set the variable $DWCONTENTACCESS_switch_hooks_on = true; Clear your cache and the extension should now work with the hooks.
- Please keep in mind, that this method is very experimental. For example if an other extension xclasses the function where you've manually inserted the hooks, the hook won't be considered by the Typo3 system, because the XClass function of the other extension is used, which doesn't contain the manual inserted hook.
- 1.12. Known problems
- 1.13. To-Do list
- 1.14. Off-topic information
- 1.15. The extension was developed by Matthias Ewert in scope of an academic internship at the agency denkwerk in Cologne, Germany with support of the co-workers André Laugks and Phillip Kroll.
This document is related to version 0.0.4 of the extension dw_content_access.