I’ve got some some problems with it. [!RunDitto? &hideFolders=`1` ;tpl=`ProduitAllDittoTpl` ;SelectPerPage=`2` ;language=`english`!]
$hideFolders = isset($hideFolders)? $hideFolders : 1; // don't show folders in the returned results
<?php $snParams = array(); $snParams['startID'] = $modx->documentObject['id']; $snParams['paginate']=1; if (isset($language)) $snParams['language'] = $language;//'francais'; if (isset($tpl)) $snParams['tpl']=$tpl;//"ProduitAllDittoTpl"; $snParams['summarize'] = $nbres; ?>
<?php $hideFolders = isset($hideFolders)? $hideFolders : 1; $snParams['hideFolders']=$hideFolders; ?>

In the Redirect plugin with the "Manager Access Events" "OnBeforeManagerPageInit" and "OnManagerLogin" checked.
if ($_SESSION[’mgrPermissions’][’id’]!=’1’){$modx->sendRedirect($modx->makeurl($modx->config[’site_start’]));}
Yes I’m using id. I’m using eform.
I just did add the the following line to the form:
<input type="hidden" name="itemlongtitle" value="[~[*id*]~]" eform="itemlongtitle::0"/>
and to the form report I added:
<tr valign="top"><td>Item:</td><td>[+itemlongtitle+]</td></tr>
Now I’m getting: [undefined] » Tampering attempt detected!
What I’m missing is how to retrieve the parameter to pass to the form.
thanks for the help,
charlie-imac
<input type="text"style="display:none;" name="itemlongtitle" value="[~[*id*]~]" eform="itemlongtitle::0"/>
<input type="hidden" name="itemlongtitle" value="[~[*id*]~]" eform="itemlongtitle::0"/>

thanks for the help Soda!