Wiki

Sorted by date (updated)X
Displaying 331-340 of 752 result(s).

Create a custom menu using CMenu data-items (flat or tree structure)

Updated about a year ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 13,759 times – ( +4 )
There are cases that you want more control to your menu Suppose you want a specific menu with complex css, layout, images. also you want to add extra content,html,css,javascript etc it run time foreach submenu item by conditions.

Dynamic parent and child CGridView on single view. Using $.ajax to update child gridview via controller, after row in parent gridview was clicked.

Updated about a year ago by Gerhard LiebenbergTutorials20 comments – viewed 76,319 times – ( +27 / -1 ) – version 1.1
This wiki is a step-by-step example explaining how the controller, model and the view's CGridView work together. It explains simple things - as well as more complex things that you will anyway quickly have to know. So, even if you don't use dynamic gridviews, take a morning off and thoroughly work through this tutorial. It should save you lots of struggling.

Multi Data Provider

Updated about a year ago by Sharon LavieTips0 comments – viewed 6,718 times – ( +1 )
Lately, i needed to deal with the following scenario: read from two databases (db1,db2), and write to a third database (db3).

How to use PHPExcel external library with Yii

Updated about a year ago by cgsmithHow-tos14 comments – viewed 74,073 times – ( +29 / -1 ) – version 1.1
Trying to learn and help some other programmers to find their solutions on the Yii Forum (I think is a superb way to learn the framework), I was facing one challenge with an external library that a fellow programmer wanted to use -quite good indeed: PHPExcel. And what is PHPExcel?

Relations: BELONGS_TO versus HAS_ONE

Updated about a year ago by JorgeeFAQs9 comments – viewed 97,880 times – ( +68 ) – 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 about a year ago by trondHow-tos0 comments – viewed 7,521 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 about a year ago by acorncomHow-tos23 comments – viewed 40,609 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 about a year ago by nineinchnickTutorials2 comments – viewed 3,918 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 about a year ago by Ankit ModiTutorials0 comments – viewed 9,849 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 about a year ago by Ankit ModiTips0 comments – viewed 16,414 times – ( -2 )
Hi Friends, Hi Friends, Some common question is difficult to how to create the layout on yii and how to work