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

      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

        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 Reply Quote 0
        • T
          Tamilarasan 1 last edited by

          @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

            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

              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 Reply Quote 0
              • T
                Tamilarasan 1 @Rishabh-Webkul last edited by

                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

                  @Rishabh-Webkul we are waiting for your response.

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

                    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
                    • First post
                      Last post