Closed (fixed)
Project:
Bibliography Module
Version:
6.x-1.5
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Jun 2009 at 16:10 UTC
Updated:
2 Jul 2009 at 14:20 UTC
A minor problem: when Drupal is installed in a user's ~/public_html, the small arrows beside the "Sort by" links do not show up, because the generated links pointing at the wrong location. Attached you find a patch, which essentially changes the links to the images to relative ones.
| Comment | File | Size | Author |
|---|---|---|---|
| biblio.pages_.inc_.diff | 986 bytes | lifepillar |
Comments
Comment #1
rjerome commentedI had it like that before, but I think there will still be a problem if you apply any filters.
Comment #2
lifepillar commentedYou're right... But maybe there is a way to generate a link that works in every case?
Comment #3
rjerome commentedCould you try adding the "$base_path" global as shown below...
or this diff...
Comment #4
lifepillar commentedOf course, it should be:
$order_arrow = ($order == 'asc') ? '<img src ="'.$base_path.$path.'/arrow-asc.png" alt =" (Desc)" />':'<img src ="'.$base_path.$path.'/arrow-desc.png" alt = " (Asc)" />';Yes, that works for me, thank you.
Comment #5
rjerome commentedRight you are! This has been committed to the -dev branch and will be subsequent releases.
Ron.
Comment #6
xoxox commentedhow to apply the patch?
Comment #7
rjerome commentedYou can download and install the -dev version just like 1.5 version and then when 1.6 comes out, you can go back to the release version.