Yii 1.1.13 Is Released
We are very pleased to announce the immediate availability of Yii Framework version 1.1.13. You can download it from the Yii project site at http://www.yiiframework.com/download/ This release includes...
View ArticleSave / Update Checkboxlist() Values In One Column
I have a two models, facilities and hotels. I want when creating a hotel i can display list of checkboxes where i can then select the facilities for that hotel, save in hotels table column facilities...
View ArticleYii_Csrf_Token - Multiple Generations On Very Close Page Fetches
Hi I have some issues with the YII_CSRF_TOKEN which works fine most of the time, but not always in the following cases: 1. Accessing the same pages from multiple locations; 2. Multiple requests on...
View ArticleNon Mi Va L'invio Del Form Con Ajax
ho un CActiveForm $form=$this->beginWidget('CActiveForm', array( 'id'=>'comment-form', 'enableAjaxValidation'=>true, )); poi ho tutto il form (è praticamente uguale al form dei commenti del...
View ArticleYii Docs Generator
Hi, I edited the documentation builder from Yii's build process to allow it to be used on Yii apps as well as just the core framework. It generates nice HTML / CHM documentation from your app source...
View ArticlePiece Of Code To Be Run Twice In Ajax Request
In the if(!$validate) block mail function truly runs once. I'm wondering why In the if($validate) block mail function runs twice !!! The problem raise only in Ajax request and in first time that view...
View ArticleYiibooster
Recently launched YiiBooster, YiiBooster is a collection of widgets that will ease the task of developing Yii applications, as well as, giving your application a little boost. Basically, YiiBooster...
View ArticleYii::t Non Mi Funziona
Salve, sto procedendo con la traduzione delle stringhe nella mia app. Ho creato una cartella it/apploc.php con dentro <?php return array( "msg1" => "errore!" ); ?> e nel mio codice ho provato...
View ArticleValidar Atributos Con Datos De Otra Tabla
Hola!! Necesito validar una fecha, con fechas que no están en otro modelo y no se como hacerlo, os explico mas a fondo: Tengo un formulario para crear cursos en el que cuando se envía redirecciona a...
View Article[EXTENSION] Rights
Rights utilizes Yii's built-in database auth manager (CDbAuthManager) to provide a solid web interface for extensive access control. Features: User interface optimized for usabilityRole, task and...
View ArticleUsing Loginsession Cross Domain With Opencart
Hi All. I need to have a webshop with my site. And it just seems like a waste to write one myself. First of all, it will not be as great as a OpenCart. And secondly its gonna take hundreds of hours. So...
View ArticleAuthmanager And Menu Visibility
Dear Friends If you have numerous menu items and if you have classified user with some roles or types, authManager can help us to hide or display a menu item depending upon type of the user logged in....
View ArticleWhere to set default pagesize?
Hi guys I'm new here so be gentle ! After using yii for quite some time i know it quite good already. Directly to my question: Is there a way to set the default pagesize (eg for CGridView) in the main...
View ArticleCGridView - how to set default page size?
Is there a way to globally set the default number of data displayed in CGridView? It's currently showing 10 rows and currently I'm repeating the code in all view files that display grids: .......
View ArticleSintag Extension
Simple widget to transform input field to input tags field Usage: In your form insert <?php echo $form->textField($model, 'tags', array('id' => 'tags')); ?> <?php...
View ArticleLayout Pieno Schermo
Ciao a tutti, Esiste qualche template / layout che permetta di usare una buona parte dello schermo. Perche' credo che il layout di default sia poco ottimizzato, soprattutto se si tratta di qualcosa che...
View Article[Extension] Auth
Hey All, This is the thread for discussing my latest extension, Auth: http://www.yiiframework.com/extension/auth Feel free to post any questions you have regarding extension below.
View ArticleBusiness Rules In Cgridview?
Hi everyone, I am developing an event application. So people can add, update, list and delete events. Basically it's just CRUD. However I'm using Rights (/RBAC) for controlling who has access to which...
View ArticleYii-Bootstrap Don't Work For Me.
Hello So, before, you have to know that I am newbie with Yii. Then, t'day, I tried to use Bootstrap with Yii, I followed all what is written on the Setup page of Yii-bootstrap, but it doesn't work with...
View ArticleSelect2 Has Prepopulated Values?
Hi, I declare a select2 as follows in my view: $form->widget('ext.select2.ESelect2',array( 'model'=>$model, 'attribute'=>'Areas', 'data'=>CHtml::listData(Fishingarea::model()->findAll(),...
View Article