Wiki

Sorted by ratingX
Displaying 501-510 of 786 result(s).

How to install Yii 2 advanced on a shared hosting environment

Created 2 years ago by oligalmaHow-tos1 comment – viewed 17,050 times – ( +3 / -1 ) – version 2.0
I've read many comments that it's not possible to install Yii 2 advanced on a shared hosting environment, as it has two webroots. This is partially true.

Adding Bash Command Completion for Yii Commands

Created 5 years ago by Dustin OpreaHow-tos0 comments – viewed 10,258 times – ( +3 / -1 ) – version 1.1
This article discusses the installation/configuration of the YiiBash project (https://github.com/dsoprea/YiiBash).

How to setup CKeditor

Created 5 years ago by Dark-SunTutorials4 comments – viewed 26,462 times – ( +3 / -1 ) – version 1.1
To start with you need to download the latest stable release of CKeditor. Extract the downloaded file and place the ckeditor/ folder in your applications webroot directory. (beside "protected" and "css" and other directories)

Alternative wildcard characters CDbCriteria

Created 5 years ago by maigretHow-tos0 comments – viewed 8,309 times – ( +3 / -1 ) – version 1.1
In SQL, wildcard characters can be used in "LIKE" expressions; the percent sign (%) matches zero or more characters, and underscore (_) a single character. Sometimes users are not familiar with these or they are using different ones like (*) and (+) similar to regular expressions. My colleages do so and then i decided to add this feature by extending CbCriteria. Especially adding a new parameter $wildcard_chars to the method addSearchCondition to replace them if needed with standard SQL characters:

Yii and XAMPP server on Windows

Created 7 years ago by TrejderTutorials0 comments – viewed 63,647 times – ( +3 / -1 ) – version 1.1
This article explains issues about installing XAMPP server package (Lite version) on Windows OS and configuring it for serving webapps written in Yii. Please note, that XAMPP is available for many more platforms and systems. I write about Windows edition as it was the only one tested by me.
tags: windows, xampp, server

How to create Module based Login

Created 3 years ago by Ibrar TuriHow-tos1 comment – viewed 14,190 times – ( +3 / -1 ) – version 1.1
Lets say we have 3 modules (customer, user, admin) in an application and we need, separate logins for each module.

Create image thumbnails with php_img_preview

Created 5 years ago by Anas AbuDayahTutorials6 comments – viewed 15,974 times – ( +3 / -1 ) – version 1.1
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

Upload image and content using AJAX and Store it in different table

Created 3 years ago by Selvakumar KaliyappanHow-tos1 comment – viewed 54,195 times – ( +3 / -1 ) – version 1.1
We all know how to upload the content and images at the same time with refreshing the page. And uploading the images using Ajax we have faced some issues, here i have fixed the issues and both content and photos are uploaded using Ajax. And both content and images are stored in the different tables

How to customize error handling in console-mode applications

Created 7 years ago by Steve FriedlHow-tos1 comment – viewed 13,458 times – ( +3 / -1 ) – version 1.1
One can control the detail of a web application in the webroot/index.php file by manipulating the values of YII_DEBUG and YII_TRACE_LEVEL, but these don't appear to be used by console applications. This is because although the base CApplication class defines a displayError() method that does consider these variable, CConsoleApplication overrides it with a function that doesn't honor them.