close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Web Page Viewer for CSM

Thread began 3/11/2010 8:21 am by SPT | Last modified 3/25/2010 6:05 pm by SPT | 1906 views | 9 replies


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"

<?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


<?php if(WA_Auth_RulePasses(&quot;Logged in to users&quot;)){ // 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
<div class="right">
<?php if(WA_Auth_RulePasses(&quot;Logged in to users&quot;)){ // Begin Show Region ?>
<a href="contents_search.php">Advanced Search</a> | <a href="users_logout.php">Log Out</a>
<?php } // End Show Region ?>

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'); ?>
if (!WA_Auth_RulePasses("Logged in to users")){

None of them say:

if (!WA_Auth_RulePasses("Administrator")){

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...