Wiki articles

Showing 61-80 of 822 items.

CMenu widget like bootstrap navbar with submenu

Created 8 years ago by kv4nt, updated 8 years ago by kv4nt.
0 0
1 follower
Viewed: 22 797 times
Version: 1.1
Category: Tutorials

Background task with Ajax

Created 8 years ago by Alexandre Rodichevski, updated 8 years ago by Alexandre Rodichevski.

This article discusses how one can run a long task in background in yiiframework 1.1 using Ajax technique.

0 0
1 follower
Viewed: 25 476 times
Version: 1.1
Category: Tutorials

Set a menu - reusable code

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

As we know Using crud generator creates menu items in view files (for each view file have a varius menu items)

1 0
3 followers
Viewed: 11 393 times
Version: Unknown (update)
Category: Tips

Yii2cdn Component

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

A Yii Framework 2 component for using assets in different environments (Local/CDNs)

0 0
2 followers
Viewed: 17 903 times
Version: 2.0
Category: How-tos
Tags: assets, CDN, yii2

MVC primer and 5 minute form walkthrough

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

This tutorial assumes some basic knowledge of Yii and a functional development environment.

8 0
6 followers
Viewed: 29 378 times
Version: 1.1
Category: Tutorials

Yii 1.1.17 Ubuntu AutoInstall Bash Script

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

Just thought I would share this bash script I wrote to help automate a base install of YII on an Ubuntu server. This script does the following:

1 1
1 follower
Viewed: 11 722 times
Version: 1.1
Category: Others

How To: Custom Client Validation On Checkbox Toggle and Optional Input Field

Created 7 years ago by Wade Shuler, updated 7 years ago by Wade Shuler.

I just chased my tail around for a bit today. I got lost with setting the status of all inputs, and banging my head on why the "validate" function just wasn't working.

0 0
1 follower
Viewed: 22 952 times
Version: 2.0
Category: How-tos

Named scope - Get orphan AR without losing primary key

Created 13 years ago by cma, updated 12 years ago by Steve Friedl.

Sometime, in a many-to-many relation, you need to retrieve AR that aren't linked. In practice, AR with null value in the join table. So you implements a criteria like this :

public function scopeUnused( $useAnd = true )
    {
        $join = " left outer join composed_by j on t.ID = j.ID ";
        $condition = ' j.ID Is Null';

0 0
2 followers
Viewed: 9 334 times
Version: 1.1
Category: Tutorials
Tags:

Yiistrap TbHtml::navbarSearchForm

Created 10 years ago by Patrice, updated 9 years ago by CeBe.

Hi all,

0 0
3 followers
Viewed: 18 306 times
Version: 1.1
Category: Tips

Adding Bash Command Completion for Yii Commands

Created 11 years ago by Dustin Oprea, updated 11 years ago by Dustin Oprea.

This article discusses the installation/configuration of the YiiBash project (https://github.com/dsoprea/YiiBash).

3 0
5 followers
Viewed: 14 576 times
Version: 1.1
Category: How-tos
2 0
9 followers
Viewed: 14 982 times
Version: 1.1
Category: Tutorials

Tunneling using SSH in a limited enviroment

Created 10 years ago by nineinchnick, updated 9 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 700 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 671 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 588 times
Version: 1.1
Category: How-tos

WordPress Role Based Authentication in Yii

Created 10 years ago by Bob G, updated 9 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 729 times
Version: 1.1
Category: Tutorials

REST API and null values in XML

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

I have been working on a REST API using the excellent tools provided by Yii2. My problem was that I have to differentiate between empty values and null values. In other words, <elem></elem> is different from null as it represents an empty string. Also, although some use <elem/> to represent a null value it should still be interpreted as an empty string. In other cases, the absence of the eleme...

0 0
0 follower
Viewed: 19 469 times
Version: 2.0
Category: Tips
Tags: null, REST, XML

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 387 times
Version: 1.1
Category: Tips
Tags: doc

ClientValidation for files (modern browsers)

Created 10 years ago by Kostas Apazidis (KonApaz), updated 9 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 105 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 655 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 611 times
Version: 1.1
Category: How-tos