• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

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

Publishing does not work

General Discussion
2
6
616
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 13 Apr 2023, 17:29 13 Apr 2023, 17:28

    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 14 Apr 2023, 04:22

      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 14 Apr 2023, 07:41 Reply Quote 1
      • M
        MallauryG @Amitk-Webkul last edited by MallauryG 14 Apr 2023, 07:56 14 Apr 2023, 07:41

        @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 14 Apr 2023, 07:46 Reply Quote 0
        • M
          MallauryG @MallauryG last edited by 14 Apr 2023, 07:46

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • A
            Amitk-Webkul last edited by 14 Apr 2023, 10:47

            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 14 Apr 2023, 11:27 Reply Quote 0
            • M
              MallauryG @Amitk-Webkul last edited by 14 Apr 2023, 11:27

              @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
              1 out of 6
              • First post
                1/6
                Last post