Results 1 to 3 of 3

Thread: Is there a way to override MetaModels class?

  1. #1

    Default Is there a way to override MetaModels class?

    MetaModels classes are loaded with composer autoload. How can I override such classes from my own module folder, so that it remains update save.

    For example: I wanted to override MM class -> MetaModels\Contao\FrontendEditing\FrontendEditHybr id
    OM MANI PEME HUNG! how many has to die for freedom and dignity. Save this world

  2. #2
    User zonky's Avatar
    Join Date
    11-29-11.
    Location
    Berlin
    Posts
    142

    Default

    MetaModels and DCG have any events out of the box to implement your own code - it´s a good idea to look to this at first...

    e.g.
    Event dispatcher https://github.com/contao-community-...ent-dispatcher
    DCG http://contao-community-alliance.git...ce/events.html

  3. #3

    Default

    Thank you for the info and links.

    I need to study more about Event-Dispacher concept and how to used it.
    OM MANI PEME HUNG! how many has to die for freedom and dignity. Save this world

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •