close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

I want to a menu only if two critierisas are not met. show if ___ and also if ___ on my page using show one show if rule., Also thoughts on generating nav from DB verses show if

Thread began 7/06/2020 3:20 pm by jo271221 | Last modified 7/06/2020 4:13 pm by jo271221 | 221 views | 1 replies

jo271221

I want to a menu only if two critierisas are not met. show if ___ and also if ___ on my page using show one show if rule., Also thoughts on generating nav from DB verses show if

I want to have unique menus on shared pages.
We are using the GET feature to filter on the page and in the url to the correct data to the page.

In our session, you mentioned you do not think that is is a good route.
<?php echo($WADAtbl_mytable->getColumnVal('customermenu, false')); ?>
I did attempt it and got the data to appear with the ,false but it was not showing only text so I added the false and then it did not show at all.

My attempt at a show if rule is not quite right either,

<?php
if ("" . $WADAtbl_posts_details->getColumnVal("groupname") . != "Group 1") && ("" . $WADAtbl_posts_details->getColumnVal("groupname") . != "Group 2") {
?>
<?php include('_top_navigation.php'); ?>
<?php
}
?>

I actually only want to implement the preferred method, and my thoughts on using the column in the database is that
as we add more groups I will likely have to add a column or something to the show if statement where the _top-navigation.php shows if the user is not a group..

1. Can you advise which method - get nav from column in the users table or use show if rules for nav.
2. Can you explain why my column does not display at all with false and displays as plain text rather than formatted text without the false.
3. Can you please advise the correct show if && rule

Thank you,

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