Ok here is where I'm stuck.
I have CMS working fine under all default settings.
Separately, I have Security Assist setup on template other than CMS admin Template and all working good for pages not associated with CMS.
I then use the WebAssist Page Rules Manager and change all of the admin pages to "Logged into users".
On the CMS admin pages I notice a server behavior located on the admin template.
Show if "Administrator"
code:
<?php if(WA_Auth_RulePasses("Administrator")){ // Begin Show Region ?>
<a href="../Admin/contents_search.php">Advanced Search</a> | <a href="../admin/users_logout.php">Log Out</a>
<?php } // End Show Region ?>
So on the CMS admin template I use the server behaviors tab and double click on SecurityAssist Show Region (Administrator)
In the WebAssist Show Region window I simply change this to - Logged into users
code:
<?php if(WA_Auth_RulePasses("Logged in to users")){ // Begin Show Region ?>
<a href="../Admin/contents_search.php">Advanced Search</a> | <a href="../admin/users_logout.php">Log Out</a>
<?php } // End Show Region ?>
I also add a link to my CMS index page on my default Security Assist Profile page.
Save everything upload it all of the files.
So I login successfully and go to my default Security Assist Profile page then click the link to CMS index and get this error in the browser:
Parse error: syntax error, unexpected ';', expecting T_PAAMAYIM_NEKUDOTAYIM in /home3/ameliapl/public_html/admin/index.php on line 133
Back in Dreamweaver: admin/index
Line:127
</div>
<div class="right">
<?php if(WA_Auth_RulePasses("Logged in to users")){ // Begin Show Region ?>
<a href="contents_search.php">Advanced Search</a> | <a href="users_logout.php">Log Out</a>
<?php } // End Show Region ?>
</div>
The head of the pages inside of the CMS admin all say:
<?php require_once( "../WA_SecurityAssist/Helper_PHP.php" ); ?>
<?php require_once( "../WA_Globals/WA_Globals.php" ); ?>
<?php require_once( "../WA_CMS/WA_CMS.php" ); ?>
<?php require_once('../Connections/localhost.php'); ?>
<?php
if (!WA_Auth_RulePasses("Logged in to users")){
WA_Auth_RestrictAccess("../users_LogIn.php");
}
?>
None of them say:
if (!WA_Auth_RulePasses("Administrator")){
WA_Auth_RestrictAccess("users_login.php");
}