Wiki

Sorted by commentsX
Displaying 141-150 of 482 result(s).

Create image thumbnails with php_img_preview

Created 10 months ago by Anas AbuDayahTutorials5 comments – viewed 5,926 times – ( +3 )
This is another way to view images in your application and I like this way because it's simple and I think it's better performance than other.
tags: images, views

Moving project code outside of webroot (plus multiple project support)

Created 2 years ago by Steve FriedlHow-tos5 comments – viewed 25,148 times – ( +22 / -1 )
Yii's by-default directory organization works well enough, but there are several steps one can take that improve the security and serviceability of the system, especially in the context of multiple Yii projects on the same machine (including multiple versions of the same project).
tags: config, security

CButtonColumn: Use special variable $data for the 'id' in the 'options' of a button

Created 9 months ago by bluezedTutorials5 comments – viewed 7,871 times – ( +6 )
In an application I had a CGridView with a CButtonColumn and for an Ajax-Request I needed to make sure that the IDs of the buttons would not change when the GridView was updated so in effect I wanted to link them to the $data->id. So I tried:

Create Yii Project In Cloud9

Created 9 months ago by BenTutorials5 comments – viewed 8,213 times – ( +3 )
This tutorial will guide you through the process of creating a yii application using Cloud9. We will use a git workspace to enable version control and also show how to link the Cloud9 workspace to GitHub.

X-Sendfile - serve large static files efficiently from web applications

Created 2 years ago by Maurizio DombaHow-tos5 comments – viewed 24,146 times – ( +24 )
Normally when we want users to download a file, that file is put in a folder under the web application root and the web server does the rest.

Additional form data with XUpload

Created 8 months ago by AsgarothHow-tos5 comments – viewed 11,233 times – ( +6 )
In this article you'll learn how to send additional form data when uploading files using XUpload widget

A simple go back button widget

Created 8 months ago by CTalaHow-tos5 comments – viewed 7,357 times – ( +4 / -2 )
We all know that widgets are really useful. We can use the almost everywhere we want, and we can use the same code a lot of times ( Almost OOP ).

URL management for Websites with secure and nonsecure pages

Created 8 months ago by qiangHow-tos5 comments – viewed 7,300 times – ( +15 )
In this article, I will describe how to manage URLs for a Website that has both secure and nonsecure content.
tags: URL

Install, update and use Yii with WAMP server

Created 8 months ago by mrsHow-tos5 comments – viewed 10,323 times – ( +4 / -1 )
Here I am describing how you can install and update Yii in WAMP sever.

Impersonate Users within Yii Framework

Created 2 years ago by WoilTutorials5 comments – viewed 9,259 times – ( +20 )
For some applications it can be advantageous for administration reasons to allow site administrators to login as other users. This is sometimes called user impersonation or "becoming that user".