cacheBust issue with bootstrap themes

0
Hi all, I have tried to install the bootstrap theme flatly using the desktop modeler. Running the app, I get the following issue: The 'cacheBust' parameter is missing. Update the index page in the theme by adding the cachebust to the 'dojoConfig' and to every url pointing to a static resource (e.g. scripts and stylesheets). See index-example.html in the deployment/web directory for an example of what the index page should look like. This issue seems common, here is a solution: https://community.mendix.com/link/questions/13162  I have tried to implement the solution as follows Unzip flatly theme folder Change flatly index.html as described here  https://community.mendix.com/link/questions/13162  Replaced the index.html in ... /myapp/theme/ with the updated index.html Re-compiled the app   However, I still get the same message The 'cacheBust' parameter is missing... Installing other themes; e.g. midnight theme, works... Any ideas?  
asked
4 answers
3

Hi Chris,

 

I published a new flatly zip file onto the appstore. Hopefully this solves your issue. Looking at the code on GitHub. It looks like i had updated the themes to support cachebust. I must have missed this one when i updated the files.

 

If you want to view more information on these themes then this repo is helpful:

https://github.com/mendix/MxBootswatch

 

If you re-download the flatly theme. It should work correctly. If not raise an issue on the Github repo.

 

 

answered
2

after doing all those changes did you clean deployment directory before rerunning the project? its under project > clean deployment directory. If you added the cachebust parameter to the index file that should fix the issue. 

answered
2

Hi Chris,


These themes were created in an older version of Mendix and hence why they don't work. If there is enough demand for these themes i'll update them to the latest version of Mendix. As i created the original versions.

Who else would like to see these themes updated? If we get enough people i'll spend some time to get them upgraded.

 

Regards

Simon

answered
1

Since you mentioned replacing the index.html file in your theme, I assume there's no other ZIP file of your theme in that directory?

If that's not the case, make sure the Project settings point to the correct files. Check to see whether Theme (under tab Runtime) is set to the zip file or (Default).

answered