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,