[Typo3] Determine present fe user pid

Kraft Bernhard kraftb at gmx.net
Sat Mar 12 13:11:23 CET 2005


Dieter Mayer wrote:
> 'select.pidInList = TSFE:fe_user->pid', which doesn't work?). So for testing

I don't know if this "pidInList" ... stop. just took a look at TSRef. You're
lucky. This field is a stdWrap field.

You could install my extesnio "kb_better_stdwrap"

The you could insert the following line:
select.pidInList = {glob:TSFE:fe_user:user:pid}

this will return the pid of the actually logged in (if any) FE user.


but be carefully at the moment the extension isn't really secure as you
could write a TS like
blabla.blublu = {glob:typo_db_password} and it will show your db password
... so don't allow anyone to change TS code except who you trust ...

such special fields will be excluded in future versions ...


greets,
Bernhard
-- 
----------------------------------------------------------------------
"Freiheit ist immer auch die Freiheit des Andersdenkenden"
Rosa Luxemburg, 1871 - 1919
----------------------------------------------------------------------



More information about the TYPO3-english mailing list