[Typo3-dev] Making a better access control using XCLASS

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Thu Aug 25 13:03:01 CEST 2005


tapio schrieb:
> Martin Kutschker wrote:
> 
> 
> Ok. But I just tried to extend 'SC_db_layout' with
> 
>  class ux_SC_db_layout extends SC_db_layout {
> 
> function renderQuickEdit()    {} // rewrite this function
> }
> 
> the class name uses the same naming convention as in 'alt_doc.php' 
> ('SC_alt_doc'), why I expected that that class could be possible to extend.
> 
> If I can't extend by XCLASS 'db_layout.php' I just can't make a public 
> extension.

Now I see. You used the wrong XLASS key. This is the corect one:

$TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/cms/layout/db_layout.php']

Hint: at the end of each files is the include code (with the XCLASS key).

Masi




More information about the TYPO3-dev mailing list