Designers in 5.4
The resource links in a new designer (generated by thunder) look like this
<sitefinity:ResourceLinks ID="resourcesLinks" runat="server">
<sitefinity:ResourceFile Name="Styles/Ajax.css" />
<sitefinity:ResourceFile Name="Styles/jQuery/jquery.ui.core.css" />
<sitefinity:ResourceFile Name="Styles/jQuery/jquery.ui.dialog.css" />
<sitefinity:ResourceFile Name="Styles/jQuery/jquery.ui.theme.sitefinity.css" />
</sitefinity:ResourceLinks>
Now I'm getting a ton of error log errors looking for these files, usually under the themes folder...related? Are these relative or pulled from from the resources assembly?
Hey Steve,
Actually this problem exists in Sitefinity, thunder just inherits the bug. If you go to backend page edit the files 404 as well. (turn stylesheet combining off for a minute and you'll see it)
Had a support ticket open this week and quote
"You are correct. I have been testing it more and the files that are 404ing are found in the Telerik.Sitefinity.Resources by default. I will pass this along to the QAs so they can investigate it further and log it as a bug."
So for the time being, they won't be pulled from the resources but we need to manually include them in the styles folder.
Jochem
I was not able to find these in the SDK anywhere. Did you extract them with JustDecompile?
Edit: That went faster than I thought. I went ahead and extracted them for now and that does take care of the 404's.
Glad I found this post, I was about to pull my hair out trying to determine what I changed in my template....which was nothing ;P
Hi,
You can also load them from the Telerik.Sitefinity.Resources.dll
<
sf:ResourceFile
Name
=
"Telerik.Sitefinity.Resources.Themes.Default.Styles.jQuery.jquery.ui.core.css"
Static
=
"True"
/>
<
sf:ResourceFile
Name
=
"Telerik.Sitefinity.Resources.Themes.Default.Styles.jQuery.jquery.ui.dialog.css"
Static
=
"True"
/>
<
sf:ResourceFile
Name
=
"Telerik.Sitefinity.Resources.Themes.Default.Styles.jQuery.jquery.ui.theme.sitefinity.css"
Static
=
"True"
/>
@Atanas,
What about ajax.css?
It's not a 404 on any of the default widget/page editing, but Steve's right that it gets included when creating a new designer. Should it be Telerik.Sitefinity.Resources.Themes.Default.Styles.Ajax.css?
Jochem
Hello,
Yes, this is the path to the file.
Kind regards,We are getting the same errors in our error logs after upgrading to 5.4. Is there a fix or do we have to add the code posted by Atanas?
If so, where do you add that code?
Thanks
Hi,
If you are getting the error from your theme, you can add the attached files to the appropriate folder and it will resolve the error.
All the best,Hi All,
Atanas, so how exactly does one load them from the Telerik.Sitefinity.Resources.dll?
Where do we place the sample code you provided here?
(Attach: screenshot of the "files not found" in Chrome's Console.)
Thanks,
Gregory
Hello,
The provided code can be used on the master page.
Greetings,Atanas, we are upgrading a client that is on 5.2 and we need to go to 5.4 first. After upgrading, we are getting this:
ResourceName property of the ResourceLinks has specified a resource with an invalid extension. Allowed extensions are: .css, .jpg, .jpeg, .gif, .png and .js
Is this the same issue and if so, where can I get the code to drop in the template? I didn't see it attached.
having this exact issue myself. has there been a resolution?
Hi,
I am attaching the archive again. If you are upgrading, please, upgrade to the latest version where the issue is no longer present.
Regards,
Atanas Valchev
Telerik