Sorted by date (updated)X
Displaying 371-380 of 779 result(s).

Relations: BELONGS_TO versus HAS_ONE

Updated 3 years ago by JorgeeFAQs9 comments – viewed 117,181 times – ( +69 ) – 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 3 years ago by trondHow-tos0 comments – viewed 8,963 times – ( +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 3 years ago by acorncomHow-tos23 comments – viewed 54,271 times – ( +22 ) – 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 3 years ago by nineinchnickTutorials2 comments – viewed 4,688 times – ( +2 )
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 3 years ago by Ankit ModiTutorials0 comments – viewed 11,785 times – ( +1 / -1 )
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 3 years ago by Ankit ModiTips0 comments – viewed 21,961 times – ( -2 )
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 3 years ago by trondHow-tos0 comments – viewed 4,413 times – ( +2 )
Use this code in your view,make sure to put EAmChartWidget in your extension folder. here is the url of widget


Updated 3 years ago by ezekielnoobHow-tos6 comments – viewed 12,399 times – ( +5 / -1 )
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 3 years ago by WaldemarProssTutorials13 comments – viewed 290,439 times – ( +99 ) – 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 3 years ago by trondTips5 comments – viewed 5,525 times – ( +9 )
some times we want to show the serialNo on cgridview .