Yii Autocomplete Suggest And Append Option
Hi all i wanted to use autocomplete in one of the my forms.i googled it and found a very good example from here but there is an issue when i implemented the autocomplete functionality when i type...
View ArticleDropdownlist
I want to show a selected value from the table in the dropdownlist as the starting value like the "prompt" statement. When i am displaying using prompt,then on sending the form, the value is not set...
View ArticleCan I Have Yii Developers Skype Ids
I would like to get any Yii programmers Skype IDs, I will add you to my Skype etc.
View Article[Ask] Crosstab Cgridview
i have a question, how to make a view like this, from my CGridView, this is my code : <?php $sum=Yii::app()->db->createCommand('SELECT SUM(penyusutan) FROM...
View ArticleOpen-School
Open-School is an integrated school management system which focuses on excellence and evolution in the field of Education.Developed using YII. Check out Here Open-School . http://open-school.org Try...
View ArticleRadio Button Value
In the site/index.php, have the following code. <?php echo CHtml::radioButtonList('choice','',array('User1'=>'User1','User2'=>'User2',), array( 'separator' => "<br>")); ?> <?php...
View ArticleDataprovider结果求助
$dataProvider = $consultsales->search ( $consultsales, $consult ); $data = $dataProvider->getData (); foreach($data as $value){ 联合查询中,这里根据$value,怎么样才能分析到$value有几个表对象 可以不用$value->alias }
View ArticleFilters Using Relationship Id
I have problem with filters using relationship id like: in Model return array( 'mname' => array(self::BELONGS_TO, 'Voilencemethods', 'name'), ); using in GridView array( 'name'=>'name',...
View ArticleGrid Name/title For Cgridview
Hi Everyone, I'm having a bit of trouble with what I would have thought was a very simple task. I'd like the name of the grid to display as something other than what it's currently displaying as... I...
View ArticleHow Can I Call Crontab For Command/action
Hi all, I would like to know how can i run the command action but not default action function run? i have an command name auth and i would like to run for actionRemoveSsoToken. When i run from putty, i...
View Article[EXTENSION] simpleWorkflow
Hi all, have you ever had to handle a 'status' attribute in one of your model ? And how many values this 'status' could have :2, 5, 42 ? The Yii blog Demo application uses 3 statuses for its Post...
View ArticleTextbox Background Image
Hi, I am new to Yii, and I dont know how to put background image for the textbox. So please any one can help me. Regards, Pratik Shah
View ArticleCdbcriteria Order By Field(Xx,0), Xx Asc
Hola, Como puedo hacr algo parecido a esta consulta con CDbCriteriaSELECT * FROM YY ORDER BY FIELD(xx,0), xx asc;
View ArticleMultimodel Forms Y Cjuitabs
Saludos a todos. Soy novatillo en Yii y estoy haciendo un proyecto para ir avanzando. Estoy intentando crear un form con tres modelos, y que haga un renderpartial con cada uno de los _form de los...
View ArticleYii Docs: Generate Docs For Api, Guide And Blog (Chm Compartible)
Hi, I have in-house IDE I use with Yii and I want to make integration with Yii Manuals (API, Guide and Blog). All I need is un-compiled CHM files (html/css/js and .hhp .hhk and .hhc). I tried with...
View ArticleCollecting Tabular Input
Hi Experts, I'm trying to store tabular input values in my model. I'm using only one model. I need to store in my model. but only last record is getting changed not all the records can any one pls tell...
View ArticleRelacionamento Muitos Pra Muitos
Estou precisado de uma ajuda para gravar dados em uma tabela com relacionamento muitos para muitos. Vou tentar explicar como faço: Tenho a TABELA_A,TABELA_REL a TABELA_B TABALA_A TABELA_REL TABELA_B ID...
View ArticleMultiple Forms For Single Model
Hi All, I have a model(table with 2 fields name(pk) and text). I need to show the data in these forms and update it from the page. I'm able to show the form by using this <?php echo...
View ArticleSingle Model For Multiple Tables
is there a way to create a model that will gather data from several tables? maybe, joined by sql, or by means of relations. i want my CGridView and other widgets to operate with columns from joined...
View Article