here’s my solution to call the plugin just for selected pages:
1. Insert the following code just at the beginning of the emo plugin - I did it around line 25
/* START EM MOD
* modified 2008-14-10 by manu, contact www.pixolution.ch
* Title: enhanced for conditional include/exclude of content ID's
*/
$emoTplOnly = isset($emoTplOnly) ? $emoTplOnly : 'disable';
$emoSelection = isset($emoSelection ) ? $emoSelection : 'exclude';
$emoSelectionRange = isset($emoSelectionRange ) ? $emoSelectionRange : '';
$emoTplOnly=($emoTplOnly=='enable');
if ($emoTplOnly) if ($modx->documentObject['template']==0) return;
$emoSelection=($emoSelection=='include');
$emoSelectionRange=explode(',',$emoSelectionRange);
$emoFound=in_array($modx->documentObject['id'],$emoSelectionRange);
if ($emoFound != $emoSelection) return;
/* END EM MOD */
2. In the configuration tab, Insert this code into the "plugin configuration" input field
&emoTplOnly=Templates only?;list;enable,disable;enable &emoSelection=How to select ID's?;list;exclude,include;exclude &emoSelectionRange=Chosen ID's;text;
Now you are able to activate/deactivate the plugin, either for docs with/without template (as I used for a vcard output) or include/exclude docs by their IDs, separated by commas. If you just need one of the two possibilities, delete the other on in the "plugin configuration" input field.
best regards
manu