close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Rem out menu parts

Thread began 12/28/2012 10:21 am by Larry Olsen | Last modified 12/28/2012 11:54 am by Larry Olsen | 3541 views | 4 replies |

Larry Olsen

Rem out menu parts

I refer you to showthread.php?t=24645

========================================
In it Jason said:

power messenger does not offer different levels of administrative users. any Administrator has full control of the options in the Admin panel.

you can edit the Webassist/plugins/admin_menu/menu.php file and comment or remove the menu items you don't wish the client to have access to if you like.
=====================================================

This has not worked for me. What is the process in the latest version? How do I disable a menu item in the administrator's page?

Sign in to reply to this post

Jason ByrnesWebAssist

The process is the same in the latest version. you need to edit the power messenger Webassist/plugins/admin_menu/menu.php file to remove any menu items that you dont want the client to access.

make you are editing the menu file under the power messenger folder, and that you upload any changes to the server.

Sign in to reply to this post

Larry Olsen

Very strange but when I do the standard remming process for php I get the menu unchanged except that the "//" now appears in the menu. I completely removed the line and that worked.

The programming gods work in strange ways.

This was all done on the production server.

Sign in to reply to this post

Jason ByrnesWebAssist

the code for each menu item is HTML code.

using PHP commenting syntax:
//

will not work for HTML code, that will only work for PHP code that is between opening php tags:

php:
<?php



and closing php tags:

php:
?>



this is an example of a valid PHP comment:

php:
<?php
//$foo = "bar";
?>
<h1>Header</h1>




this is not:

php:
<?php
//$foo = "bar";
?>
//<h1>Header</h1>



to comment the HTML <h1> tag in the previous example, you would need to use an HTML comment:

php:
<?php
//$foo = "bar";
?>
<!--<h1>Header</h1>-->



I'm betting that you are using PHP commenting syntax on HTML code, for example:

php:
//<li><a href="../../../admin_pm/mailing_groups.php">Groups</a></li>



when you should be using HTML commenting syntax:

php:
<!--<li><a href="../../../admin_pm/mailing_groups.php">Groups</a></li>-->



just because the menu file is a php file, it does not mean that all of the code in it is PHP code.

Sign in to reply to this post

Larry Olsen

Bingo!!!

I stand corrected. That worked.

Thank you, Jason...Happy New Year.

Sign in to reply to this post

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

Content

rating

Layout

rating

Ease of use

rating

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