I would to it with a custom snippet. Something like this (untested):
[[!ShowLogin? $noShows=`3,4,7`]]
<?php
/* ShowLogin snippet */
$docId = $modx->resource->get('id');
$noShows = explode(',', $scriptProperties['noShows'];
if (in_array($docId, $noShows)) {
$output = '';
} else {
$output = '[[!Login]]';
}
return $output;
You could also have a TV that determined whether to show the Login snippet and use either a snippet or an output modifier with it.
The snippet above would be faster, though.
------------------------------------------------------------------------------------------
PLEASE, PLEASE specify the version of MODX you are using.
MODX info for everyone:
http://bobsguides.com/modx.html