madeyourday / contao-rocksolid-slider

RockSolid Slider Contao Extension
http://rocksolidthemes.com/de/contao/plugins/responsive-slider
Other
9 stars 7 forks source link

Skin not loading #56

Closed operatorone closed 6 years ago

operatorone commented 6 years ago

After choosing the "default" or any other skin, the css is not applied. Only the general css from /css/rocksolid-slider.min.css is loaded.

I'm using Contao 4.5.8 and madeyourday/contao-rocksolid-slider v2.0.6

ausi commented 6 years ago

I was not able to reproduce this. Selecting the “default” skin correctly loads bundles/rocksolidslider/css/default-skin.min.css in the frontend in my test on Contao 4.5.8.

operatorone commented 6 years ago

Want to have a link?

operatorone commented 6 years ago

I just downgraded to 4.4.18 to see if this is the problem. Same result.

operatorone commented 6 years ago

I reinstalled Rocksolid-Slider using the shell

composer remove madeyourday/contao-rocksolid-slider composer require madeyourday/contao-rocksolid-slider

Now I have this error message again:

rocksolid-slider.min.js Failed to load resource: the server responded with a status of 404 ()
(index):1 Refused to execute script from 'https://XXX.net/web/bundles/rocksolidslider/js/rocksolid-slider.min.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
(index):359 Uncaught TypeError: slider.rstSlider is not a function
    at HTMLDocument.init ((index):359)
ausi commented 6 years ago

Want to have a link?

Yes, a link would helpful.

operatorone commented 6 years ago

Here u are. https://abels.entwicklungs-server.net/

ausi commented 6 years ago

I can’t see any issues on https://abels.entwicklungs-server.net/. The slider loads just fine, no error messages are shown in the console.

operatorone commented 6 years ago

Unfortunately there are issues. See https://abels.entwicklungs-server.net/slider I activated the navigation and prev-next-buttons which are not well displayed.

ausi commented 6 years ago

Which “Slider skin” did you select in the module settings? Is the public directory in your installation different from /web? Does the file web/bundles/rocksolidslider/css/default-skin.min.css exist on your webspace?

operatorone commented 6 years ago

I chose "Standard" Skin. https://ibb.co/fiigud

The Symlink is existing (see Screenshot) and I assume it links to /vendor/madeyourday/contao-rocksolid-slider/src/Resources/public/css which contains all the css files. https://ibb.co/n3NVny

ausi commented 6 years ago

Please update the extension to the just released version 2.0.7, this could possibly fix your issue.

operatorone commented 6 years ago

Ok, I'll try.

operatorone commented 6 years ago

Worked. Thanks for updating.