Yii Framework Forum: [EXTENSION] MANY_MANY Ajax CRUD Giix Templates - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

[EXTENSION] MANY_MANY Ajax CRUD Giix Templates Rate Topic: -----

#1 User is offline   drumaddict 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 91
  • Joined: 04-October 10
  • Location:Athens,Greece

Posted 11 December 2011 - 07:00 PM

This extension provides giix templates for ajax CRUD code generation of a MANY_MANY Model relationship,between Category-like and Product-like Models.
The Category-like model is given a nestedset Behavior and administered with jstree plugin.
The Product-like model is administered with either a CGridView or a CListView.
Clicking on the category nodes of the tree will filter the product records in CGridView(or CListView).
Frontend views are also provided,with only read (view) operation.
The forms are rendered in a pop up window (fancybox) and the submission is an ajax process.However because the jquery form plugin is used (see resources) ,it is possible to include a file field and submit the form without a page refresh.This is not ajax though,as the XHR object cannot do this.A technique involving an iframe is used.For more info see jquery form plugin documentation.

EXTENSION PAGE

DEMO:
SK Yii Test Lab,MANY_MANY Ajax CRUD Administration
1

#2 User is offline   jacmoe 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 2,601
  • Joined: 10-October 10
  • Location:Denmark

Posted 12 December 2011 - 02:46 AM

I am a big fan of your Yii test lab! Posted Image
"Less noise - more signal"
0

#3 User is offline   c@cba 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 43
  • Joined: 02-December 11

Posted 01 January 2012 - 04:10 PM

This is a great Extension. Thanks a lot!
I've wanted to use jsTree in Yii for a long time... and combined with the nestedBehavior, it is just perfect.

I just downloaded and installed everything, there was a little bug in the DEMO:
views/categorydemo/index.php, line 256
<?php echo baseUrl; ?>

should be
<?php echo $baseUrl; ?>


(Hope this is the right place for bug reports...)

Best regards...

Updat: Sorry, I mixed thins up: the bug is in the
nestedsetadmingui extension
0

Share this topic:


Page 1 of 1
  • 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