Wiki

Sorted by ratingX
Displaying 151-160 of 750 result(s).

Yiinitializr: The Library

Created 2 years ago by Antonio RamirezOthers9 comments – viewed 15,293 times – ( +15 ) – version 1.1
Introduction

Write & use a custom Component in Yii2.0

Created 8 months ago by sirin kHow-tos2 comments – viewed 13,046 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)

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

Created 4 years ago by Steve FriedlHow-tos8 comments – viewed 42,826 times – ( +22 / -1 ) – version 1.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

Creating a CSS Driven Drop Down Menu using CMenu

Created 3 years ago by blindMoeHow-tos10 comments – viewed 73,146 times – ( +22 / -1 ) – version 1.1
CMenu offers great functionality and the ability to customize just about every aspect of the output. There are many times when I need to create a drop down menu or simply modify the look to make the designers happy. Because this seems to be a common task for me, I figured I would share my code to create a very simple drop down menu that other people could use.

How to translate and do the translations the easy way

Created 3 years ago by Roman SolomatinHow-tos3 comments – viewed 52,416 times – ( +28 / -2 ) – version 1.1
I wanted to keep all the I18N related translations in separate files, so that I would not need to modify the view files or the model files every time I need to update or fix the translations of application's source language.

CGridView: Update/create records in a CJuiDialog

Created 3 years ago by JobloTips12 comments – viewed 41,718 times – ( +14 ) – version 1.1
My article Display the full record in a CJuiDialog uses ajax to view a record in dialog on clicking the 'view-icon'.

Eclipse PDT - code-hints, references and other goodies

Created 6 years ago by mindehTutorials2 comments – viewed 27,304 times – ( +14 ) – version 1.1
Since PHP is dynamically typed language, the way IDE may help you is limited.
tags: IDE

Drop down list with enum values for column of type ENUM >+> incorporate into giix

Created 3 years ago by c@cbaHow-tos3 comments – viewed 27,896 times – ( +14 ) – version 1.1
Let's say our table 'mug' has a column named 'color' of the type ENUM('red','green','blue'). We want to replace the textfield for the attribute color in the create and update forms of a 'mug' with a drop down list, which has the enum values as options. The main code was contributed by zaccaria in the forum (see this post).

How to use ldap in UserIdentity for authentication

Created 5 years ago by BeerSercTutorials15 comments – viewed 41,497 times – ( +14 ) – version 1.1
Yii does not have an LDAP class itself, but its very easy to implement LDAP in the stock UserIdentity class.

Module based login

Created 4 years ago by suriyansureshTutorials6 comments – viewed 50,561 times – ( +14 ) – version 1.1
If you want to add module based login to a site without using RBAC, please follow these guidelines.