How can I publish the view from the different Modules?



  • I would like to make some custom changes on the admin views of the modules.

    After vendor:publish some views are now in my resources folder, e.g. from User Model.

    But how can I publish the views from Settings or Tag Model?

    Thanks, kay899


  • Global Moderator

    Hi @kay899

    Publish will not work for most of the time since many views not made publishable.

    What you can do is to enable this line in every module's config file.
    And then manually copy file or files you need to resources/views/asgard/user/(if the view is in a subfolder you also copy that folder - basically preserve path and naming) that way your views will be loaded first.

    Thanks



  • Thanks, that's working perfect


Log in to reply
 

Looks like your connection to AsgardCms was lost, please wait while we try to reconnect.