[[EvoGallery? &display=`images` &type=`simple-list` &docId=`id of document` ]]
Yes I add the same issue &docId seams to be mandatory
Schtroumpf Grognon - Grouchy Smurf
---------------------------------
Faites pas attention.. - Don't pay attention
http://www.dzi-neo.net
Thanks for reply. I’m using that call in template, so it should change depending on which page you are. I think about something like &docId=’[~id~]’ i’m doing something wrong:) What should i use for dynamic id?
By the way if I’m using let’s say &docid=’37’ i get this mysql error:
« Execution of a query to the database failed - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ’37’’ ORDER BY id ASC’ at line 1 »
(call is: [[EvoGallery? &display=`images` &type=`simple-list` &docId=’37’ ]] )
Thanks again!
-
☆ A M B ☆
- 24,524 Posts
[*id*]
[~xx~] is for generating a URL, and needs to be a numeric resource ID.
-
☆ A M B ☆
- 24,524 Posts
Looks like you’re using ’’ single-quotes instead of `` backticks around the parameter value
[[EvoGallery? &display=`images` &type=`simple-list` &docId=`37` ]]
Yes I found that bug:) But you were faster to write an reply:) Thank you all for your help:) Now works perfectly!:)
-
☆ A M B ☆
- 24,524 Posts
The doubled ’’ in the sql error message was a dead give-away; my eyes aren’t what they used to be and I missed it the first time around!
Anyway thank you for your help:) I’m very glad that everything is working now. EvoGallery very nice tool and easy to use for users.
Thanks for making EvoGallery, I hope it continues to improve.
Here is a template that I made for a site. It recreates the cloud-zoom effect as seen here
http://www.professorcloud.com/mainsite/cloud-zoom.htm
DropboxUploader -- Upload files to a Dropbox account.
DIG -- Dynamic Image Generator
gus -- Google URL Shortener
makeQR -- Uses google chart api to make QR codes.
MODxTweeter -- Update your twitter status on publish.
Here a Nivo gallery type.
http://nivo.dev7studios.com/
<script type="text/javascript">
$(window).load(function() {
$('#slider').nivoSlider();
});
</script>
[!EvoGallery? &display=`images` &type=`nivoslider`!]
DropboxUploader -- Upload files to a Dropbox account.
DIG -- Dynamic Image Generator
gus -- Google URL Shortener
makeQR -- Uses google chart api to make QR codes.
MODxTweeter -- Update your twitter status on publish.