No, It’s not supposed to work like that. What browser do you use? maybe the href value has to be that "javascript:;" instead of # like Wendy said for some specific browsers.. I didn’t have problems with FF. I’ll change it to the next version if this is the case.
1. main window navigates back to root doc of site (that’s not the way it’s supposed to work, is it?)
The folders in modx manager treemenu has nothing to do with the paths of the images. All gallery images will be in a path like http://mysite.com/assets/galleries/10/myfile.jpg. In that path "assets/galleries/" is the path what you have set in the snippet to the $path_to_galleries settings and 10 is the document ID where the gallery snippet is called. I didn’t quite understand what’s the problem you’re having, do you have demo link to give?
2. image that should display in popup window is not found. When the URL is constructed for the image, it is appending assets/galleries/(galleryid)/(imagename) (where galleryid and imagename represent the folder created when images were uploaded and the name of the file) to the path to the doc with the snippet call instead of appending it to the root site url.
Glad that you got it working allready, the problem you described that the page simply reloads when accessing picture manager sounded to me that, you were using the snippet in a cached document with cached snippet call.
Got a Problem with that... When I try to access the picture manager, the page simply reloads, but nothing else changes.
$link="<a href=\"" . $file . "\" rel=\"lightbox\">";
$link="<a href=\"" . $file . "\" rel=\"lightbox[slideshow]\" title=\"". $pictitle ."\">";
$pictitle=htmlentities(stripslashes($pic['title']));
My $path_to_galleries is set correctly. The problem I’m having is that, when I set "embedtype" to "popup," the link that are created for the thumbnail images are incorrect. For example, let’s say that I have uploaded an image to gallery id 10, and it is located at http://mysite.com/assets/galleries/10/myfile.jpg . The problem is that the link on the tumbnail is pointing to http://mysite.com/mygalleries/assets/galleries/10/myfile.jpg instead (where "mygalleries" is the name of the folder that contains doc id 10 which has the MaxiGallery snippet call in it), so the image is not found.
The folders in modx manager treemenu has nothing to do with the paths of the images. All gallery images will be in a path like http://mysite.com/assets/galleries/10/myfile.jpg. In that path "assets/galleries/" is the path what you have set in the snippet to the $path_to_galleries settings and 10 is the document ID where the gallery snippet is called. I didn’t quite understand what’s the problem you’re having, do you have demo link to give?
This happens for me in both IE6 and FF1.5.0.1 on WinXP SP2.
Quote from: ddecjc at Apr 08, 2006, 10:10 AMNo, It’s not supposed to work like that. What browser do you use? maybe the href value has to be that "javascript:;" instead of # like Wendy said for some specific browsers.. I didn’t have problems with FF. I’ll change it to the next version if this is the case.
1. main window navigates back to root doc of site (that’s not the way it’s supposed to work, is it?)
Oh, now I get it by looking at your site.. you have "Use friendly alias path" set to yes? right? I have not done any testing with that on yet, sorry. So I bet that’s causing both of the troubles you’re having.. I’ll release a new version of the gallery today as I have allready done some bugfixing, I’ll look into this problem now and hope I can patch it to the next version also.
My $path_to_galleries is set correctly. The problem I’m having is that, when I set "embedtype" to "popup," the link that are created for the thumbnail images are incorrect.
This discussion is closed to further replies. Keep calm and carry on.