[TYPO3-templavoila] FCE with User Login

Francois Suter fsuter at cobweb.ch
Wed Sep 26 13:19:43 CEST 2007


> Is it possible, that some fields in a FCE are user restricted fields, 
> means that some fields are only visible if a user is logged in.
> Someone understand my question?

I think so :-)

Basically the output of your FCE is entirely driven by TypoScript, 
either because it directly references some TypoScript (when a field is 
of type TypoScript Object Path) or because the rendering is defined 
using TypoScript. For example, a field designed to contain Content 
Elements is rendered as:

	10.tables = tt_content
	10.wrap = &lt;!--TYPO3SEARCH_begin--&gt;|&lt;!--TYPO3SEARCH_end--&gt;

So if you add a condition in that place (either [usergroup = x, y] or 
[loginUser = x, y]) you should be able to filter your rendering 
according to identification (to just test login or no login, use 
[loginUser = *]).



Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch

More information about the TYPO3-project-templavoila mailing list