Wiki

Sorted by date (updated)X
Displaying 381-390 of 786 result(s).

Relations: BELONGS_TO versus HAS_ONE

Updated 4 years ago by JorgeeFAQs9 comments – viewed 129,585 times – ( +69 / -1 ) – version 1.1
It's very common to see new Yii users confusing the relations HAS_ONE and BELONGS_TO, and getting it wrong means you won't get proper values back. And though we'll talk about HAS_MANY as well, we're specifically omitting the MANY_MANY relation because it's a whole different animal.

Make theme and layout option in your site

Updated 4 years ago by trondHow-tos0 comments – viewed 9,923 times – ( +1 / -1 )
Here i am writing code how to add option of theme change and layout change in your website.
tags: theme, layouts

Integrating Wordpress and Yii: still another approach, using Yii as the router/controller

Updated 4 years ago by acorncomHow-tos23 comments – viewed 62,043 times – ( +22 / -1 ) – version 1.1
A lot of people have written posts on integrating Yii and WordPress. This article combines goncin's approach with an article I read about integrating Symfony and WordPress and applies it all to Yii and WordPress.

Help pages using Markdown view renderer

Updated 4 years ago by nineinchnickTutorials2 comments – viewed 5,262 times – ( +2 / -1 )
This tutorial describes how to write your views for help pages using Markdown syntax to be able to generate PDFs from same source files.

Display image on CGridView column and open a fancy-box

Updated 4 years ago by Ankit ModiTutorials0 comments – viewed 13,081 times – ( +1 / -2 )
1) Add a fancy-box extension on admin page

How to call a default layout for every module and how to work <php echo $content; ?>

Updated 4 years ago by Ankit ModiTips0 comments – viewed 26,017 times – ( -3 )
Hi Friends, Hi Friends, Some common question is difficult to how to create the layout on yii and how to work

make chart from custome queries using amcharts widget

Updated 4 years ago by trondHow-tos0 comments – viewed 5,070 times – ( +2 / -1 )
Use this code in your view,make sure to put EAmChartWidget in your extension folder. here is the url of widget http://www.yiiframework.com/extension/eamchartwidget/

Yii HMVC

Updated 4 years ago by ezekielnoobHow-tos6 comments – viewed 14,087 times – ( +5 / -2 )
Right now we can use widgets + action provider like in this tutorial: How to use a Widget as an Action Provider

Yii for beginners

Updated 4 years ago by WaldemarProssTutorials13 comments – viewed 308,053 times – ( +99 / -1 ) – version 1.1
Hi. This is first article with my Yii tutorial. I had to split it into more articles as there's limited length of texts on Wiki. So once you understand basics, you can read next article here: Yii for beginners 2.

Cgridview counter column

Updated 4 years ago by trondTips5 comments – viewed 6,508 times – ( +9 / -1 )
some times we want to show the serialNo on cgridview .