Hi,
An excellent module. Have tested it and works well on my sandbox. The problem comes when I try to use it on one of my other sites, I do not see any icons at all, either in the admin panel or on the nodes themselves. The code is there in the HTML, but the CSS is not linked to.
It could be a module conflict, however, I think it is to do with the fact I am using the private file system. It does create the css file in the correct place, but when viewing a node, the CSS include line is produced as:
<link type="text/css" rel="stylesheet" media="all" href="/../files/mysite/css/sexybookmarks.css?1" />
If I click on it it doesn't take me to the CSS file, so this is not linking to the CSS file.
Can you confirm this is a bug?
Regards,
Nick
Comments
Comment #1
nickbits commentedHi,
I can confirm that this is a private file system issue. I have got two clen installs of drupal with only SexyBookmarks installed. On system using private and one using public. The public works but the private doesn't. It is only the CSS that fails to link.
I did have a crack at fixing this but just can't seem to get it. Here is what I ahve done (do point out the obvious mistake I have made!):
1. Changed lin 201 from:
to
2. Knowing that ctools has the same problem, I have borrowed code from there and inserted. The code is:
This still doesn't work, it just outputs:
I did try hardwiring the link ($output variable) above to one of the following:
Neither worked. I have never had to add CSS from the private file space before so I may be going about it wrong. Any pointers?
Cheers,
Nick
Comment #2
decipheredFix committed to SexyBookmarks 6.x-1.1.
Cheers,
Deciphered.