Bootstrap path

18 replies · opened Jul 27, 2020

CCOALspotJul 27, 2020

Hi,

I have a standard dropdown toggle as follow

<a href="#" class="btn btn-secondary btn-sm dropdown-toggle" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="true">Hi,User
<ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownMenu1">
Profile

Then i have this in the head

<link rel="stylesheet" href="http://localhost/myproject/canvas/css/bootstrap.css" type="text/css" /> --->> the dropdown won't show , all bootstrap css can load perfectly

<link rel="stylesheet" href="canvas/css/bootstrap.css" type="text/css" /> --->> the dropdown shows successfully, all bootstrap css can load perfectly

Why i cannot use the first option ? because i have a web page like http://localhost/myproject/email/verify , i use the 2nd option, the css won't load in this page

Please help

Thanks

SSemicolon WebSTAFFJul 27, 2020

Hello,

The First CSS Linking should work perfectly fine without any issues. There might be something else in your Codes which might be causing this. Can you please provide us with a Live URL so that we can check out the exact issue and provide you with more assistance on this. Thanks for your Patience.

Additionally, make sure that you are using the Latest Version of Canvas: http://docs.semicolonweb.com/docs/changelog/version-6-0-4/.

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

CCOALspotJul 28, 2020

I'll see how to upload it to live url, because it's not ready yet for public. But in the meantime i found out that by using the first linking, the click event does not bind on the tag

SSemicolon WebSTAFFJul 29, 2020

Hello,

Apologies about the Inconveniences but it is hard to understand the issues without a Live URL.

So we would request you to provide us with a Live URL, whenever you are ready, as we are sure that something is wrong with the codes. Because even if you use the Bootstrap CDN, it will perfectly work fine.

Hope this Helps!

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

CCOALspotJul 31, 2020

Hi,

I managed to upload it.
Please try here
https://eocenecoal.com/re23hj/public/home
Please login first from the top left, Sign In menu, choose Member, the username and password is
denny_sutanto1@yahoo.com : 1234567890
after login the menu will be replaced with "Hi, Denny" , which dropdown doesn't work

Thanks

SSemicolon WebSTAFFAug 1, 2020

Hello,

We have checked out your Website and you are using an Old Version of Canvas. This issue has already been fixed in the Latest Versions of Canvas. Simply update to the Latest Version and this should fix the issue. But if you are not ready to update to the Latest Version, you can simply update the defaults: function() Function Block in the js/functions.js File to the Latest Version.

This will definitely fix the issue. Hope this Helps!

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

CCOALspotAug 1, 2020

Hi,

I'm sorry a bit lost here, where can i get the latest version ?

Thanks

CCOALspotAug 1, 2020

Hi, I got the latest one already, i copy the file functions.js only to my project.

I have error as in my attachment.

I believe it's this line at functions.js

let pluginFnExec = Function("return " + settings.pluginfn)(),
jsPath = "js/",
file,
disableAJAX = false;

this is how i include the javascripts

&lt;script src="http://localhost/newcoalspot/public/canvas/js/jquery.js"&gt;&lt;/script&gt;
&lt;script src="http://localhost/newcoalspot/public/canvas/js/functions.js"&gt;&lt;/script&gt;
CCOALspotAug 1, 2020

Additional information, here is my folder structure where i keep my functions.js file

SSemicolon WebSTAFFAug 1, 2020

Hello,

Thanks for reporting this to us!

It is then highly recommended to update all the JS Files in the js/ Folder. And meanwhile, we would still suggest you to update your website entirely with the Latest Version of Canvas according to the Changelogs provided: http://docs.semicolonweb.com/docs/changelog/version-6-0-4/ .

Let us know if you face any further issues.

CCOALspotAug 2, 2020

I have replaced js and css folders with the new one.

I got these errors and many more similar errors

Loading failed for the <script> with source “http://localhost/newcoalspot/public/js/plugins.form.js”. localhost:1:1
plugins.form.js: Plugin could not be loaded functions.js:307:37
Loading failed for the <script> with source “http://localhost/newcoalspot/public/js/plugins.bootstrap.js”. localhost:1:1
plugins.bootstrap.js: Plugin could not be loaded functions.js:307:37
Loading failed for the <script> with source “http://localhost/newcoalspot/public/js/plugins.easing.js”. localhost:1:1
plugins.easing.js: Plugin could not be loaded

I added "canvas" on the jsPath, because my folder structure is different, as you can see on the above screen shot
let pluginFnExec = Function("return " + settings.pluginfn)(),
jsPath = "canvas/js/",
file,
disableAJAX = false;

But i got another errors
SEMICOLON_flexSliderInit Function does not exist

Please help

SSemicolon WebSTAFFAug 2, 2020

Hello,

We have checked out your Codes and you have not updated all the JS Files in the js/ Folder to the Latest Version as we have recommended in our previous reply! Please make sure that you update all the Files completely to the Latest Version instead of partial updates to avoid unnecessary issues/errors.

Hope this Helps!

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

CCOALspotAug 3, 2020

Hi,
I did an update only in my localhost, i don't know if i should re upload to the server.
I have just uploaded to the server, please check again.

Thanks

SSemicolon WebSTAFFAug 4, 2020

Hello,

Thanks for your Patience. Everything appears to be working fine for us now.

Let us know if there are any further issues with this.

CCOALspotAug 6, 2020

I still see error, please see my attachment, the browser console

SSemicolon WebSTAFFAug 6, 2020

Hello,

We have just checked this out and the Flex Sliders and the JS Functions appear to be working executing fine for us. Please consider clearing your browser Cache and consider checking this out again. 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.

CCOALspotAug 8, 2020

Thanks, seems like you're right, it's my cache

SSemicolon WebSTAFFAug 9, 2020

Hello,

Glad that your issues were resolved.

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

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