Extension Nestedtree Complex solution to handle Nested set in tree view
#23
Posted 24 February 2013 - 11:53 AM
Hi
Undefined variable: owner - NestedTreeActiveRecord.php(235)
Thanks
Undefined variable: owner - NestedTreeActiveRecord.php(235)
Thanks
#24
Posted 24 February 2013 - 01:30 PM
And (502) Undefined variable: owner
(385),(407) $this->getOwner(),
(385),(407) $this->getOwner(),
#25
Posted 27 February 2013 - 11:14 AM
Hello,
Good job,
But why only non-root nodes can perform action ?
is there git for this ext ?
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 ?
#26
Posted 27 February 2013 - 01:53 PM
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.
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 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
#27
Posted 28 February 2013 - 02:30 AM
shaneshka, on 24 February 2013 - 01:30 PM, said:
And (502) Undefined variable: owner
(385),(407) $this->getOwner(),
(385),(407) $this->getOwner(),
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
#28
Posted 10 April 2013 - 08:05 AM
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?
Is it possible to have a Folder/File structure in zip as an example?
#29
Posted 14 June 2013 - 08:33 AM
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.
#30
Posted 14 June 2013 - 10:37 AM
LarryTX, on 14 June 2013 - 08:33 AM, said:
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.

Help














