JS url wrong generated from fucntion.js file

7 replies · opened Mar 16, 2023

FfacaifacaiMar 16, 2023

Hello
I'm using Version7 Now.
Here is something wrong JS URL generated wrong from function.js file.
the JS wrong url didn't find js files we uploaded.
I took some screentshot.
Our static files directory :
Staitc
Canvas7
js
css
images
if we vist page url : abc.com/page1/, the js url will be generated abc.com/page1/js/plugins.swiper.js
but the right js url should abc.com/static/canvas7/js/plugins.swiper.js

We're using django, not php.
You should know when your see the screenshoot.
Thank you.

SSemicolon WebSTAFFMar 16, 2023

Hello,

Please consider updating to the Latest Version 7.0.2. We have tried fixing this in the Latest Version and now you can also add an absolute url for the JS Folder. Simply open the js/functions.js File and find the jsFolder:"js/" and change this according to your needs.

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

FfacaifacaiMar 17, 2023

Hi
It doesn't work.
I have changed jsFolder:"js/" to jsFolder: "static/canvas7/js/"
I think that is Javascript has a little problem.
The url path will be added in static URL
Ex: I visit www.xxx.com/gg/ , the "gg" will be added to static url. You can see my screentshot.

Thank you.

SSemicolon WebSTAFFMar 17, 2023

Hello,

Yes, we confirm this is a bug. Allow us some time and we will provide you with the Files along with updating the Package shortly. Apologies for the Inconveniences on this, we are still fine-tuning this based on exact user requirements and we assure you this will be fixed. Thanks for your Kind Patience.

Meanwhile, do let us know if we can help you with anything else or if you find any further issues with Canvas.

FfacaifacaiMar 17, 2023

OK. I will wait, Will your notify me.
Your theme is good. Thank you.

SSemicolon WebSTAFFMar 18, 2023

Hello,

This issue has been resolved. An update will be available within a few hours. Thanks for your Patience.

Meanwhile, do let us know if we can help you with anything else or if you find any further issues with Canvas.

FfacaifacaiMar 18, 2023

OK. Can I only need update function.js this file?
Thank you.

SSemicolon WebSTAFFMar 18, 2023

Hello,

This fix will require you to update all the Files in the js/ Folder.

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard