Solved

APPHP Tree Menu

Posted on 2010-09-12
2
243 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

839 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