Solved

APPHP Tree Menu

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

These days socially coordinated efforts have turned into a critical requirement for enterprises.
There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
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…

632 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