Quote from: cbaone at Aug 07, 2008, 04:10 AM
I’ll find out what the url is on the error page along with the action url for the button. What should the action URL be for the Manage Pictures button?
If you are not using view_gallery or manage_target parameters, it should be the same page where the snippet runs,
For example if you have installed MODx in a subdirectory of your site root called "modx" and the snippet is running on a page with alias "gallery.html" the manage pictures form should be:
<form action="/modx/gallery.html" method="post" name="activateadminform">
The action url in maxigallery is done by using one of the following:
If manage_target snippet parameter is used:
$modx->makeUrl($mg->mgconfig['manage_target'], '', "gal_id=".$mg->pageinfo['id']."&from_id=".$modx->documentIdentifier);
If view_gallery snippet parameter is used:
$modx->makeUrl($mg->mgconfig['view_gallery'], '', "from_id=".$modx->documentIdentifier);
If neither view_gallery or manage_target is used:
$modx->makeUrl($modx->documentIdentifier, '', '');