falcon icon indicating copy to clipboard operation
falcon copied to clipboard

🐛 [BUG] - Problems when the website is inside a folder

Open maofree opened this issue 11 months ago • 7 comments

Description

Hi if the website is set inside a folder like /shop/ there are some problems:

  1. the head-preload.tpl is wrong at line 8, the /shop/ is added again at the start of url of font files
  2. if inside is_themecore is set the webp, it is wrong to use the %{DOCUMENT_ROOT} because ti gives the webroot address but without the shop folder. You can use the shop_url table to get the name of the subfolder

bye

Node.js version

v16.20

php version

8.1

OS and it's version

linux

Browsers

Chrome

Required module/theme

is_themecore and theme

Reproduction steps

1. in the webroot add a folder named like "shop"
2. install inside it a clean prestashop and falcon theme
3. then you will see in the console of your browser the errors about the fonts
4. then go inside is_themecore and active the webp option and the images will go away

bye

Logs

No response

maofree avatar Jul 28 '23 09:07 maofree