Wiki articles

Showing 41-60 of 651 items.

Tunneling using SSH in a limited enviroment

Created 10 years ago by nineinchnick, updated 10 years ago by CeBe.

This tutorial describes how to connect to a remote service via tunnel when only most basic software is available on the remote server. It is not directly related to Yii. It could be hovewer useful for web developers working with shared hosting sites with limited access.

1 0
3 followers
Viewed: 18 755 times
Version: all
Category: Others

How to add an analogue clock widget on your skeleton application

Created 13 years ago by mocapapa, updated 13 years ago by mocapapa.


Followings are the simple steps to put an analogue clock widget on your skeleton application that is just generated by yiic.

1 0
1 follower
Viewed: 11 718 times
Version: 1.1
Category: Tutorials
Tags:

How to customize your grid columns visible and order by user themselves

Created 7 years ago by Scott_Huang, updated 7 years ago by Scott_Huang.

The export to excel function will affected by the final resorted columns in case you use my export grid to excel extends hzlexportgrid too, Since that export extention just depends on the grid columns configs, and that columns been customized by user themselves just now.

0 0
1 follower
Viewed: 22 653 times
Version: 1.1
Category: How-tos

WordPress Role Based Authentication in Yii

Created 10 years ago by Bob G, updated 10 years ago by CeBe.

This tutorial is for people that are integrating Yii into WordPress. Meaning that WordPress is the host platform, and that Yii will be handling AR, CRUD, etc.

4 0
8 followers
Viewed: 18 779 times
Version: 1.1
Category: Tutorials

Reading the doc

Created 13 years ago by zaccaria, updated 13 years ago by Orteko.

Almost all the information you need whilst working with yii is written in the Class Reference.

21 0
3 followers
Viewed: 12 421 times
Version: 1.1
Category: Tips
Tags: doc

ClientValidation for files (modern browsers)

Created 10 years ago by Kostas Apazidis (KonApaz), updated 10 years ago by CeBe.

There are cases that you want to validate the file format, size, extension etc but how to do that without submit the form ?

2 0
6 followers
Viewed: 18 143 times
Version: 1.1
Category: How-tos

Using the jamselect widget with min and max values

Created 13 years ago by got 2 doodle, updated 13 years ago by wei.

The keywords will be stored in a text field in a comma delimited format. The keywords will be created by the site administrator.

2 0
1 follower
Viewed: 18 696 times
Version: 1.1
Category: How-tos

ACL and RBAC

Created 11 years ago by zeroByte, updated 11 years ago by kevinkorb.

This HowTo assumes that you have a smattering of ACL in general and of how the acl-extension works basically. It will introduce you into the abstract and give you a hint on how to use Business-Rules. If you have in-depth questions, please refer to the extension documentation. Using ACL in an RBAC-manner cannot and should never obs...

0 0
3 followers
Viewed: 29 672 times
Version: 1.1
Category: How-tos

Using the jqueryslidemenu plugin with CMenu

Created 13 years ago by Antonio Ramirez, updated 13 years ago by pc131.

Yii makes it really easy for all to use their already made objects that automate everything we do. It provides also great power of flexibility and styling but hey, we programmers tend to complicate our lives and push a little more the power of our tools.

18 1
8 followers
Viewed: 41 873 times
Version: 1.1
Category: How-tos

Extending CActiveForm for some form display fixes and language tweaks

Created 13 years ago by Trejder, updated 13 years ago by Trejder.

In this simple example I'll demonstrate how to extend CActiveForm class to overload some drawing functions to achieve some commonly used fixes in forms.

The colon

Here is overloaded version of CActiveForm.labelEx that adds colon (:) at the end of text of label with respecting CHtml::$afterRequiredLabel and CHtml::$beforeRequiredLabel

5 0
6 followers
Viewed: 23 980 times
Version: 1.1
Category: Tips

Alternative wildcard characters CDbCriteria

Created 11 years ago by maigret, updated 11 years ago by maigret.

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 $...

1 0
2 followers
Viewed: 11 583 times
Version: 1.1
Category: How-tos

Yii and XAMPP server on Windows

Created 13 years ago by Trejder, updated 13 years ago by Trejder.

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.

3 0
0 follower
Viewed: 79 300 times
Version: 1.1
Category: Tutorials

Database Driven CMenu

Created 10 years ago by Preacher, updated 10 years ago by CeBe.

Purpose

0 0
4 followers
Viewed: 7 817 times
Version: 1.1
Category: Tutorials
Tags:

Extending CJuiDialog

Created 11 years ago by dstudio, updated 11 years ago by Maurizio Domba Cerin.

Sometimes you have CJuiDialog with different content but same buttons (or width, height). If you don't want to repeat yourself this is a great solution:

1 2
2 followers
Viewed: 18 341 times
Version: 1.1
Category: How-tos

Yii behind a reverse proxy, SSL support and correct IP logging

Created 11 years ago by mrkmg, updated 11 years ago by mrkmg.

If you are hosting Yii behind a reverse proxy, for example nginx, and you are having issues with your logs showing the proxies IP, or the urls being created arn't being created for SSL because your SSL certs are located on your reverse proxy instead of the Yii server, this code may be able to help you. I placed them in the very top of Yii's entry script, index.php

0 0
2 followers
Viewed: 17 898 times
Version: 1.1
Category: Tips

Tags manipulation using Select2 in single field

Created 10 years ago by sefburhan, updated 10 years ago by CeBe.

Sometime its very important to perform many actions/operation with limited time frame for friendly use, select2 provides a lot of such functionality , I just extend it tags functionality to provide a quick use for developer to save time, as I spent much time on it.

2 0
35 followers
Viewed: 49 240 times
Version: 1.1
Category: Tutorials

Integrate Zend 2 XML writer into Yii

Created 10 years ago by Jonny, updated 10 years ago by CeBe.

By Integrating the Zend 2.* framework into Yii you can quickly and painlessly generate XML outputs from your controllers. This will be helpful to anyone who has never done this before or only done it with Zend 1 as the introduction of namespaces can be strange when you first view them.

2 0
4 followers
Viewed: 48 669 times
Version: 1.1
Category: Tutorials
Tags: XML, zend

How to implement magento cron on yii

Created 10 years ago by Ankit Modi, updated 10 years ago by CeBe.

Hi Friends, First I would to say sorry but I am not very familiar to magento so after a 1 week spend I will implement the magneto cron functionality on yii I hope it's may be some helpful.

0 0
3 followers
Viewed: 20 702 times
Version: 1.1
Category: How-tos

Changing Controllers Name

Created 13 years ago by Trejder, updated 10 years ago by Trejder.

This very short how-to presents steps required to change controller name. It is oriented for less experienced users, which are starting their journey with Yii, to avoid common newbie pitfalls.

4 0
2 followers
Viewed: 26 596 times
Version: 1.1
Category: How-tos

The MrFisk IRC Bot

Created 11 years ago by rAWTAZ, updated 10 years ago by rAWTAZ.

MrFisk is a sleek little bot hanging out in the official #yii IRC channel on freenode, meant to serve Yii users with documentation lookups and other things. This document intends to provide a summary of what MrFisk can do for you and how to use his fin^H^Heatures.

6 0
7 followers
Viewed: 36 369 times
Version: 1.1
Category: Others
Tags: bot, IRC, MrFisk, YiiBot