Support

Pre-sales

#36378 follow-up of #36363

Posted in ‘Pre-sales and Account Questions’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by woluweb on Thursday, 06 January 2022 14:26 CST

woluweb

Hi Nicholas,

My apologies, I closed #36363 a little bit to soon (one should always wait 1 hour before executing anything in life :P ).

I had mentioned it briefly somewhere in my post, there was such an error message on https://www.whatt.eu/en/blogs-podcasts/welcome

Refused to apply style from 'https://www.whatt.eu/en/media/plg_system_darkmagic/css/skin.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

But actually now I have just realized the following:

  • that error msg appears nowhere on the site (so not on Single Article Views)
  • except on the Article views when clicking from a Blog view

So I first thought it would be a side effect of Engage since there are precisely the same page where Engage is enabled (obviously since it is a blog...).

But I wanted to be sure before reporting. So I completely disabled Engage... and the issue was still there.
So Engage is innocent on this one :)

Then I tested with another Blog view. Same issue : when opening a Single article from a Blog view, the error comes in the Console.

Then after discovering that, I realized that actually the url should not be

https://www.whatt.eu/en/media/plg_system_darkmagic/css/skin.css

but

https://www.whatt.eu/media/plg_system_darkmagic/css/skin.css

So there must be something at hand here (a kind of bug in Dark Magic, bc the latter file is indeed present)

Sorry if this is maybe not the right place to report this, but since we were busy with #36363 I continued here.

nicholas
Akeeba Staff
Manager

I had fixed that months ago. This fix is included in DarkMagic 2.0.1 released two weeks https://github.com/nikosdion/DarkMagic/releases/tag/2.0.1

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

woluweb

Txs for the feedback Nicholas.

Actually, I only installed DarkMagic on Monday... and so it *is* already version 2.0.1 (see screenshot).

 

nicholas
Akeeba Staff
Manager

Wait, we actually don't use the skin.css file anywhere in DarkMagic for Joomla 4. That's supposed to be used to style the TinyMCE editor but I was never able to make it work on J4. It shouldn't have any impact on your site (and yes, my dev site is multilingual too, using stock Cassiopeia).

For now, you can ignore that. I will take another stab at trying to style TinyMCE in J4. If it's not possible I will just scrap this feature.

On our own site I found that it's far better if I simply include an editor.css file in my template with light and dark mode stylesheets. The light coloured editor chrome is far less distracting than the main editing area in dark mode.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

woluweb

Excellent.

For the last time today, thank *you* very much Nicholas :)

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!