Wiki

Displaying 351-360 of 482 result(s).

How to create nice modal login widget with a CJuiDialog

Created 2 years ago by Igor IvanovicTutorials3 comments – viewed 29,236 times – ( +8 )
...folder /protected/components/UserLoginWidget.php... ...extending the CWidget class...
tags: user, login, modal, widget

Preventing CJuiTabs from hiding drop-down CMenu items

Created 2 years ago by Steve FriedlTips1 comment – viewed 6,383 times – ( +4 )
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.

Include Yii framework in a Joomla module

Created 2 years ago by zaccariaHow-tos6 comments – viewed 13,452 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.

Getting to Understand Hierarchical RBAC Scheme

Created 2 years ago by daemonsTutorials11 comments – viewed 46,209 times – ( +51 )
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 authManager, but almost nothing about how I should build my hierarchy, in what sequence its nodes are checked, when the checking process stops and what would be the checking result.

Single sign on across multiple subdomains

Created 2 years ago by ianaréHow-tos6 comments – viewed 16,311 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,682 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,858 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,845 times – ( +2 / -1 )
PHPIDS é conhecido projeto que pode ser visto em php-ids.org.
tags: phpids, security

Yii code completion and calltips in Komodo Edit

Created 2 years ago by viterTips1 comment – viewed 7,133 times – ( +5 )
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:
tags: Komodo Edit

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

Created 2 years ago by DavidhhuanTutorials1 comment – viewed 5,117 times – ( +1 / -1 )
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 from one controller to the other controller, so we also need the "same" view file work for us, here is an example.
tags: actions, render, views