Solved

APPHP Tree Menu

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Both Easy and Powerful How easy is PHP? http://lmgtfy.com?q=how+easy+is+php (http://lmgtfy.com?q=how+easy+is+php)  Very easy.  It has been described as "a programming language even my grandmother can use." How powerful is PHP?  http://en.wikiped…
This article will explain how to display the first page of your Microsoft Word documents (e.g. .doc, .docx, etc...) as images in a web page programatically. I have scoured the web on a way to do this unsuccessfully. The goal is to produce something …
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to count occurrences of each item in an array.

744 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

12 Experts available now in Live!

Get 1:1 Help Now