Results 1 to 1 of 1

Thread: Why my local bundle is not loading?

  1. #1

    Default Why my local bundle is not loading?

    I have put my local bundle (Demo.zip) under /src folder. Although I've defined Plugin class inside this bundle, it is not loading. No error or nothing. I'm expecting a new Content Element in Backend, if it is working.

    I'm using Contao 4.5.6

    Inside the main /composer.json, I've added.
    Code:
    ... 
        "autoload": {
            "psr-4": { "": "src/" },
        },
    ...
    Do I've to create class ContaoManagerPlugin inside /app folder and load the bundle from there, which I am trying to avoid. My understanding is that if I've defined a Plugin class inside my bundle, then it will get loaded by the contao-manager.

    Can you tell me where am I missing? Thanks
    Attached Files Attached Files
    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
  •