[TYPO3] TSConfig restrict languages by pagetree
Grégory Duchesnes
g.duchesnes at free.fr
Wed Aug 13 12:27:13 CEST 2008
Hi all,
Here is the situation :
- one domain name
- one home page where you can choose your country
- one page tree per country under this ma page
- contents shared between all countries (that's where problems begin)
> under a country page tree the default language (0) is the main
language of the country (french = 1 for example) and there are other
languages used for localization (examples english sys_language_uid = 2)
> under the shared content page tree the default language is english
(0 here) and contents are transalated into other languages (example
french = 1)
Sound weird but it makes sense when you see it running ;-) I managed
to handle that on the front quite easily thanks to the
language_overlay API, but i'm stuck with the back-end.
Indeed, one user, should be able to edit any language under its
country page tree (therefore, he should have access to languages, 0
and 2 for example), but he shouldn't be able to edit the default
language under the shared content page tree (where 0 is no longer his
language but english)
Is there a mean (by TSConfig or anything else) to restrict editiing of
a specific language under a given page tree? and this only for a
specific user (gasp) since the site administrator should be able to
edit content in any language.
By the way, contents stored in this shared page tree are not standard
CTypes but table entries, so i might be able to digg into the TCA for
that, is it possible to make conditions in the TCA?
Thanks for any tip,
Duch
More information about the TYPO3-english
mailing list