[Typo3-dev] Enabling formfields for a folder

Bernhard Kraft kraftb at kraftb.at
Fri Dec 16 18:03:03 CET 2005


> This is fair enough as your preference. So I suppose all we need are 
> conditions as bernhard kraft suggested. He mentioned that you must know the 
> page id. Since Page TSconfig is always requested by giving a page id I don't 
> see how this could be a problem though. Maybe bernhard can tell...

When you have a look at this extension you will see that there really isn't much
special done. AFAIR it was just required to pass a matchObj to the TSParser class/method.
which parses the TSConfig.

I made some changes to the matchObj in order to reflect the different circumstances
of a BE call compared to an FE rendering process. But as you see at the bottom of
my matchObj changes I implemented not all [conditions] (i.e. I didn't know how to
get the Root-line in the BE)

The problem with "id" was mostly this one: Currently conditions only work for User/Group
TSConfig. Enabling it for Page TSConfig would have meant to parse the complete TSConfig for
every single click on the page-tree in the Page/List Module and I tought that would have
required to much resources so I didn't implement it for Page TSConfig at the first.

I once made a special version of the extension for a customer which also enabled Page TSConfig
conditons. AFAIR he reported that it didn't get that slow ... so it would be worth a tought.
(Of course this is nothing for the core without proper caching)


greets,
Bernhard




More information about the TYPO3-dev mailing list