How to Extend Dynamic content with custom

Hi, how can I extend dynamic content class? Is it possible?

Hey Stefano,

Thanks for reaching out!

I am sorry but we’re not quite sure about the things you’ve wanted to achieve. That being said, would you mind sharing more infromation?

Thank you.

Hi Marc,
sorry, I’ll try to be more specific.
We have been able to extend global class so that we added new dynamic content fields.
We would like to create a specific group instead of using global but we were not been able to do that .
Can you help us to know what we have to do for creating a new dynamic content group? Thank you very much, best regards, Stefano

See the following code sample. You’re going to use the following function to register a group. Let us know if you have any questions!

    cornerstone_dynamic_content_register_group([
      'name'  => 'example',
      'label' => "Example Group",
    ]);

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.