I’m using pages as content holders
how can I make those pages not accessible, and give the same result as non-existent pages?
(I’m using Evo 1.0.2)
thanks
-
☆ A M B ☆
- 3,112 Posts
you can use the Resource Groups, and apply that holders as the admin’s page.
please notice, the child pages will also inaccessible.
Rico
Genius is one percent inspiration and ninety-nine percent perspiration.
Thomas A. Edison
MODx is great, but knowing how to use it well makes it perfect!
www.virtudraft.com
Security, security, security! |
Indonesian MODx Forum |
MODx Revo's cheatsheets |
MODx Evo's cheatsheets
Author of
Easy 2 Gallery 1.4.x,
PHPTidy,
spieFeed,
FileDownload R,
Upload To Users CMP,
Inherit Template TV,
LexRating,
ExerPlan,
Lingua,
virtuNewsletter,
Grid Class Key,
SmartTag,
prevNext
Maintainter/contributor of
Babel
Because it's hard to follow all topics on the forum, PING ME ON TWITTER
@_goldsky if you need my help.
If you want to protect any particular page, you can put a snippet on the page:
NotFound snippet:
$modx->sendRedirect($modx->makeURL(n));
Where n is the ID of your error (page not found) page.