I haven’t tried the snippet what bakalek posted above, but to me it seems that you should call it simply by using: [!snippetname? &galid=`idofthegallery`!]
If you have changed the path where maxigallery generates images or maxigallery’s database table name, then you should add those to the snippet call also.
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
Quote from: vittel at Oct 31, 2008, 09:21 AM
Parse error: syntax error, unexpected ’{’ in ....../manager/includes/document.parser.class.inc.php(772) : eval()’d code on line 7
That error is saying that php parser encountered an unexpected { character on line 7 in some snippet that you are running on that document. When I look at the code that bakalek posted above, I don’t see any { character on line 7.. So are you sure you are running the same code? Or do you possibly have some other snippet running on the page that has a bug in line number 7?
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
you are right, my mistake. I mixed that up to much.
is there another (easier) way to make that:
_____
| |
|_____| an image that is changed by the thumbnails
______ the title and description of the picture showed above
|_| |_| |_| tumbnails to change the bigger img above
?
without javascript and without iframes?
The snippet that bakalek posted above should do it.. What is the problem? what it is doing and what not? how are your galleries setup? snippet calls, document ids? Pretty hard to help with the information what you have given..
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
Thank you very very much Gurthang. That little "&"!!!
and to change the tumbs to order by row you have to put
.thumbnail {
display: block;
float: right;
}
to your css.
My question for that is can I call the Maxigallery css (&css=`PATHtoMaxiGallerycss`) in the snippet?