Wiki

Articles in category "how-tos"X
Displaying 161-170 of 189 result(s).

Run an Yii Application inside an Wordpress page

Created 2 years ago by Paul ApostolHow-tos3 comments – viewed 12,443 times – ( +12 )
Install a Wordpress site (mine is in "http://localhost/test/wordpress")

javascript + tabular input

Created 2 years ago by zaccariaHow-tos1 comment – viewed 18,340 times – ( +11 )
If you tried this extension with success, maybe you thought how to do it without page submission or ajax calls.

Include Yii framework in a Joomla module

Created 2 years ago by zaccariaHow-tos6 comments – viewed 13,471 times – ( +7 / -1 )
Delploying anything using joomla's framework is quite difficult. The framework don't provide a good MVC structure and the documentation is very poor.

Single sign on across multiple subdomains

Created 2 years ago by ianaréHow-tos6 comments – viewed 16,366 times – ( +22 )
This had me stumped for a while so I figured it would be nice to share here to avoid others the grief.

Enforcing "You must agree" requirements in forms

Created 2 years ago by Steve FriedlHow-tos2 comments – viewed 9,705 times – ( +27 )
Checkboxes have two possible values, true and false, but some applications require that the user select one particular value before proceeding. Examples might be:
tags: validation

More security in your applications with Yii and PHPIDS

Created 2 years ago by Rafael GarciaHow-tos1 comment – viewed 8,868 times – ( +7 )
PHPIDS is a well known project that can be found in php-ids.org.
tags: phpids, security

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

Created 2 years ago by Rafael GarciaHow-tos0 comments – viewed 4,854 times – ( +2 / -1 )
PHPIDS é conhecido projeto que pode ser visto em php-ids.org.
tags: phpids, security

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

Created 2 years ago by Maurizio DombaHow-tos5 comments – viewed 24,142 times – ( +24 )
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.

Dynamic Sidebar using CClipWidget

Created 2 years ago by SheldmanduHow-tos4 comments – viewed 15,584 times – ( +19 )
Most applications will have one or two sidebars and often you want to control the content that should appear in the sidebar based on the action. For example you will want to show something different on the homepage as opposed to some view page. While achieving this you generally also want to avoid putting the layout into each view, as that would mean if you wanted to change the layout (e.g. put the sidebar on the left instead of the right or do some funky layout which requires an additional div tag to be added) you'd have to go through every view, which does not achieve good code re-use. It is also bad practice to have lots of if statements in column2 layout just so that you can generate the sidebar correctly.

Setting and getting systemwide static parameters

Created 2 years ago by Steve FriedlHow-tos2 comments – viewed 31,112 times – ( +10 )
Occasionally one wishes to set systemwide parameters for an application, such as a contact address for email, an application name, or setting an option that guides major behavior. Yii provides for setting of static parameters in the configuration file, and this article talks about how to do it conveniently.
tags: config