I’ve addressed this "single page" issue by making minor adjustments to the QuickEdit module/plugin.
Module Edit:
"Edit" the QuickEdit Module by clicking on the "configuration" tab. We will add a parameter to be passed to the QuickEdit plugin. Add the text below to the configuration input field
&excluded_documents=Excluded Documents;string;
Once you’ve added the text to the input click the button to the right of the input. You should now see a new Parameter entry below the input field you just modified.
Now add document ID’s that you want QuickEdit to exclude. Make sure the ID’s are comma separated with NO SPACES between them.
Example 1:
47,53,54
Example 2 (single entry):
47
Plugin Edit:
In the QuickEdit Plugin Add these lines above the "Don’t do anything if we aren’t logged in" comment line.
// set module configuration to include excluded_documents=Excluded Documents;string;(comma separated id numbers)
// set to default false value
$qe_disable = false;
// explode excluded_documents string into array
$excluded_docs = explode(',',$excluded_documents);
// loop through excluded documents id and set trigger to true if match
foreach( $excluded_docs as $ex_doc_id){
if($modx->documentObject['id'] == $ex_doc_id){$qe_disable = true;}
}
Next, this line of code
if(isset($_SESSION['mgrValidated']) && $_SESSION['mgrValidated']) {
needs to be replaced with (or comment it out to keep for reference)
if(isset($_SESSION['mgrValidated']) && $_SESSION['mgrValidated'] && $qe_disable == false) {
That’s it!