Wiki

Sorted by ratingX
Displaying 591-600 of 718 result(s).

[PT-BR] Proteção Contra Logout CSRF

Created 3 years ago by Rodrigo CoelhoTutorials0 comments – viewed 6,357 times – ( +2 / -1 ) – version 1.1
CSRF é o acrônimo para Cross-site request forgery. CSRF é um ataque que forca o usuário a executar ações não desejadas numa aplicação Web na qual ele está autenticado.

Using Google Maps in Yii Applications via Jquery

Created about a year ago by bluyellHow-tos2 comments – viewed 10,616 times – ( +2 / -1 ) – version 1.1

How to use a component before every action of a controller

Created about a year ago by transistorTips1 comment – viewed 19,199 times – ( +2 / -1 ) – version 1.1
I guess this is a tip on how to execute some code before every action in a controller, because I will tell you how I did it and maybe you can use the idea in your project.

Provide SVG when the browser supports it, else PNG (using CHtml::image overload)

Created about a month ago by le_topTips0 comments – viewed 1,380 times – ( +1 ) – version 1.1
Modern browsers support SVG, older browsers do not. This replacement for CHtml::image() allows you to handle to propose SVG in an efficient way with PNG as a fallback.

How to nest DB transactions without actually nesting them.

Created 28 days ago by le_topHow-tos0 comments – viewed 965 times – ( +1 ) – version 1.1
To secure your database from inconsistencies resulting from failing (complex) operations, you (should) use transactions. However, complex methods often rely on other complex methods that themselves build on transactions. This HowTo presents a method to nest or embed transactions without relying on the database's nesting capabilities.

Themed translations (i18n)

Created 27 days ago by le_topHow-tos0 comments – viewed 1,315 times – ( +1 ) – version 1.1
When using themes you want to changes some of the translations specifically to the theme while keeping the standard translations for most of the text. Duplicating the main translation file is a headache for maintainance. This how to provides a solution.

Clear CGridView Filters, Sort & Pager

Created 26 days ago by le_topHow-tos0 comments – viewed 2,016 times – ( +1 ) – version 1.1
Clearing CGridView filters and sort orders from the web pages, is usefull for the end user. Yii does not seem to propose a standard method. Furthermore, this is especially usefull when filters are "remembered" in the user's session.

How to pass the third parameter to UserIdentity on login authentication

Created 16 days ago by Rohit SutharHow-tos6 comments – viewed 2,708 times – ( +1 ) – version 1.1
In this wiki I will show how could wo pass the third parameter to UserIdentity on login authenticate. So we can do separate login authentcation from two or more different models from single login form.

How to use Highslide for image popups

Created 5 years ago by mocapapaTutorials0 comments – viewed 15,558 times – ( +1 ) – version 1.1
You can download the highslide javascript from http://highslide.com/. And here is an explanation on that URL;
tags: image, popups