Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Publishing does not work

    General Discussion
    2
    6
    608
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      MallauryG last edited by MallauryG

      Hello,

      I am wondering, how does "bagisto:publish" work ?

      1. I made some modifications in \packages\Webkul\Velocity\src\Resources\views\shop\home\index.blade.php
      2. I used the command : php artisan bagisto:publish
      3. It returned ... Copied Directory [\packages\Webkul\Velocity\src\Resources\views\shop] To [\resources\themes\velocity\views] ...

      But the file did not change... And I also notice that both file are differents...

      Could you tell me if I misunderstood something?

      Thanks!

      1 Reply Last reply Reply Quote 0
      • A
        Amitk-Webkul last edited by

        Hi there.
        Please run the publish command forcefully.

        php artisan bagisto:publish --force
        

        If still facing the issue please let me know.

        M 1 Reply Last reply Reply Quote 1
        • M
          MallauryG @Amitk-Webkul last edited by MallauryG

          @Amitk-Webkul said in Publishing does not work:

          Hi there.
          Please run the publish command forcefully.

          php artisan bagisto:publish --force
          

          If still facing the issue please let me know.

          Yes, I am still facing the issue...

          Ok, my bad. I confused these two files :

          • packages\Webkul\Velocity\src\Resources\views\shop\home\index.blade.php
          • packages\Webkul\Shop\src\Resources\views\home\index.blade.php

          Could you explain why packages\Webkul\Shop\src\Resources\views\home\index.blade.php exists ? I guess Bagisto can not work without a theme. So what is the purpose of this file?

          In others words, should I update it to be sure my modifications always take effect?

          (To put it in context, I integrated GrapesJS to the admin interface to have a real WYSIWYG system when editing the homepage or CMS pages. So I need to modify the views to display the new html and css from grapesjs.)

          M 1 Reply Last reply Reply Quote 0
          • M
            MallauryG @MallauryG last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • A
              Amitk-Webkul last edited by

              Hi there,

              Bagisto is the used theme and has two themes default and velocity.

              The below path is of the default theme.

              packages\Webkul\Shop\src\Resources\views\home\index.blade.php
              
              M 1 Reply Last reply Reply Quote 0
              • M
                MallauryG @Amitk-Webkul last edited by

                @Amitk-Webkul said in Publishing does not work:

                Hi there,

                Bagisto is the used theme and has two themes default and velocity.

                The below path is of the default theme.

                packages\Webkul\Shop\src\Resources\views\home\index.blade.php
                

                Ok thanks!

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post