Wappler v5.4.0 (MacOS) broke website styles inside Wappler UI, meaning my project shows unstyled in Wappler v5.4.0 like it’s a website from the 2000.
What exactly has changed from v5.3.3 to v5.4.0 regarding this?
I confirm:
No project changes were performed during the upgrade from v5.3.3 to v5.4.0
main.ejs renders correctly, although it does show an error (related to an EJS expression) in the console that didn’t appear in previous Wappler versions. Fixing the error doesn’t fix the other pages
Was that on a specific content page? The head of the main page gets now fully included to correctly render.
This was available as experimental options for a few months to test.
Could you post the html code of the main page and the content page so we can check?
You probably had it configured once as relative to document instead of relative to site root, it doesn’t update existing pages after you change that setting, it should fix the urls when you save the file again.
With the url fixed, do the content pages now show correctly again?
This was the setting in my project settings already and most of the script and style links were prepended by a ‘/’, except the custom bootstrap stylesheets and scripts. Manually prepended a / to those paths as well like @Apple did, which fixed the issue.
As far as I remember it’s one of those Bootswatch themes (don’t remember if it’s the original location or not), but I also had some custom CSS in a separate file
It happens in my node.js project. Wappler visualises the page with styles and suddenly as I made some modification sometimes show it like html 1.0. Also in previous versions
Then I must restart it to get the page properly shown
I am working in a PHP with a head index page and lots of routes. Where route pages are in the root folder everything works ok. The content page references the head as ‘index.php’ and design view shows and everything saves ok.
When, however, a route page is in a subfolder I get issues. If I change the reference to the head page to ‘index.php’ design view works but it will not save as Wappler says it cannot find the head page. If I change the head reference to ’ …/…/index.php’ design view now doesn’t work but it will save.