Only Accepting PHP file not HTML
-
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 -
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
Thanks & Regards..!!
-
@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. -
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. -
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..!!
-
hello @Rishabh-Webkul do you mind to share any documentation related to this.
Please advise. -
@Rishabh-Webkul we are waiting for your response.
-
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..!!