anupmca
(Anupmca)
April 12, 2011, 7:09am
1
I am new to Yii.
I have tried the things mentioned here in cookbook
http://www.yiiframework.com/wiki/70/display-an-ajax-tree-from-your-db-using-ctreeview/
but not worked for me…
I have edited the SQL Query, which working fine.
All the Jquery library is loaded correctly.
<div class="container">
<div class="span-19">
<div id="content">
<h1>Projects</h1>
<ul id="yw0">
</ul>
</div><!-- content -->
</div>
But nothing has been loaded from database.
please help.
How yii determines the first child from table?
zaccaria
(Matteo Falsitta)
April 12, 2011, 8:47am
2
Welcome to the forum.
Check with firebug if the action is working correctly.
anupmca
(Anupmca)
April 12, 2011, 10:28am
3
checked it with firebug, found out 403
after that updated the accessRules in controller
Yii is great… i have implemented the similar functionality using YUI, JSON, PHP…
Yii widget made it very simpler… boost the development time…
zaccaria
(Matteo Falsitta)
April 12, 2011, 11:11am
4
Glad it helped you.
P.S: welcome to the forum!
Samar
(Samarrizvi Lko)
June 6, 2011, 12:46pm
5
Hi, I am having the same problem that have3fun was having. The html only shows <ul class="threeview-famfamfam" id="yw0"></ul> and no content is loaded. I am using the wiki example. Can you help, is there a problem with accessrules.
Samar,
There may well be a problem with your access rules, but if you don’t post them then we can’t help.