Solved

APPHP Tree Menu

Posted on 2010-09-12
2
244 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
This article discusses how to implement server side field validation and display customized error messages to the client.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.

730 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