First off I’d like to say thanks to anyone working on MODx. It’s by far my favourite choice of CMS.
Now to an issue sadly.
I’ve implemented MaxiGallery using the code below with no problems:
[!MaxiGallery? &display=`embedded` &embedtype=`slimbox` &galleryOuterTpl=`gallery_outer_tpl` &galleryPictureTpl=`gallery_thumb_tpl` &pic_use_watermark=`1` !]
I’ve recently moved the whole site to a new domain. Everything is working apart from my MaxiGallery ’Mange Pictures’ button is now no longer appearing. I’ve tried to track down the root cause and have looked into the following, all with no success:
- Does it know Administrator is logged in? By outputting SESSION vars I can confirm this is so. Also tried accessing the domain with/without www prefix.
- Checked file permissions on the appropriate folders, all 0777
Poking around inside some of the templates I spotted this code inside
picturetpl.html:
[+maxigallery.config.display:is=`pictureview`:then=`
[+maxigallery.managebutton:isnot=``:then=`
<center>[+maxigallery.managebutton+]</center>
<br />
`+]
`+]
Could this be something to do with it? I tried removing the conditional, as my display parameter is ’normal’ not ’pictureview’ but no joy. If I explicitly set the display parameter to pictureview it does cause the button to appear, but I’ve been using the above call to MaxiGallery previously with no problems.
The only way I’ve managed to get the ’manage pictures’ to appear is by actually putitng this line in
maxigallery.php just after line 678, at least provong to myself that it generated it from the chunk correctly.
echo $pictureTplData['managebutton'];
Any help would be appreicated. Apologies if this is an issue that’s been addressed previously. I did search but found nothing exactly like this.
Regards,
Alistair