This project has moved and is read-only. For the latest updates, please go here.


Style sheet load order


I realize this might be a breaking change, but I do think the following would be more logical.

When I add this in the template:
{{registerstylesheet "styles.css"}}
{{registerstylesheet "flexslider/flexslider.css"}}

The result it this:
<link href="/Portals/.../Templates/FlexSlider-Img-Title-Subtitle/flexslider/flexslider.css?cdv=147" media="all" type="text/css" rel="stylesheet">

<link href="/Portals/.../Templates/FlexSlider-Img-Title-Subtitle/styles.css?cdv=147" media="all" type="text/css" rel="stylesheet">

So the stylesheets are injected in reverse order.
That is not very logical for new users IMO. :-)
Closed Mar 30 at 3:06 PM by sachatrauwaen


sachatrauwaen wrote Mar 26 at 2:51 PM

I think this is fixed in 3.2.

Can you let me know

Timo_Design wrote Mar 30 at 12:49 PM

yes, seems fine now :-)

Timo_Design wrote May 12 at 10:21 PM

I found that while this works in CP view mode, the order is "the old way" in Edit mode.
So it's not completely fixed is seems.

Timo_Design wrote May 12 at 10:26 PM

Weird, I see this in one portal not in the other, with the same template... ???