Wiki articles

Showing 121-140 of 651 items.

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

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

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

0 0
1 follower
Viewed: 17 738 times
Version: 1.1
Category: Tutorials
Tags: indonesia

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

Created 13 years ago by Maurizio Domba Cerin, updated 12 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: 119 670 times
Version: 1.1
Category: How-tos

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

Created 13 years ago by Davidhhuan, updated 13 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: 25 109 times
Version: 1.1
Category: Tutorials

Yii code completion and calltips in Komodo Edit

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

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

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

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

2 1
3 followers
Viewed: 12 423 times
Version: 1.1
Category: How-tos

More security in your applications with Yii and PHPIDS

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

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

6 0
14 followers
Viewed: 19 970 times
Version: 1.1
Category: How-tos

Enforcing "You must agree" requirements in forms

Created 13 years ago by Steve Friedl, updated 13 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: 33 231 times
Version: 1.1
Category: How-tos

Single sign on across multiple subdomains

Created 13 years ago by ianaré, updated 13 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: 64 221 times
Version: 1.1
Category: How-tos

Getting to Understand Hierarchical RBAC Scheme

Created 13 years ago by daemons, updated 9 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
56 followers
Viewed: 125 456 times
Version: 1.1
Category: Tutorials

Include Yii framework in a Joomla module

Created 13 years ago by zaccaria, updated 13 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: 34 916 times
Version: 1.1
Category: How-tos

Preventing CJuiTabs from hiding drop-down CMenu items

Created 13 years ago by Steve Friedl, updated 13 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: 15 290 times
Version: 1.1
Category: Tips

How to create nice modal login widget with a CJuiDialog

Created 13 years ago by Igor Ivanovic, updated 13 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: 60 070 times
Version: 1.1
Category: Tutorials

Real Time Logging

Created 13 years ago by lucifurious, updated 13 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: 35 313 times
Version: 1.1
Category: Tips

javascript + tabular input

Created 13 years ago by zaccaria, updated 11 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: 39 192 times
Version: 1.1
Category: How-tos

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

Created 13 years ago by Mukke, updated 12 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: 37 192 times
Version: 1.1
Category: Tips

htmlOptions explained for various controls.

Created 13 years ago by Woil, updated 13 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: 65 772 times
Version: 1.1
Category: Tips

Run an Yii Application inside an Wordpress page

Created 13 years ago by Paul Apostol, updated 13 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: 38 694 times
Version: 1.1
Category: How-tos

CJuiDialog to create new model

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

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

55 0
64 followers
Viewed: 127 534 times
Version: 1.1
Category: Tutorials

How to use a Widget as an Action Provider

Created 13 years ago by Antonio Ramirez, updated 8 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: 59 770 times
Version: 1.1
Category: How-tos

Functional tests independing from your urlManager settings

Created 13 years ago by RusAlex, updated 13 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: 12 369 times
Version: 1.1
Category: Tips