Issue Loading CSS files

Post here questions and problems related to editing and publishing DITA content.
edcummins
Posts: 5
Joined: Mon Jul 01, 2024 8:20 pm

Issue Loading CSS files

Post by edcummins »

I have a repository in Github which has XML documents. I am trying to make them more readable using a css which is stored in a different but public repository so it's easy for content fusion to access. I get the message: Error loading CSS filesConnection to https://github.com/JohnAxiome/cssdocs/b ... -basic.css was blocked because it is not configured as a trusted host. I then go to administration page and add that exact link to the list of trusted sources but the same message comes up. I have even gone as far as just putting an asterisk (*) to allow anything to be trusted but I get the same message. Thank you in advance for the help.
cosminef
Site Admin
Posts: 234
Joined: Wed Aug 30, 2023 2:33 pm

Re: Issue Loading CSS files

Post by cosminef »

Hello,

Thank you for contacting us.
To eliminate the respective error, it is necessary, also on the Administration page, in the Firewall section [1], to specify the allowed connections.
Also, you can load the CSS from a framework.

[1] https://www.oxygenxml.com/doc/versions/ ... vq_dgk_54b

Best,
Cosmin
Cosmin Eftenie
www.oxygenxml.com
edcummins
Posts: 5
Joined: Mon Jul 01, 2024 8:20 pm

Re: Issue Loading CSS files

Post by edcummins »

Hello,
Thank you so much for your response. I am however struggling to do what you have said. In the trusted code security section in the administration page I have simply put just an * to allow any location for the css. I have added the css source into the xml <?xml-stylesheet type="text/css" href="https://github.com/JohnAxiome/cssdocs/b ... -basic.css"?> and cssdocs is a public repository so I can't see why there is still an issue accessing it.
Thank you.
cosminef
Site Admin
Posts: 234
Joined: Wed Aug 30, 2023 2:33 pm

Re: Issue Loading CSS files

Post by cosminef »

Hello,

We understand your confusion, but by design, the security mechanism is implemented in such a way that, in the Firewall section, only trusted hosts need to be specified.
To clarify, does it work if you add the host in the Firewall section as well?

Best,
Cosmin
Cosmin Eftenie
www.oxygenxml.com
edcummins
Posts: 5
Joined: Mon Jul 01, 2024 8:20 pm

Re: Issue Loading CSS files

Post by edcummins »

Hello,
I cannot see a firewall section. In the administration page I can only see General, Plugins, Frameworks, Connections, Security.
Thank you again.
cosminef
Site Admin
Posts: 234
Joined: Wed Aug 30, 2023 2:33 pm

Re: Issue Loading CSS files

Post by cosminef »

Hello,

In the Security tab you will find the Firewall section.

Best,
Cosmin
Cosmin Eftenie
www.oxygenxml.com
edcummins
Posts: 5
Joined: Mon Jul 01, 2024 8:20 pm

Re: Issue Loading CSS files

Post by edcummins »

Hi Cosmin,
The Security section only has Security Options and Trusted Code. In the trusted code section I have put * in order to allow any source. Also I have tried putting the actual source there aswell and that does not work either.
Best,
Ed
Last edited by edcummins on Mon Jul 15, 2024 9:58 am, edited 2 times in total.
cosminef
Site Admin
Posts: 234
Joined: Wed Aug 30, 2023 2:33 pm

Re: Issue Loading CSS files

Post by cosminef »

Hello,

We apologize for the confusion caused. For Content Fusion, you can find this option in the Administration Page, under the GENERAL tab, at the bottom:
CF-trusted-code.PNG
Best,
Cosmin
You do not have the required permissions to view the files attached to this post.
Cosmin Eftenie
www.oxygenxml.com
edcummins
Posts: 5
Joined: Mon Jul 01, 2024 8:20 pm

Re: Issue Loading CSS files

Post by edcummins »

Hello,
In the general tab I only have a section called "General Tracking". I can't find an "Editing & Publishing" section as your screenshot indicates.
Thanks again,
Ed
You do not have the required permissions to view the files attached to this post.
cosminef
Site Admin
Posts: 234
Joined: Wed Aug 30, 2023 2:33 pm

Re: Issue Loading CSS files

Post by cosminef »

Hello,

In the Administration Page of Oxygen Content Fusion, on the GENERAL tab, you need to look at the bottom of the page.
admin-page.PNG
Best,
Cosmin
You do not have the required permissions to view the files attached to this post.
Cosmin Eftenie
www.oxygenxml.com
edcummins
Posts: 5
Joined: Mon Jul 01, 2024 8:20 pm

Re: Issue Loading CSS files

Post by edcummins »

Hi Cosmin,
I have just tried that and it has worked. Thank you so much for your help.
Best regards,
Ed
Post Reply