Quantcast
Channel: Yii Framework Forum
Browsing all 18717 articles
Browse latest View live

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 Article


Help 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 Article

Gii 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 Article

HAS_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 Article


Careers 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 Article

File 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 Article


Yii Classes Naming

why all classes name in Yii are start with character "C"? any special reason?

View Article


Joining 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 Article

Suggest A Forum For I18N

hi there. i want to suggest to create a forum for i18n in Yii framework.

View Article

Yii Girdview

请问 数据库里 数字型的数据 在girdview 中 以文字形式表示 怎么实现 比如 1 代表 男 2 代表 女

View Article

Yii可以连接Sqlite不能连接Mysql

yii可以连接sqlite不能连接mysql,怎么回事

View Article


Search

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 Article

Model 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 Article


Saving 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 Article

Textarea 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 Article


Image may be NSFW.
Clik here to view.

Rbac - 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 Article

Sql 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
Browsing all 18717 articles
Browse latest View live