Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I had my templates in simple HTML but when I put my templates, scripts and css in the Umbraco site. The fonts stopped being picked up.
At first I thought it was a path thing, but it wasn't. Whenever I try to type the URL of the referenced font I get an error.
umbraco tried this to match it using this xpath query'/root/* [@urlName = "login"] | /root/*/* [@urlName = "login"]')
I know my path is correct because when I try a slightly different path I get the obvious error:
Internet Information Services 7.5
In my web.config file I have:
<staticContent> <remove fileExtension=".air" /> <remove fileExtension=".ttf" /> <remove fileExtension=".eot" /> <remove fileExtension=".svg" /> <remove fileExtension=".otf" /> <remove fileExtension=".woff" /> <mimeMap fileExtension=".air" mimeType="application/vnd.adobe.air-application-installer-package+zip" /> <mimeMap fileExtension=".ttf" mimeType="font/opentype" /> <mimeMap fileExtension=".eot" mimeType="application/vnd.ms-fontobject" /> <mimeMap fileExtension=".svg" mimeType="image/svg+xml" /> <mimeMap fileExtension=".otf" mimeType="font/otf" /> <mimeMap fileExtension=".woff" mimeType="application/x-woff" /> </staticContent>
What should I look for now?
Hi Fabio
What server version are you running? IIS 7.5? ISSexpress 7 or 8, or?
And are you positive that if you remove the reference to the font that the error goes away? If so...have you tried deleting the ClientDependency files in the App_Data/TEMP folder?
Looking forward to hearing more from you.
/Jan
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Can't read font files in Umbraco
I had my templates in simple HTML but when I put my templates, scripts and css in the Umbraco site. The fonts stopped being picked up.
At first I thought it was a path thing, but it wasn't. Whenever I try to type the URL of the referenced font I get an error.
Page not found
No umbraco document matches the url 'http://localhost/login.aspx?ReturnUrl=/css/bliss-heavy.otf'
umbraco tried this to match it using this xpath query'/root/* [@urlName = "login"] | /root/*/* [@urlName = "login"]')
I know my path is correct because when I try a slightly different path I get the obvious error:
Server Error in Application "LOCAL.DOTAGENCYLONDON.CO.UK"
Internet Information Services 7.5
In my web.config file I have:
<staticContent>
<remove fileExtension=".air" />
<remove fileExtension=".ttf" />
<remove fileExtension=".eot" />
<remove fileExtension=".svg" />
<remove fileExtension=".otf" />
<remove fileExtension=".woff" />
<mimeMap fileExtension=".air" mimeType="application/vnd.adobe.air-application-installer-package+zip" />
<mimeMap fileExtension=".ttf" mimeType="font/opentype" />
<mimeMap fileExtension=".eot" mimeType="application/vnd.ms-fontobject" />
<mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
<mimeMap fileExtension=".otf" mimeType="font/otf" />
<mimeMap fileExtension=".woff" mimeType="application/x-woff" />
</staticContent>
What should I look for now?
Hi Fabio
What server version are you running? IIS 7.5? ISSexpress 7 or 8, or?
And are you positive that if you remove the reference to the font that the error goes away? If so...have you tried deleting the ClientDependency files in the App_Data/TEMP folder?
Looking forward to hearing more from you.
/Jan
is working on a reply...