Yiianswers - yiianswers.com - Yii Answers

Latest News:

YiiBooster datepicker options 9 Apr 2013 | 08:12 pm

Hi, my question concerns the datepickerRow widget. Per this page: http://www.eyecon.ro/bootstrap-datepicker/ (that’s the datepicker implementation that YiiBooster uses) there are 2 options: format wee...

yii extensions for build cms like wordpress 7 Apr 2013 | 10:12 pm

Hi, I’m looking yii extensions for build custom cms like wordpress. Many of features (theme, mutlilang cache etc) already exist in yii. But I want to need suggestions to build custom cms with extensio...

CHtml::button redirect 14 Mar 2013 | 08:08 pm

How can i use CHtml::button or any button that will redirect to another page? It’s basically a link but the look should be a button. Thanks.

Geting TbEditableColumn enabled attribute to use an expression rather than a boolean value 7 Mar 2013 | 02:04 am

is there a way to get the TbEditableColumn enabled attribute to use an expression rather than a boolean value (ie: true) The following is an example of what I am trying to do: array( ‘class’ => ‘boots...

Scale Yii in the cloud 3 Mar 2013 | 01:53 am

Looking for input on scaling Yii apps into the cloud. Yii has a standard MySQL relational database which does not scale well into the cloud architecture. Would like to hear how others are successfully...

activate module translation 18 Feb 2013 | 01:22 pm

Hi, the brand new module I have installed in my app, uses a different sourceLanguage than my app. Hopefully (and as it was built with i8n in mind), this module comes with a set of message files that i...

Best approach for working with joins and echoing out information 1 Feb 2013 | 03:28 am

Hi, I’m new here so apologies if this question’s answer is simple. If I have a list of questions in a questions table and each row of data has a FK that links to a category table. What is the best met...

how can i solve this : array_map(): Argument #2 should be an array 31 Jan 2013 | 11:20 am

public function accessRules() { array(‘allow’, // allow admin user to perform ‘admin’ and ‘delete’ actions ‘actions’=>array(‘admin’,'delete’,'update’,'index’,'view’), ‘users’=>Yii::app()->user->getSta...

Problems updating rating widgets using AfterAjaxUpdate with CListView 24 Jan 2013 | 11:31 pm

I have a customized ListView class that overrides the renderSorter method to support a drop-down for the sort.   echo CHtml::dropDownList('sort', $sort, $this->sortCriteria, array(         'id' => 'so...

TDD Best Practice In Using Restful Api 23 Jan 2013 | 02:40 am

Hi there, I’m constantly looking for the best way to use TDD in Yii app development. Nowday most web app are composed by a fronted, an API layer (usually JSON) to provide async calls to the server and...

Recently parsed news:

Recent searches: