Wiki

Sorted by commentsX
Displaying 341-350 of 718 result(s).

How to ensure unicity to url

Created 3 years ago by zaccariaTips3 comments – viewed 10,777 times – ( +14 ) – version 1.1
Many time for SEO porpouses is important that each page will have a unique address.
tags: SEO, unique, URL

Our WebApp that will run without downtime during update/upgrade

Created 3 years ago by Pinoy CoderzTutorials3 comments – viewed 8,487 times – ( +8 / -2 ) – version 1.1
How many of us wonder how we can upgrade the website without hurting the operation of our WebApp?
tags: tutorial

Yet another implementation of CPhpAuthManager.

Created about a year ago by seenivasanHow-tos3 comments – viewed 8,662 times – ( +8 / -1 ) – version 1.1
In this wiki, I try to implement a simple authorization schema without putting much logic inside a file or into database table. We are constructing authorization hierarchy inside the controller. We are getting roles for the current user from database table and assigning only roles to user that are declared in the particular controller. We have brought down the work of loading of auth data at main application level to controller level. This way we have pulverised auth data for entire site into smaller units. Finally we are going to look at couple of examples.

Forcing login for all pages using CBehavior

Created 5 months ago by Rohit SutharTutorials3 comments – viewed 4,429 times – ( +5 / -6 ) – version 1.1
In this wiki I will show how could forcing login for all pages and users must be logged in to access almost all of the site’s content.

Display a nice exception message on ajax requests

Created 3 years ago by Maurizio Domba CerinTips3 comments – viewed 27,690 times – ( +13 ) – version 1.1
When an exception is thrown in our code like
tags: error, exception

Check users online, user last activity, user last ip

Created 3 months ago by frazelliHow-tos3 comments – viewed 3,035 times – ( +1 ) – version 1.1
DbHttpSession

How to translate and do the translations the easy way

Created 3 years ago by Roman SolomatinHow-tos3 comments – viewed 47,905 times – ( +27 / -2 ) – version 1.1
I wanted to keep all the I18N related translations in separate files, so that I would not need to modify the view files or the model files every time I need to update or fix the translations of application's source language.
tags: i18n

More on SSE and Yii

Created about a year ago by FirebreakerTips3 comments – viewed 3,802 times – ( +2 )
This is not actually Yii involved.

Como trasponer una lista creada con CHtml::checkBoxList

Created 3 years ago by rdjteamTips3 comments – viewed 9,328 times – ( +2 ) – version 1.1
En ciertas ocasiones tenemos que lidiar con el tema de colocar una lista de checkboxes para hacer una seleccion especifica como es el caso de los dias de la semana para un calendario, para esta labor tenemos el comando CHtml::checkBoxList(), revisando un poco el funcionamiento de este temos los siguientes parametros:

Common Yii questions

Created 3 years ago by dckurushinFAQs2 comments – viewed 34,622 times – ( +21 ) – version 1.1
Here I suggest to list the most common questions you meet in the forum or freenode irc. Feel free to edit this wiki article, and add another question with answer