Solved

APPHP Tree Menu

Posted on 2010-09-12
2
239 Views
Last Modified: 2013-11-05
I don't know if help is available, but I have the full (pro) version of this and the documentation is somewhat sketchy - to be polite!

I can draw the tree OK but I cannot seem to get anything to happen when it draws it.

For example if the user clicks on a node I want them to be taken to a specific page.

I have tried

$treeMenu->Debug(true);
$treeMenu->SetPostBackMethod("post");
$sometext=$treeMenu->AddNode("Some Text","test.php");

but nothing happens (I have tried "get" as well). It would also be nice to be able to call a javascript function.

Maybe a better component is needed!
0
Comment
Question by:jiminmaidavale
2 Comments
 
LVL 11

Expert Comment

by:Amar Bardoliwala
ID: 33659631
Hello jiminmaidavale,

I am not aware of APPHP Tree Menu.

Can you please give your script here. So that someone can help you.

Thanks.
0
 

Accepted Solution

by:
jiminmaidavale earned 0 total points
ID: 33659711
It is OK as I have now worked it out. Rather strangely buried deep in sits script and javascript is a test for the the link and if it does not exist it ignores it. In the test I was jut looking for a 404 error. As soon as I put the php file there (albeit a blank one) it worked.

Thanks again.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now