Yii Framework Forum: Extension Nestedtree - Yii Framework Forum

Jump to content

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Extension Nestedtree Complex solution to handle Nested set in tree view Rate Topic: -----

#21 User is offline   yonghan 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 4
  • Joined: 28-January 13

Posted 20 February 2013 - 09:51 AM

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

#22 User is offline   Szincsák András 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 16
  • Joined: 20-June 11
  • Location:Hungary, Győr

Posted 20 February 2013 - 06:43 PM

View Postyonghan, on 20 February 2013 - 09:51 AM, said:

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


I'm happy to hearing is it working already.
Please vote my extension.
Thanks for testing!
0

#23 User is offline   shaneshka 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 26-June 12
  • Location:Russian

Posted 24 February 2013 - 11:53 AM

Hi
Undefined variable: owner - NestedTreeActiveRecord.php(235)
Thanks
0

#24 User is offline   shaneshka 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 26-June 12
  • Location:Russian

Posted 24 February 2013 - 01:30 PM

And (502) Undefined variable: owner
(385),(407) $this->getOwner(),
0

#25 User is offline   Dariusz Męciński 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 20
  • Joined: 04-March 09

Posted 27 February 2013 - 11:14 AM

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 ?
0

#26 User is offline   Szincsák András 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 16
  • Joined: 20-June 11
  • Location:Hungary, Győr

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.

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
1

#27 User is offline   Szincsák András 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 16
  • Joined: 20-June 11
  • Location:Hungary, Győr

Posted 28 February 2013 - 02:30 AM

View Postshaneshka, on 24 February 2013 - 01:30 PM, said:

And (502) Undefined variable: owner
(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
0

#28 User is offline   Anonymouse 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 13-March 13

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?
0

#29 User is offline   LarryTX 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 19
  • Joined: 22-June 10

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.
0

#30 User is offline   Szincsák András 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 16
  • Joined: 20-June 11
  • Location:Hungary, Győr

Posted 14 June 2013 - 10:37 AM

View PostLarryTX, 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.
0

#31 User is offline   BodYiik 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 3
  • Joined: 11-August 12

Posted 22 August 2013 - 05:27 AM

Please post a link to download new version, thanks
0

#32 User is offline   Gerhardvr 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 15
  • Joined: 18-August 13

Posted 02 September 2013 - 04:26 PM

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.
0

#33 User is offline   gb5256 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 42
  • Joined: 22-April 11

Posted 28 February 2014 - 07:32 AM

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
0

Share this topic:


  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users