Hi
I’m also trying for the same ’One thumbnail in page, but all pics’ call but am getting a parse error, this time it’s a mysql error. Here’s the error msg:
« 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 ''1'' at line 1 »
SQL: SELECT * FROM modx_maxigallery WHERE (gal_id='89' AND NOT hide='1') ORDER BY 'pos' DESC LIMIT 0,'1'
And here’s the snippet calls:
[!MaxiGallery? &display='embedded' &embedtype='slimbox' &order_by='pos' &limit='1' &galleryPictureTpl='mgGalPicTpl'!]
[!MaxiGallery? &display='embedded' &embedtype='slimbox'&order_by='pos' &limit='99999' &galleryPictureTpl='mgGalPicTplHidden'!]
These are taken verbatim from the wiki, obv minus the &manageOuterTpl=`CODE:` &manageButtonTpl=`CODE:` paramaters.
The relevant
mgGalPicTpl and
mgGalPicTplHidden chunks are in place.
If it’s any help, I get the same parse error from either snippet call when in the resource individually, the only diference being ’DESC LIMIT 0,’1’ when it’s only the 1st call being made.
Here’s my server stuff:
PHP version 5.2.13
MySQL version 5.0.91-community
I’m running in Evo 1.0.4
Thanks in advance for any help!
rp