Store Related Id's
I need the Tag id's which are related to the Daytrip which is loaded in the actionUpdate. Below you will find my code. But the problem is that the $this->tags is empty. I've done a...
View ArticleHow To Do Change With Property Of Model Which Called
Hello everyone ! Now i have to do translit function with a property (set of properties) of model. It's obvious that easy and clear way is insert translit logic in a model 'cause it's not comfortable to...
View ArticleNested Intervals Bugs
If this is the incorrect place for a posting of this sort I apologize in advance. I've been working on incorporating the nested intervals extension into a project I've been working on. The behavior...
View ArticleCargar Imagenes y ver su vista previa
Hola a todos, estoy buscando hacer un modulo de usuarios y quisiera saber si se puede hacer esto, o que otra opcion tengo. en la pantalla quiero presionar examinar y buscar la imagen, luego que la...
View Article[Help] Populate Form After Chosing A Value From Db
I there, iam trying to populate a form when chosing a value from a dropdownlist. For example: I have a database called client with id name phone number and address, want to retrive those values to...
View ArticleCJuiAutoComplete with ID [SOLVED]
Hi there, I have a problem when using the CJuiAutoComplete, specifically in relation to the result in JSON, which brings me ID and NAME. Controller action JSON code: $arr = array(); if...
View ArticleCjuidialog/cactiveform Client-Side Validation Problem
Hello. Let me describe my problem. I think that this problem relates more to jQuery UI, but I want to discuss it with Yii community, maybe we'll find right decision. I have a form, that is copy of...
View ArticleОбработка Свойств Модели В Самой Модели При Их Вызове
Привет Всем ! Мне необходимо встроить функцию транслита в модель (CActiveRecord) которая будет изменять значение свойства модели, или другим словом - переопределять Код должен выглядеть приблизительно...
View ArticleImporting User Contacts From Their Email Contacts List, How ?
Some websites offer a mechanism that users can enter their email address and passwords and the website will import all their contacts and invite them. Is there any post or extension on accomplishing...
View ArticleCannot Add A Variable To The Form That Is Not In The Db
When I add a variable, that is not in the DB, to my model it does not show up from a form submit unless I have the rule for it defined. But when I add it to the rules, the $model->save() results in...
View Article$.fn.yiilistview Function
Where can a find documentation on the $.fn.yiiListView function
View ArticleUndefined Index: And Array_Push
The MySQL query works and returns values, but when I try to use it in my code I get - Undefined index: amount. I thought the indexes would by amount and month as established in my query, but I'm doing...
View Article[Extension] Build Number For Git
Hello, I would like just to share this little and simple component for getting the last git commit id and last commit time. The project is available at github.com/yev/yiiGitBuildNumber
View ArticleYiireport
Hi folks. I was modify the PHPReport class ane create this Yii extension. With this extension is easy use a excel file as template, set data via array, end export the result as an excel file, html or...
View Article[Extensión] Yiireport
Hola a todos. He modificado la clase PHPReport y entonces creado esta extensión. Con esta extensión es fácil utilizar un archive de excel como plantilla, llenar los datos mediante arreglos, y exportar...
View ArticleDudas Paginador
Hola a todos, Tengo una duda. Tengo un paginador para unos datos, y también la paso por la url unos datos. ( como por ejemplo categoria ) Pero al pulsar pagina 2 el paginador solo pasa la variable page...
View ArticleAutoload - Design Question
I tried looking for an answer to this myself, but couldn't really find a final answer. Background Story When creating big applications, it becomes very handy to be able to create subdirectories to...
View ArticleMassive Assignment Non-Database Column Fields In Model
I have a CActiveRecord model, Job which has a public property $completionChoice. It doesn't relate to a databasefield, and I don't have getter or setter methods for it. I use it as a flag for some...
View ArticleErrori Personalizzati
Ciao a tutti, ho creato la view protected/views/system/error403.php e ho provato ad accedere ad un'area privata senza effettuare il login. L'errore che mi viene mostrato è quello di default e non...
View ArticleCweblogroute Problem
Hi guys, I have a problem, that I cannot solve on my own. After updating to the most recent framework version I noticed that PHP wouldn't throw me any errors on my development environment. Checked...
View Article