Help With The Searching
I have 3 tables like this: User: id Skill: id UserSkill: id, user_id, skill_id So UserSkill table links User and Skill table together with the relationship: User can has many Skills. It means User has...
View ArticleHow To Add Html Class To $Content -><Div Id="content">
How to add html class to $content -><div id="content"> i'm newbie Thank you...
View ArticleYii And Jquery Ajax Csrf Issue
Hello: Been using Yii for the past few weeks now and so far I love it. But I'm running into a problem making an Ajax call to a web service I've set up in YII from jQuery. I'm using the great...
View ArticleModel Caching Issue
Hi everyone. I'm having a weird issue with one of my models being cached somehow on a production server. I'm not experiencing this problem on a development server copy of the same app. At first I...
View ArticleUpdate Banyak Data
Para master mau tanya bagaimana caranya membuat approval pakai CCheckBoxColumn di view saya seperti ini <?php $form = $this->beginWidget('CActiveForm', array( 'id' => 'lihat1-form', 'action'...
View ArticleEexcelview And Export Data From All Columns
Hello. Is this possible to export all dbtable columns? Because in my cgridview i'm displaying only 5 columns, but in dbtable i have 10 columns. I export data using this code in my view:...
View ArticleEexcelview - Export Search Result Grom Tbgridview
Hello. I've a little problem with EExcelView. I added eexcelview and phpmyexcel to my app.ext. Then i created additional action in my controller: public function actionEksport() { // Load data $model =...
View ArticleDiscover Event Details Within Handler
I am trying to learn how to discover which event (eg, onBeforeSave, onAfterSave etc.) was fired from within the scope of the handler. ie class Handler { public function handleAllEvents(CEvent $event) {...
View ArticleIniziare Con Yii
ciao a tutti!! vi spiego subito il mio problema. Sto iniziando a smanettare con Yii seguendo la guida che ho trovato si HTML.it ho scaricato il file, decompresso, e messa la cartella all'interno del...
View ArticleProblema Con Url Manager
Ciao ragazzi, vorrei creare una regola per scrivere l'url nel modo seguente: news/<categoria>/<sottocategoria>/id Io ho provato con questa:...
View ArticleMany-Many Relationship Searching Problem
I have 3 tables User, Skill, UserSkill: User: id Skill: id UserSkill: id, user_id, skill_id The relationship as following: User - HASMANY UserSkill, Skill HASMANY UserSkill and User MANY-MANY Skill....
View ArticleAyuda: Login Automático Al Abrir La Aplicación
Gente, necesito que cuando cualquier usuario (suponiendo que no existe una sesión abierta) ingresa a mi aplicación poniendo la URL, solo pueda ver el formulario de login. Si intenta ingresar una URL...
View ArticleDraw The Multidimensional Grid View
I dont know how to make the grid view in Yii. So come here to ask about the solution to change the work from the php, html and javascript to yii. 1 - The first thing is about the basic table, which I...
View ArticleSaving Filters
hello dear All, I want to save filter with title and some description. How can i get the latest filtered IDS (for saving) from Gridview after success(as to avoid completion conflicts). $('.filter-form...
View ArticleCustom Page Size For Cgridview - Error
Hi.. Ive been trying to implement the Custom Page Size for CGridView that is mentioned in the url : http://www.yiiframework.com/forum/index.php/topic/8994-dropdown-for-pagesize-in-cgridview/ But for me...
View ArticleCustom Page Size For Cgridview - Error
Hi.. Ive been trying to implement the Custom Page Size for CGridView that is mentioned in the url : http://www.yiiframework.com/forum/index.php/topic/8994-dropdown-for-pagesize-in-cgridview/ But for me...
View ArticleHow To Check If Script File Already Registered
Hi everyone, I am using tab with ajax. Every time I open a new page in my tab, the javascript files required is loaded. Then when I open another page on another tab, the javascript required for that...
View ArticleStruggling With The Database Design
Im making a website about job market, while developing I see many problems so I look back to the design to figure it out. 1- First is about something basic like employment. My scenario is this is...
View ArticleCgridview Auto-Update After Create A Record
Hello all, I have a CJuiDialog like this code below: $this->beginWidget('zii.widgets.jui.CJuiDialog', array( 'id'=>'dialogOperation', 'options'=>array( 'title'=>'Add Operation',...
View Article[ASK] mau bikin Html to PDF
Agan2 YII'ers... Para Dewa - Dewi Penghuni YII... mau minta tolong, Gmn cara HTML d'convert ke PDF via YII aku makai http://www.yiiframework.com/extension/pdf, untuk convert HTML ke PDF.. tp hasil pdf...
View Article