sorry for being late. I will maintain it until it gets a good level. Don’t know exact dates to say but i am using it to my project so i need to implement this soon
an issue is that i have to take a look to the jstree 1.0 version that has been released lately so i will have to do some work as contribution on CJstree too.
I am currently working on what i call inherit feature.
User when initialize the behavior will be able to select the values to be inherite from parent to son and if this inherit will work for create/copy or move.
I have mostly finished this feature but need testing. It’s in the repo under the branch ‘inherited’. I will also try to clean up the code and sorry for the fb()s ( firephp calls ) that i forgot to remove in the previous releases.
This will end up with v0.2.5 in the middle of this week.
Extension itself seems to be hard to use because of lack of step by step guide on how to configure the whole stack. Still trying to figure out how to configure it.
Known issues are here. Thanks all for the testing.
Note: you can not create a root node for single root trees,even though there a Createroot action in this release.So to use this extension you must insert a root node to database with this values as is:
id=1
lft=1
rgt=2
level=1
text=what_ever_you_want
All the above except the text must have this values.
And lastly, sorry for the forgotten fb calls in previous versions
action/Render.php does take the root/s and renders them.
In version <=0.3beta you had to call render a view like example.php no sam dark wrote a widget to make our lifes easier check the repo in git cause there are some updates not in extension site yet.
I’ve followed all the steps you described in documentation and above but can’t see the tree itself rendered…the example.php view only renders the action buttons for me, even after I added the first node manually and setted my model property ‘hasManyRoots’ => true
No errors displayed, only Rename, Delete, Simple Create, Cut, Copy, Paste and Create Root buttons visible
Could you please give me a hint?
I’m using Yii 1.1.3r2247, Windows XP SP3, WAMP Server 2.0
Thanks in advance!
#Edit - not to forget, I’m using the sql schema provided by Samdark
Manual insertion of root does not go with hasmanyroots=>true. When you have hasmanyroots==false then you do it manually…when you have true you do it with createroot.
Please pastebin db table,related model, controller, view and share the links (please don’t paste it here) will try to do my best to help.
I am quite busy lately so i don’t check this thread soon. You can join #yii at freenode and try to reach me i am most of the time there.
I’m trying to move a root node inside another root node and I’m getting the folowing error:
Fatal error: Call to a member function getAttribute() on a non-object in /home/ofertagora/public_html/protected/extensions/EJNestedTreeActions/actions/Movenode.php
moving leaves is working
I’m not sure but the problem seems to call parent() for a root node which results in non object…so the subsequent call fails…i’m saying this because i ran into problems when calling ->parent() for a root node in another form
ps. yes, i can create another node inside the root with the same name, but in this case, i have 25 subnodes inside the node that is supposed to be moved