Wiki

Sorted by viewsX
Displaying 421-430 of 741 result(s).

How to ensure unicity to url

Created 3 years ago by zaccariaTips3 comments – viewed 11,269 times – ( +14 ) – version 1.1
Many time for SEO porpouses is important that each page will have a unique address.
tags: SEO, unique, URL

URL component access functions

Created 4 years ago by Steve FriedlTips1 comment – viewed 11,135 times – ( +28 ) – version 1.1
Many applications wish to obtain parts of the URL for the current page (the hostname, the query string, etc.), and the CHttpRequest class wraps various $_SERVER variables to break down the URL into its constituent parts.
tags: URL, request

How to create a Widget - Recent Comments widget

Created 10 months ago by Nisanth thulasiHow-tos3 comments – viewed 11,120 times – ( +6 ) – version all
Here's a simple way to create a Recent comments showing widget to be used in your templates. The idea is just to highlighting your blog's new comments.

YII SaaS Multi Tenant application with single database

Created about a year ago by Rajith RTutorials5 comments – viewed 11,105 times – ( +11 / -10 ) – version 1.1
Lots of people are asking how to solve it with YII,We think its difficult with YII. But its easy to solve . There is no database triggers needed . we can simply sove it by extending a class(say "RActiveRecord") from CActiveRecord .Then extend all our model classes from that class.

Filter & Sort by Summary Data in GridView Yii 2.0

Created 11 months ago by Kartik VTutorials6 comments – viewed 11,100 times – ( +37 / -4 ) – version 2.0
This wiki explains how to add summary data from related models into your Yii Framework 2.0 gridview with filtering and sorting by the summary columns.

Ordering Models by Weight with CJuiSortable

Created 5 years ago by Matt KelliherTutorials2 comments – viewed 10,979 times – ( +10 ) – version 1.1
In this tutorial we will be setting up a content type to be ordered by weight using the JUI Sortable plugin.

Insert a multirow header in CGridView

Created about a year ago by PeppeHow-tos2 comments – viewed 10,974 times – ( +6 ) – version 1.1
The CGridView widget is very useful and customizable, but sometimes you need a little more. One limit I found is to have only one row for headers; yes, you can write each column header in more than one row, but just inside the single cell. I was looking instead for the possibility to use more than one row, with different structure one from the others. This way you can write columns grouping headers, and obtain a nicer view.

Advanced CTabView using CClipWidget

Created 6 years ago by krillzipTutorials1 comment – viewed 10,893 times – ( +2 ) – version 1.1
Here is a way to dynamically extend tabs based on clips. Probably even more complex things could be done.

Write & use a custom Component in Yii2.0

Created 7 months ago by sirin kHow-tos2 comments – viewed 10,780 times – ( +15 ) – version 2.0
This is a simple example in Yii2.0 to understand how you can write a custom component and use it inside your app.(basic template)

Adding a link to a CDataColumn

Created 2 years ago by le_topTips6 comments – viewed 10,738 times – ( +3 ) – version 1.1
Backoffice Grid Views often list information like Posts for a blog while showing at the same time linked information like the User who wrote that post. For more efficiency, it is appropriate that the User is displayed as a link to the User detail page.