Wiki articles

Showing 681-700 of 823 items.

yii vim eclimd how it works

Created 14 years ago by RusAlex RusAlex, updated 14 years ago by RusAlex RusAlex.

I want to create a wiki page, and therefore im opening this discussion on this forum, for answering all questions and see other opinions, how do you use vim with yii.

8 0
8 followers
Viewed: 13 802 times
Version: 1.1
Category: How-tos
Tags: eclimd, vim, vimrc

Using jQuery UI 1.8.10 themes with Yii 1.1.6

Created 14 years ago by a110y a110y, updated 14 years ago by samdark samdark.

When using the latest stable jQuery UI themes (1.8.10) with Yii 1.1.6 (which uses 1.8.6) the widgets don't appear (they're invisible but they're there). In order to make them visible you need to change the following line:

2 0
2 followers
Viewed: 24 783 times
Version: 1.1
Category: Tips

Understanding "Assets"

Created 14 years ago by Steve Friedl Steve Friedl, updated 13 years ago by GOsha GOsha.

Many newcomers to Yii ask about the assets/ directory found under the webroot, and this article means to explain why it's there and how to work with it.

46 0
40 followers
Viewed: 214 190 times
Version: 1.1
Category: Tutorials

Functional tests independing from your urlManager settings

Created 14 years ago by RusAlex RusAlex, updated 14 years ago by RusAlex RusAlex.

If you are testing your app and use urlManager in your config, sometimes you will find a problem: you want to test your site independing from urlManager settings. in that way you need to extend your WebTestCase class by this method:

0 0
4 followers
Viewed: 12 971 times
Version: 1.1
Category: Tips

How to use a Widget as an Action Provider

Created 14 years ago by Antonio Ramirez Antonio Ramirez, updated 9 years ago by stinkytofu stinkytofu.

All done, now we can call all the actionProvider actions as controllerID/actionPrefix.actionID. Here is the example:

24 0
41 followers
Viewed: 63 266 times
Version: 1.1
Category: How-tos

CJuiDialog to create new model

Created 14 years ago by zaccaria zaccaria, updated 9 years ago by Maurizio Domba Cerin Maurizio Domba Cerin.

In this tutorial we will learn how to realize a create interface using a dialog.

55 0
64 followers
Viewed: 169 785 times
Version: 1.1
Category: Tutorials

Run an Yii Application inside an Wordpress page

Created 14 years ago by Paul Apostol Paul Apostol, updated 14 years ago by Paul Apostol Paul Apostol.

Create a folder where to place an Yii app under wordpress folder (mine is "yii')

12 0
14 followers
Viewed: 40 813 times
Version: 1.1
Category: How-tos

htmlOptions explained for various controls.

Created 14 years ago by Woil Woil, updated 14 years ago by Woil Woil.

Most controls that are rendered by CHtml have an argument called $htmlOptions. This argument is an array that holds the attributes of the HTML element. For example the following code:

15 0
14 followers
Viewed: 67 242 times
Version: 1.1
Category: Tips

Search method of a model for filters when using dates - unixtimestamp in database

Created 14 years ago by Mukke Mukke, updated 14 years ago by jwerner jwerner.

I ran into a problem and on irc we worked it out. Since there is a lack on information on filters in genral i thought i'd start sharing all my findings, might be usefull for other people.

10 0
11 followers
Viewed: 39 059 times
Version: 1.1
Category: Tips

javascript + tabular input

Created 14 years ago by zaccaria zaccaria, updated 13 years ago by Maurizio Domba Cerin Maurizio Domba Cerin.

If you tried this extension with success, maybe you thought how to do it without page submission or ajax calls.

13 1
25 followers
Viewed: 40 799 times
Version: 1.1
Category: How-tos

Real Time Logging

Created 14 years ago by lucifurious lucifurious, updated 14 years ago by lucifurious lucifurious.

I've seen a lot of people asking about the logging facilities in Yii and thought I'd share a nice little class I wrote that provides near real-time logging.

13 0
17 followers
Viewed: 37 169 times
Version: 1.1
Category: Tips

How to create nice modal login widget with a CJuiDialog

Created 14 years ago by Igor Ivanovic Igor Ivanovic, updated 14 years ago by Maurizio Domba Cerin Maurizio Domba Cerin.

You have to extend the widget class and configure it for user login widget

6 0
30 followers
Viewed: 78 207 times
Version: 1.1
Category: Tutorials

Preventing CJuiTabs from hiding drop-down CMenu items

Created 14 years ago by Steve Friedl Steve Friedl, updated 14 years ago by RusAlex RusAlex.

Almost all Yii applications use CMenu at the top of each page to show options available to the user, and many include drop-down components to allow more fine-grained selection.

4 0
3 followers
Viewed: 16 209 times
Version: 1.1
Category: Tips

Include Yii framework in a Joomla module

Created 14 years ago by zaccaria zaccaria, updated 14 years ago by Anupam Anupam.

Delploying anything using joomla's framework is quite difficult. The framework don't provide a good MVC structure and the documentation is very poor.

8 2
17 followers
Viewed: 36 573 times
Version: 1.1
Category: How-tos

Getting to Understand Hierarchical RBAC Scheme

Created 14 years ago by daemons daemons, updated 10 years ago by rAWTAZ rAWTAZ.

Authentication and Authorization is a good tutorial. Among other topics, it describes basic aspects of Yii's RBAC implementation. But however hard I read the tutorial, I couldn't understand how exactly the hierarchy works. I found how to define authorization hierarchy, how business rules are evaluated, how to configure a...

47 0
56 followers
Viewed: 130 633 times
Version: 1.1
Category: Tutorials

Single sign on across multiple subdomains

Created 14 years ago by ianaré ianaré, updated 14 years ago by ianaré ianaré.

This had me stumped for a while so I figured it would be nice to share here to avoid others the grief.

29 0
37 followers
Viewed: 66 700 times
Version: 1.1
Category: How-tos

Enforcing "You must agree" requirements in forms

Created 14 years ago by Steve Friedl Steve Friedl, updated 14 years ago by Steve Friedl Steve Friedl.

Checkboxes have two possible values, true and false, but some applications require that the user select one particular value before proceeding. Examples might be:

25 0
17 followers
Viewed: 34 653 times
Version: 1.1
Category: How-tos

More security in your applications with Yii and PHPIDS

Created 14 years ago by Rafael Garcia Rafael Garcia, updated 14 years ago by Gustavo Gustavo.

PHPIDS is a well known project that can be found in php-ids.org.

6 0
14 followers
Viewed: 21 730 times
Version: 1.1
Category: How-tos

Mais segurança em suas aplicações com Yii e PHPIDS

Created 14 years ago by Rafael Garcia Rafael Garcia, updated 14 years ago by Rafael Garcia Rafael Garcia.

PHPIDS é conhecido projeto que pode ser visto em php-ids.org.

2 1
3 followers
Viewed: 13 662 times
Version: 1.1
Category: How-tos

Yii code completion and calltips in Komodo Edit

Created 14 years ago by viter viter, updated 14 years ago by wei wei.

My favourite editor is Komodo Edit (free and crossplatform) and I use it for my everyday coding work. Just recently I found out how to make it help me to work with Yii. :) So follow these steps:

5 0
3 followers
Viewed: 15 591 times
Version: 1.1
Category: Tips