Closed (fixed)
Project:
Fast Gallery
Version:
6.x-3.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Dec 2008 at 19:20 UTC
Updated:
6 Feb 2009 at 20:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
ncy commentedjust a guess, i probably shouldn't have named some variables $base_path because that's reserved by Drupal?
anyway, try this patch. it renames all instances of $base_path to $bpath.
Comment #2
ncy commentederh, sorry, i messed up the order of the files in the diff command.
re-posting patch:
Comment #3
verikami commented:-(
...nothing changes - so this is not a problem with $base_path/$bpath
...it is strange that the link is wrong only in block...
gallery page:
generates (respectively) proper links to subdirs:
but links 4 all lang versions from block are:
Comment #4
verikami commented...I think the problem is located here:
function: theme_fast_gallery_display_block()
line: ~1013
Comment #5
verikami commented...& this works for me:
but I do not know how to make 'professional patch'...
Comment #6
rapsli commenteddoes this work too:
$link = l($img,$random_img_path,array('html'=>TRUE));
let me know so I can put it into the code.
Comment #7
verikami commentedit's ok :-)
...lots of functions... I'm just starting to learn this api
Comment #8
rapsli commented