You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#109133 CSS files not loaded

Posted in ‘Editor’
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 iorbita on Thursday, 21 October 2021 10:14 BST

iorbita
Hi,
I added css rules in editor.css file in order to create two column layout in back-end editor, the problem is that editor.css and template.css files located in /templates/buildr/css are not loaded for a group of users (in my case a group of administrators), they are loaded only for SuperUsers group, is there a particular reason for that these files are not loaded?

Thanks,
Lorenzo

EDITOR TWO COLUMNS FOR SUPER USER GROUP

https://www.evernote.com/l/AAGod42F8aBOZZADTaCy6jeZeWALaL-NWr4B/image.png

EDITOR FOR ADMINISTRATOR GROUP

https://www.evernote.com/l/AAELeUObmK5ODYbVVX21VILXuL7Bj3e7_SAB/image.png

FILES NOT LOADED

https://www.evernote.com/l/AAFYb1af8sdFfrk6emwwtV7pMQ6ymEs8844B/image.png

Ryan
Do you have a specific profile assigned for the administrators group, with an Editor Styles option assigned in Editor Profiles -> Editor Parameters -> Typography?

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

iorbita
yes, I have style1.css file assigned to this group ... is there a way to get around this limitation?

Ryan
In Editor Profiles -> Editor Parameters -> Typography, set the Editor Styles option to Add, so that the Custom CSS file (style1.css) is loaded in addition to the default template styles.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

iorbita
ok, but in this case I have a lot of other css styles that are added to drop-down menu style (I think these are the styles from template.css file)

https://www.evernote.com/l/AAHn-wpdrk1Pe6y3hGIg5sXrDdKAIULwHKUB/image.png

Ryan
The Styles list is made up of classes extracted from the template stylesheets, by default. You can specify a custom stylesheet for the list in Editor Profiles -> Plugin Parameters -> Style Select. This stylesheet does not need to contain actual styles, but just the names of the classes, provided that the styles already exist in the template stylesheets, eg:

.style1 {}
.red_heading {}
etc.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

iorbita
...after a few test this is the configuration which seems to be working fine, thanks.

https://www.evernote.com/l/AAGMw7inv6NL-aNIFNugyB5gB9dQUn8z80cB/image.png

https://www.evernote.com/l/AAH6-1vayr1CNKdwl7z2pFOFVR-lTbXVPKsB/image.png