This topic is locked

Quick Jump Menu

1/14/2007 5:28:07 PM
PHPRunner General questions
J
JZint author

How do you put the quick jump menu on every page. I have tried everything.

J
Jane 1/15/2007

Hi,
just select quick jump menu on the LIST page on the Visual Editor tab, turn on HTML mode, copy highlighted code and paste it on other pages.

J
JZint author 1/15/2007

I have tried that. I have my site set up with group permissions and user id's. I created a table on the add page of one of my forms just above the back to list link, copied and pasted the code in the appropriate space and built the site. When I log in with the admin information, the only thing in the drop down is back to menu. It is like I do not have permission to see any of the pages. I know that this function is working, because when I log in as guest or another person that I have given different permissions to, the main menu items change according to how I have them set up.

Alexey admin 1/16/2007

Hi,
it's a bit more complex when you use User group permissions.
Besides copying HTML code you'll need to modify generated php files.

Open your generated ..._list.php file and find this snippet there:

$strPerm = GetUserPermissions("Table1");

$smarty->assign("allow_Table1",!(strpos($strPerm, "A")===false && strpos($strPerm, "S")===false));
$strPerm = GetUserPermissions("Table2");

$smarty->assign("allow_Table2",!(strpos($strPerm, "A")===false && strpos($strPerm, "S")===false));

...

Then copy and paste it to all other php files where you added Quickjump control.

Insert it just before

$smarty->display(...);

statement.