10389 Posts in 2200 Topics by 1712 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 812 Views |
-
ImageGallery upload link

25 October 2009 at 1:03am
I was unable to upload images to an album in a locale different than the default. Not sure if this is a correct fix but i had to change this function in ImageGalleryManager.php in order for it to work:
public function UploadLink()
{
return parent::UploadLink()."?album=".$this->getSelectedAlbumID();
}to this:
public function UploadLink()
{
return Controller::join_links( $this->BaseLink(), 'upload?album=' . $this->getSelectedAlbumID() );
}Could not find much info about it so maybe someone finds it useful.
-
Re: ImageGallery upload link

25 October 2009 at 1:05am Last edited: 25 October 2009 7:07am
Or perhaps the UploadLink() function should be fixed in FileDataObjectManager... Which would make the subject of this post a bit misleading :S
edit: nevermind, the original ImageGalleryManager.UploadLink() would still need the fix
| 812 Views | ||
|
Page:
1
|
Go to Top |

