Showing 1 – 4 of 4 replies
SebH

Issue with deep pages in script.min.js […]

SebH PURCHASED
4 years ago
Issue with deep pages :

in script.min.js :

var Config={PLUGINS_LOCALPATH:"./assets/plugins/"} redirects to a bad directory for pages like https://mysite.com/mydirectory/otherone*mypage.html

I overide it by :

var Config={PLUGINS_LOCALPATH:"https://mysite.com/assets/plugins/"}
arello
arello PURCHASED
4 years ago
To the Developer:
This is a bug. It also impacts if you move assets to a sub directory or change it's name. Take a look at how SmartAdmin does it. Thanks!
Themelize.me
Themelize.me SELLER
4 years ago
No bug, check the documentation: https://themelizeme.github.io/appstrap-docs/customisation/11-pages-in-subfolders/

It should get around the issue.
arello
arello PURCHASED
4 years ago
hmmmm... it does work but why aren't you doing relational mapping to /assets? It seems to be an unnecessary complication. I'm more interested to know why, not arguing.

Thanks
arello
arello PURCHASED
4 years ago
lol and you have typos on that page

If you pages is within 1 subfolder (/admin) it would look something like:

should be

If youR pages ARE within 1 subfolder (/admin) it would look something like: