Wiki

Sorted by viewsX
Displaying 431-440 of 752 result(s).

Integrating FirePHP

Created 4 years ago by ricardogranaTutorials5 comments – viewed 11,907 times – ( +8 ) – version 1.1
Install Firebug plugin for Firefox from here.

YII SaaS Multi Tenant application with single database

Created 2 years ago by Rajith RTutorials5 comments – viewed 11,894 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.

How to create a wrapper for a js library

Created 4 years ago by zaccariaHow-tos2 comments – viewed 11,875 times – ( +16 / -1 ) – version 1.1
This wiki will explain how to include a javascript library in a widget.
tags: wrapper, js, uploadify

Insert a multirow header in CGridView

Created 2 years ago by PeppeHow-tos2 comments – viewed 11,739 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.

Upload files in Yii2 with MongoDb and GridFs

Created about a year ago by edoardo849How-tos3 comments – viewed 11,680 times – ( +8 ) – version 2.0
Uploading files in a webapp can be extremely tricky and sometimes the quickest way to do it is to store the file directly in the webserver or into a DNS (like Amazon S3) and then to save the link and the metadata inside a table in the DB. The thing is that you'll have to deal with file permissions, server storage, file management and so on (which is perfectly fine, by the way).

Adding a link to a CDataColumn

Created 2 years ago by le_topTips6 comments – viewed 11,604 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.

How to ensure unicity to url

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

How to use bizRules in standard accessControl filter

Created 2 years ago by Maciej Li┼╝ewskiHow-tos8 comments – viewed 11,552 times – ( +3 ) – version 1.1
I assume you are familiar with accessControl standard filter. It allows you to separate privileges to run some action from action code itself. There is however one problem with most common usage - you cannot use bizRules, at least based on some parameters passed to 'checkAccess' just because it is hard to pass them in accessRules() result.

URL component access functions

Created 4 years ago by Steve FriedlTips1 comment – viewed 11,509 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 change the confirmation message on admingridview button and call a ajax..Dynamic

Created about a year ago by Ankit ModiTips0 comments – viewed 11,428 times – ( +3 ) – version 1.1
Hi Friends,