working example for overriding outputs?

Posted in CategoryDevelopment
  • Bret Watson    ( User ) 1 year ago

    BTW your forums could do with a code text type...

    Also it never gets to the view composer

  • Bret Watson    ( User ) 1 year ago

    ok not bleeding obvious and not shown at all in the docs but I tried

    php artisan module:publish FooBar

    and now things seem to be working - or at least I can find things..

  • Bret Watson    ( User ) 1 year ago

    Here is the worked example

  • Bret Watson    ( User ) 1 year ago

    Clearly links don't quite work here...

    Worked axample here - it over-rides the invoice printout only

    Not sure if you can get away with simply dropping this into your modules folder, about to find out, but you do need to do a module:publish after copying things in


  • Bret Watson    ( User ) 1 year ago

    OK, this seems very fragile..

    I started again with a new module created.. created things the same as the FooBar code.. 

    and we got back to Class does not exist error again..


    Things I noticed - attempting module:install XXX 1 fails complaining about empty code

    everything else gives no hints as to what is wrong..

Please login or register to leave a response.