Extension Nestedtree

Sorry,i got it working already.thanks. :)

I’m happy to hearing is it working already.

Please vote my extension.

Thanks for testing!

Hi

Undefined variable: owner - NestedTreeActiveRecord.php(235)

Thanks

And (502) Undefined variable: owner

(385),(407) $this->getOwner(),

Hello,

Good job,

But why only non-root nodes can perform action ?


 


if ($url && !$node->isRoot())

  $NodeArray['data'][$i]['href'] = $url . $node->primaryKey;




is there git for this ext ?

Hi Kazio,

Thank You for your post!

As you find, there are some differences between NestedTreeActiveRecord and NestedTreeBehavior classes. It is my fault, not to compare and syncronize them.

The right solution is in the NestedTreeActiveRecord class.




if ($url)

      $NodeArray['data'][$i]['href'] = $url . $node->primaryKey;






I’m working on the next version of the extension, and if it is ready, I’m going to do git for this extension.

András

Thank you for bug report!

To fix them:

in line 235 $owner->{$this->rootAttribute} change to $this->{$this->rootAttribute}

in line 385, 407 $this->getOwner() change to $this

in line 502 $Owner change to $this

András

Being an absolute newbie I’m having a hard time following the installation and usage instructions.

Is it possible to have a Folder/File structure in zip as an example?

I like the way your extension looks. It’s just what I’ve been looking for. Unfortunately, I’m still struggling with learning Yii. For the sake of those of us still in that process, could you post a set of demo files including model, controller, and views. Your instructions seem very complete, but seeing concrete examples of how these files are constructed – using your recommendations for best practice – would be really helpful. It’s useful to see the working demos but even more important to see the Yii PHP code behind them.

Thank your feedback!

I’m working on the new version, collect instructions and needs, and build a demo page, and fully code sample zip too. There are som good instructions, and ideas. I’ll integrate them continously.

Hope It needs short time to close the new version development, and put them together.

Please post a link to download new version, thanks

Hi,

I’m really keen to try out this extension but it seems wise to wait for the new version. Any idea when we can expect it?

Thanks for your hard work on this.

Hello Andras,

thanks for this great extension.

I do see reading in these threads that there were some bug reports.

Is there a version where these bugs have been resolved?

You talk about a new version, is there any roadmap?

Dont get me wrong, I am not pushing you to do anything.

I just want to know if you are still working on it.

If not, then I will use the version which is public right now and make the changes myself.

gb5256