6 years ago
1
Topic

Hi community,

I got to get values from other item or content type to be the default value of another item.

The idea behind that: create a "master"-content type, which can hold every field for the "real" content types, so the consumer can change mayor things very comfortably.

I tried to change the syntax of the "value-construction" in core. It works fine, but I don't know if this is the right way and I think it will be blown away with an update. Am I right?

What else can I do? Create a plugin, which takes place at the value-construction?

Thanks a lot, folks!

Have a nice day (in Germany it is sunny :)

Felix

Get a Book for SEBLOD
4229 Posts
Kadministrator
6 years ago
0
Level 1

Hi Felix,

you can get values from other content types using JCckContent classes  (get  method) and push them into current one using beforeRender event in code pack

Get a Book for SEBLOD