Discussion:
[TYPO3-english] altElementBrowserMountPoints per page (User TSconfig per Page setting)
stefano cecere
2008-11-13 09:12:16 UTC
Permalink
hasn't anywone needed to set the element browser mount point with a "per page" conditions?

that is: in page x i want the element browser to allow to choose only from page y?

the options.pageTree.altElementBrowserMountPoints is the right direction
but it is only a User TSConfig
so it is very limited.


if it was a Page TSConfig it could be done...

as UserTSConfig it could be done with Typoscript conditions like:
[globalVar = TSFE:id = 24]
options.pageTree.altElementBrowserMountPoints = 15,16
[global]

but TSConfig doesn't allow (yet) conditions...


any idea?

stefano
Rob De Vries
2008-11-13 09:16:47 UTC
Permalink
Post by stefano cecere
but TSConfig doesn't allow (yet) conditions...
Hey Stefano,

http://typo3.org/extensions/repository/view/kb_tsconfig_cond/current/
Enables conditions in the User, Group and Page TSConfig


greetz
Rob
--
------------------------------------------------------------
web : http://www.rob-ot.be
skype : rob-ot
------------------------------------------------------------
[O_o] -- Don't feed the rob-ot
Steffen Müller
2008-11-20 16:04:44 UTC
Permalink
Hi.
Post by Rob De Vries
Post by stefano cecere
but TSConfig doesn't allow (yet) conditions...
http://typo3.org/extensions/repository/view/kb_tsconfig_cond/current/
Enables conditions in the User, Group and Page TSConfig
I installed the extension and tried to have a flexform as default
content type for some pages. Thus I entered this snippet in userTSconfig:

[PIDinRootline = 123]
TCAdefaults.tt_content.CType = list
TCAdefaults.tt_content.list_type = myextension_pi1
[end]

but without success.

It even does not work with this:

[globalVar = GP:id = 83]
TCAdefaults.tt_content.CType = list
TCAdefaults.tt_content.list_type = myextension_pi1
[end]

What's wrong?


Btw.: wasn't this "Conditions for TSconfig" thing planned to get into core?
--
cheers,
Steffen

http://www.t3node.com/
Steffen Müller
2008-11-20 16:07:02 UTC
Permalink
sorry, using TYPO3 4.1.7
--
cheers,
Steffen

http://www.t3node.com/
Loading...