Closed (duplicate)
Project:
Icon API
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Mar 2014 at 13:46 UTC
Updated:
16 Mar 2014 at 23:47 UTC
Jump to comment: Most recent
Comments
Comment #1
markhalliwellI appears that aggregation could be the reason. It's likely that we need to introduce a parser to rewrite resource paths so they're absolute.
It would work if http://ico-test.desertfish.co.uk/sites/ico-test.desertfish.co.uk/files/i... were instead of just starting with:
url('fonts/..');Comment #2
markhalliwellActually, core's CSS aggregation should be parsing this already: drupal_build_css_cache(), which calls _drupal_build_css_path().
I was taking a closer look at view-source:http://ico-test.desertfish.co.uk... it doesn't appear that the CSS is being loaded at all. Are you using the icon_filter module? Do you have it enabled for that text format? Are you using the icon tag:
[icon:icomoon_hop:home]or are you simply putting in the raw HTML?Comment #3
juc1 commented@ Mark Carver thanks for your help. I have added a screenshot (yellow border) of my edit page.
The icon tag and raw HTML seem to give the same result = clear all caches and the icons display ok. Reload the page and they do not display.
"Aggregate and compress CSS files" at /admin/config/development/performance does not seem to make any difference to this behaviour. "Aggregate and compress CSS files" checked is here, "Aggregate and compress CSS files" unchecked is here.
Any ideas please?
Comment #4
markhalliwellAre you sure you're actually using the latest dev release of Icon API?
I committed the fix for fields which isn't in a stable release at the moment
https://drupal.org/comment/8514357#comment-8514357
This issue is probably a duplicate of the related issue.
Comment #5
juc1 commentedNo I didn't realise I was supposed to be using the dev release - anyway the dev release seems to fix the issue so thank you :)
Comment #6
markhalliwell