Wiki articles

Showing 121-140 of 803 items.

belajar AR : part 1 (learn AR : part 1)

Created 8 years ago by rianday, updated 8 years ago by rianday.

hai teman yii... apa kabar.. kembali lagi bersama catatan saya..

0 0
1 follower
Viewed: 9 767 times
Version: 1.1
Category: Tutorials
Tags: indonesia

X-Sendfile - serve large static files efficiently from web applications

Created 8 years ago by Maurizio Domba Cerin, updated 7 years ago by Maurizio Domba Cerin.

Normally when we want users to download a file, that file is put in a folder under the web application root and the web server does the rest.

29 0
20 followers
Viewed: 85 682 times
Version: 1.1
Category: How-tos

embed a view file of the class which implement the CAction.

Created 8 years ago by Davidhhuan, updated 8 years ago by Davidhhuan.

In Yii, we can define an action class and ask the controller to instantiate it. And we always create ourselves actions class in rootPath/protected/extensions, and the view file we called in the actions class always are located in rootPath/protected/views/ControllerNAME or rootPath/themes/ThemeNAME/ControllerNAME, then when we use the same actions class in different controllers, we have to copy it...

1 1
2 followers
Viewed: 9 791 times
Version: 1.1
Category: Tutorials

Yii code completion and calltips in Komodo Edit

Created 8 years ago by viter, updated 8 years ago by 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: 13 040 times
Version: 1.1
Category: Tips

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

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

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

2 1
3 followers
Viewed: 10 151 times
Version: 1.1
Category: How-tos

More security in your applications with Yii and PHPIDS

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

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

6 0
14 followers
Viewed: 16 880 times
Version: 1.1
Category: How-tos

Enforcing "You must agree" requirements in forms

Created 8 years ago by Steve Friedl, updated 8 years ago by 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: 28 800 times
Version: 1.1
Category: How-tos

Single sign on across multiple subdomains

Created 8 years ago by ianaré, updated 8 years ago by 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: 55 052 times
Version: 1.1
Category: How-tos

Getting to Understand Hierarchical RBAC Scheme

Created 8 years ago by daemons, updated 5 years ago by 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
58 followers
Viewed: 111 846 times
Version: 1.1
Category: Tutorials

Include Yii framework in a Joomla module

Created 8 years ago by zaccaria, updated 8 years ago by 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: 30 795 times
Version: 1.1
Category: How-tos

Preventing CJuiTabs from hiding drop-down CMenu items

Created 8 years ago by Steve Friedl, updated 8 years ago by 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: 12 745 times
Version: 1.1
Category: Tips

How to create nice modal login widget with a CJuiDialog

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

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

6 0
30 followers
Viewed: 56 156 times
Version: 1.1
Category: Tutorials

Real Time Logging

Created 8 years ago by lucifurious, updated 8 years ago by 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: 30 321 times
Version: 1.1
Category: Tips

javascript + tabular input

Created 8 years ago by zaccaria, updated 7 years ago by 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: 35 501 times
Version: 1.1
Category: How-tos

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

Created 8 years ago by Mukke, updated 8 years ago by 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: 32 314 times
Version: 1.1
Category: Tips

htmlOptions explained for various controls.

Created 8 years ago by Woil, updated 8 years ago by 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: 61 186 times
Version: 1.1
Category: Tips

Run an Yii Application inside an Wordpress page

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

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

12 0
14 followers
Viewed: 32 642 times
Version: 1.1
Category: How-tos

CJuiDialog to create new model

Created 8 years ago by zaccaria, updated 3 years ago by Maurizio Domba Cerin.

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

55 0
65 followers
Viewed: 107 089 times
Version: 1.1
Category: Tutorials

How to use a Widget as an Action Provider

Created 8 years ago by Antonio Ramirez, updated 4 years ago by stinkytofu.

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

24 0
41 followers
Viewed: 50 706 times
Version: 1.1
Category: How-tos

Functional tests independing from your urlManager settings

Created 8 years ago by RusAlex, updated 8 years ago by 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: 10 822 times
Version: 1.1
Category: Tips