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

Bagisto

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

Only Accepting PHP file not HTML

Bug Report
2
8
443
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.
  • T
    Tamilarasan 1 last edited by 5 Jun 2024, 05:25

    We wanted to upload HTML file into bagisto website.
    However, its only accepting PHP and not HTML and we unable locate the suitable location in the directory to upload our Privacy policy into the bagisto directory

    1 Reply Last reply Reply Quote 0
    • Rishabh-Webkul
      Rishabh-Webkul last edited by 5 Jun 2024, 06:18

      Hello @Tamilarasan-1

      Greetings of the day..!!

      Can you describe to us more briefly at which location you need to upload the HTML file?

      Bagisto is built on the Laravel framework and Laravel uses the blade templates to add HTML and CSS into it so there are Blade files present in the Shop package where these blade files are presented as per the location

      bladefiless.png

      Thanks & Regards..!!

      T 1 Reply Last reply 5 Jun 2024, 08:20 Reply Quote 0
      • T
        Tamilarasan 1 last edited by 5 Jun 2024, 07:05

        @Rishabh-Webkul said in Only Accepting PHP file not HTML:

        We do not want to place it as a Blade file; instead, we want to place it somewhere in the directory so that NGINX can pick it up, and we can have a URL like zocogo.com/privacy.
        This is due to upload our Privacy details.

        1 Reply Last reply Reply Quote 0
        • T
          Tamilarasan 1 @Rishabh-Webkul last edited by 5 Jun 2024, 08:20

          hi @Rishabh-Webkul We do not want to place it as a Blade file; instead, we want to place it somewhere in the directory so that NGINX can pick it up, and we can have a URL like zocogo.com/privacy.
          This is due to upload our Privacy details.

          1 Reply Last reply Reply Quote 0
          • Rishabh-Webkul
            Rishabh-Webkul last edited by 5 Jun 2024, 09:20

            Hello @Tamilarasan-1

            Greetings of the day..!!

            There is no option to write HTML without the blade files in Laravel Bgisto if you need to apply it should be in the blade templates files.

            Thanks & Regards..!!

            T 2 Replies Last reply 7 Jun 2024, 04:01 Reply Quote 0
            • T
              Tamilarasan 1 @Rishabh-Webkul last edited by 5 Jun 2024, 13:52

              hello @Rishabh-Webkul do you mind to share any documentation related to this.
              Please advise.

              1 Reply Last reply Reply Quote 0
              • T
                Tamilarasan 1 @Rishabh-Webkul last edited by 7 Jun 2024, 04:01

                @Rishabh-Webkul we are waiting for your response.

                1 Reply Last reply Reply Quote 0
                • Rishabh-Webkul
                  Rishabh-Webkul last edited by 10 Jun 2024, 04:09

                  hello @Tamilarasan-1

                  Greetings of the day..!!

                  Here is the official documentation for this. chack the link below.

                  https://devdocs.bagisto.com/2.x/packages/views.html#directory-structure

                  Thanks & Regards..!!

                  1 Reply Last reply Reply Quote 0
                  8 out of 8
                  • First post
                    8/8
                    Last post