[Typo3-dev] Extension only works, when logged into backend

Christian Trabold trabold at mehrwert.de
Fri Jul 29 12:39:16 CEST 2005


Hi Jeppe,

> I've made an extension, which creates a list of frontend users from a 
> selected group. It is my first extension ever, so i'm not sure about the 
> use of the build-in typo3 functions and other things.
> 
> My problem is, that extension only works, when i'm logged into the 
> backend. I discovered the problem pretty late in the process, because i 
> was logged into the backend all the time..
> 
> I have no idea what causes this problem?
> 
> The source is availible here: http://jstampe.dk/extension_source.phps
> The comments is in Danish, but i hope you'll figure it out.
> 
> I could use any comment on my extension, cause i'm very new to typo3 
> development..

is the content-element restricted to a several usergroup?

Is it hidden and do you have the admin-panel configured so that you can 
see hidden elements?


And do yourself a favor and use DBAL-Functions for Database-Calls [1].

mysql_num_rows => $GLOBALS['TYPO3_DB']->sql_num_rows($res);



Regards,

Christian


[1] 
http://ben.vantende.net/no_cache/office-import/dbal/?tx_rlmpofficeimport_pi1%5BshowPage%5D=4




More information about the TYPO3-dev mailing list