#1
I can't get Trongate design templates from the module market to display images or CSS except for when viewing from a browser on the localhost. I'm using XAMPP. For remote browsers it just displays text with HTML formatting only.

Here's example of how I'm testing the design templates.
#2
Please repost your example..
#3
It appears this Help Bar eats PHP code and everything after it.
How do I post the code example without it getting eaten?
#4
Using an online tool to convert HTML entities before you paste them into the code block, opening php tags will get stripped and your code block will not come out as expected.
I use this one >> https://www.online-toolz.com/tools/text-html-entities-convertor.php
#5
Sorry, I missed dim grey text that explains how to create a code block.
I'm using the example code found at: [https://trongate.io/docs/information/loading-templates] in the welcome module controller.

Even the 'admin' and 'public' templates don't display CSS or images on remote browser, they only display properly on the local browser.

I installed Wordpress on the XAMPP and it works fine. Remote browsers get graphics and CSS.
#6
Wow that was stupid simple issue to fix.
Changed BASE_URL in config.php from localhost to machine name and now all the CSS and images load for the templates.

#7
Suggest adding a Big Red Warning to #The Config Folder section on this page:
https://trongate.io/docs/information/the-structure-of-a-trongate-web-app

#8
Yes you must change your BASE_URL in config.php to make it work on whatever server you have, be it localhost or your internet facing DNS or ip address.

You should also pass in a view file and it helps to pass the module name if you have custom routes

#9
The Pre Launch Checklist in the docs is very great to see important things when changing servers or enviroments. This checklist can be good to print out and have in a handy place easy to see.

https://trongate.io/docs/information/pre-launch-checklist