Yii-Bootstrap Tbtabs Inside Tbnavbar
hi, i want to place tabs inside tbnavbar. i tried to do the following: 1. place the tbtabs widget inside the tbnavbar widget: $right_menu=array( array('label'=>'Home',...
View Article[Extension] Vnotifier
Hi, Some weeks ago I wrote about one of my current project called vnotifier (http://www.yiiframework.com/forum/index.php?app=forums&module=forums§ion=findpost&pid=186204). QuoteI'm...
View ArticleFn.yiigridview.update, Update Partial
hello, I am using $.fn.yiiGridView.update("tprojets-grid", {data: $(this).serialize() }) But I would like to update the whole grid expect the first row. How I can do that? is it possible to do...
View ArticleCreating A Side-Bar Category List
I have a two-column layout and would-like to place category list (blog alike system) in the right sidebar. Yii blog demo suggests that I do it using portlets, but it generates lots of HTML I don't...
View ArticleFancybox Work Just For First Raw In Gridview
Hi I had cgridview and i added to one button fancyBox , but just first raw work and open in FancyBox and other not work ? !! How To fix it ? .............. $config = array( 'titleShow' => false, );...
View ArticleAffichage Date Dans Le Formulaire De Mise À Jour Cjuidatepicker
Bonjour, J'ai un problème pour afficher correctement ma date dans le formulaire de mise à jour. Ma date est enregistré dans ma base de données sous forme d'entier. (J'utilise CDateTimeParser :: parse...
View ArticleHow To Add A Bcc Email Ad In Php Mailer Yii Extension?
hi, how to add a bcc email address in phpmailer yii extension based from this document http://www.yiiframework.com/extension/phpmailer/#hh4 I can't find any example at all
View ArticleHow To Override Cactiverecord::save()
Hi Folks, I want over-ride the save function of CActiveRecord like this way, public function save() { try { /***do calculations on attributes here ***/ return parent::save(); } catch (Exception...
View ArticleJavascript Not Firing When It Should In Form
hi, I have a form with attributes I set to disable if a checkbox is checked. My form is very simple <div class="row"> <?php echo $form->labelEx($model,'enabled'); ?> <?php echo...
View ArticleExtending The Cwebuser
Bonjour, Thanks to everyone for making my experience with Yii an enjoyable one. Now check this out. I was successfully able to add information to Yii::app()->user using this page....
View ArticleValidar Arreglo De Modelos
Alguien se topó con esto? Necesito validar un arreglo de modelos, estuve viendo que "performAjaxValidation" recibe una instancia o un arreglo de modelos, pero no consigo que valide los modelos...
View ArticleParameter Pass As Post Use Link
How to multiple parameter pass as post by using CHtml::link and get parameter value from controller action ? Like as $url = array('Exams/displaySubject'); echo CHtml::link( $val['exam_groups_name'],...
View ArticleNew To Yii And 2 Mysql Questions
Hello all - total noob to yii have not a clue where to place mysql code to attempt this using Active Record currently have written raw mysql/php report generator for static pages that generates google...
View ArticleDocumentation For Wizard-Behavior
It seems the site for the documentation for the wizard-behavior extension is down. The link to documentation returns error. The forum won't allow me to post a direct link at this point. Does anyone...
View Article[Extension] Xupload
I found that this extensions is out of date. Maybe some one can update it?
View ArticlePagine Statiche Nei Moduli - Come ?
Ho un modulo admin, il quale ha il suo DefaultController. Ho aggiunto questo public function actions() { return array( 'page'=>array( 'class'=>'CViewAction', ), ); } A questo punto, prima di...
View ArticleBypass Specific Validation Rule And Save Data On Button/link Click
Does anyone know how to get a link in your view form that can save the data and bypass validation for a specific rule/ or all rules? Here's how I want this: 1. The user clicks submit. 2. If a specific...
View ArticleExtend The Cviewaction
Hi How can modify the content that will be rendered in CViewAction? I assume I have to extend the CViewAction and override a method but which one and how ? Thanks!
View ArticleDisplay Error
In Yii how to check a value exist in the database and if its not exist, shows error message below the text box. In controller checks the value is exist, but how show error below the text box when value...
View ArticleHow To Search Models Based On Function-Result?
I have a File-model, for which I restrict access. The access is provided through a membership of groups having access - rather complex. Anyway, I have a function in my model called checkAccess() which...
View Article