haimwd
(Haim)
April 20, 2012, 4:33pm
1
Hello yii members!
i have a little logical problem, i want to create a live editing administration.
it means i need to display the content on the website and with double click edit it,
the page building need to be easy such as the CActiveForm and the CHtml library.
i dont have any idea on how to do it, any suggestions?
thanks in advence.
abennouna
(Abennouna)
April 20, 2012, 5:25pm
2
Hello. I guess I’d handle jQuery blur events on the inputs, and ajax-call a controller/action firing the model’s saveAttribute method for the said input… I think there’s even a wiki or an extension for it.
abennouna
(Abennouna)
April 22, 2012, 10:38pm
3
Hmmm no need to reinvent the wheel, this thread (and the jQuery plugin it talks about) is rather interesting.
Help with jQuery Edit in Place plugin integration into Yii app