Cactivefrom And Date Fields
I have a form where I have a date field, and I would like that the input field is user friendly with a datepicker, and with the looks of Bootstrap. I downloaded the code from the following url:...
View ArticleHelp with EditableGrid View Extension
I need help with the EditableGridView extension (link to the extension is below) http://www.yiiframework.com/extension/editablegridview/#download I've gotten it to make the fields from my CGridView...
View Article[EXTENSION] multimodelform/jqrelcopy
I start a topic here, better than to discuss all the stuff about cloning fields at the extension pages.
View ArticleGii W Polskiej Wersji Językowe
W jaki sposób i czy w ogóle się da włączyć Gii w polskiej wersji językowej, gdzie należy to skonfigurować?
View ArticleHAS_MANY relation and delete
Here is a relation in my Enquiry model: 'quotes'=>array(self::HAS_MANY, 'Quote', 'enquiry_id'), In my EnquiryController if I have the following:...
View ArticleCareers Web Developer
Our company has a relaxed working environment with flexibility to allow creativity and innovation. Working here is stress free and we are all friendly, helpful and understanding. You will have easy...
View Article[Erunactions] How To Execute Shell Php
Hi all, First of all thank you for this forum. It's very usefull! I had to execute a shell php (like as $>php ./test.php) and I find the RunActions extention, but I don't understand how to use it....
View ArticleFile Validation Not Working
I am trying to create following rule array('attachment', 'file', 'types'=>'jpg, gif, png, pdf, jpeg', 'maxSize'=>1024 * 1024 * 2, 'tooLarge'=>'File has to be smaller than...
View ArticleYii Classes Naming
why all classes name in Yii are start with character "C"? any special reason?
View ArticleJoining Two Tables With Foreign Key Relation
I am trying to join two tables student and marks.Tring to acheive this: select * from student s inner join marks m on s.studentId = m.sid ------------------ To implement this via yii, In model file,...
View ArticleSuggest A Forum For I18N
hi there. i want to suggest to create a forum for i18n in Yii framework.
View ArticleSearch
In a model(Developer) have following fields- id, name, platform. In the data are (1, abc, PHP), (2, xyz, JAVA). If user will search with this "java and php" in this model, i want to compare each term...
View ArticleModel Relations E Condizioni
Buongiorno a tutti, vi descrivo brevemente qual'è la questione. La tabella ha pochi campi, quelli necessari diciamo, ogni record è distinto da un determinato tipo. Quindi a seconda del tipo mi collego...
View ArticleSaving File From Parent Model
Hi there, I've an unusual situation. My parent model (Booking) has a related model (Bookingdocument) to manage received/sent documents. For received documents, my child model has an upload form and...
View ArticleTextarea value not saved
LS. This is probably something well known regarding textarea in HTML but currently I am running around in circles. Hopefully you can help! In my form I have created a textarea: <?php echo...
View ArticleRbac - How To Check/change Role Of Users
Hey there, I just started using yii in my first little project. Yesterday I started experimenting with the RBAC-System of yii. I know there are Extensions for that but I want to understand it myself so...
View ArticleРегистрация С Помощью Вконтакте Используя Eauth
Первый мой проект на Yii, нужно сделать регистрацию через контакт. Пользователь нажимает на кнопку "регистрация с помощью ВКонтакте", во всплывающем окне дает разрешение, и его перенаправляет на...
View ArticleSql Power Syntax Collision In Yii Select
Hello everybody I am getting the error message "Active record "Entries" is trying to select an invalid column "POWER(5". Note, the column must exist in the table or be an expression with alias." with...
View Article