I try to use a fancytree. everything is displayed correctly but I can't have a link on the text of the node... why ? and how to solve that?
I tried to put html link like this :
<div id="tree">
<ul>
<li><a href="..."> My Link to view 1 </a></li>
<li><a href="..."> My Link to view 2 </a>
<ul>
<li><a href="..." > My link to view 2, 1st object </a></li>
<li><a href="..." > My link to view 2, 2nd object </a></li>
...
</ul>
</li>
...
<ul>
</div>
Or I tried with
<li Onclick="clickEntite(\''.Yii::app()->CreateAbsoluteUrl($axe['id_entite'].'/view',array('id'=>$axe['id_entite'])).'\')" >'.$axe['text'].'</li>
<script type="text/javascript">
function clickEntite(url){
window.location.href=url;
};
</script>
without any success.
It seems that FancyTree delete all link on his node.
Is it possible to redirect to the right view when a node becomes active or when the checkbox is checked?
thanks in advance.