Closed angeloprevitali closed 5 years ago
Probably not the easiest way but I can think of either custom marker (with an extension of your own to post-process the mapping) or using a TS-based mapping. See the doc for examples.
I agree, simple multi-line mapping is not possible out of the box.
and by the way, your last screenshot with red border is clear why it's not interpreted at all (would expect the second line to be put to DB, instead of the first one). You wrote once TSconfig
and the other time TSConfig
, at some point having a field that does not exist in DB makes it vanish...
Thanks Xavier! The two lines are for shure that they will NOT work. That was only for make it clear. Any possible working solution you could offer me? Even paid for shure... Thanks.
In the docs we really do not understand clearly how we could set up a TS-based mapping like you told..
Did you try like I said with some TS-based mapping? Did not test but here's the idea:
TSconfig {
cObject = COA
cObject {
10 = TEXT
10 {
field = name
noTrimWrap = |TCAdefaults.page.author = ||
}
20 = TEXT
20.char = 10
30 = TEXT
30 {
field = email
noTrimWrap = |TCAdefaults.page.email = ||
}
}
}
Thanks. This code gets inserted into the Mapping field configuration of the LDAP / SSO > BE USERS field "Mapping"? right?
Exactly, please see https://docs.typo3.org/typo3cms/extensions/ig_ldap_sso_auth/AdministratorManual/Users.html#mapping
you may mix the various types of mapping definitions.
Thanks Xavier! I will try this! How much will cost me this information? And by the way: Your Google Maps on your website isn't working anymore: See https://www.causal.ch/#contact Best regards, Angelo
oops, thx :)
(info free of use) :)
thx Xavier! Salutations à Fribourg!
i tried it and it works perfect :)
Hi Xavier
we would like to insert into the Page TS of the fe_users the two lines inserted like that if the be_user adds a new page the information of the page gets autocompleted.
TCAdefaults.pages.author = Nom du auteur
TCAdefaults.pages.author_email = redacteur@netconsult.ch
If we insert this in the configuration of the LDAP / SSO > BE USERS field "Mapping" the second line gets not inserted into the config of the Page TS of the fe_users.
TSconfig = TCAdefaults.pages.author = <name>
TSconfig = TCAdefaults.pages.author_email = <mail>
Any idea how to setup this? Is it possible?
Thanks for help.
Best regards, Angelo