Wiki

Sorted by commentsX
Displaying 371-380 of 785 result(s).

How to create a Widget - Recent Comments widget

Created 3 years ago by Nisanth thulasiHow-tos3 comments – viewed 25,592 times – ( +9 / -1 ) – version all
Here's a simple way to create a Recent comments showing widget to be used in your templates. The idea is just to highlighting your blog's new comments.

I18n / localised routes in Yii

Created 3 years ago by ElecenHow-tos3 comments – viewed 5,505 times – ( +3 / -2 ) – version 1.1
So, you need localised urls made simple that follow the Yii framework guidelines?
tags: i18n, Routing

How to use an application behavior to maintain runtime configuration

Created 6 years ago by zaccariaHow-tos3 comments – viewed 32,573 times – ( +28 / -1 ) – version 1.1
In this tutorial will be explained a method to manage some configuration runtime. This excellent tutorial follows a similar approach, but requires to write a masterclass which all controllers are supposed to extend, following this wiki you can achieve the same by only editing the configuration.

YiiBooster: How to implement files and images upload on TbRedactor Widget

Created 4 years ago by Antonio RamirezHow-tos3 comments – viewed 26,041 times – ( +13 / -1 ) – version 1.1
I have been requested to provide a tutorial on how to use the file upload feature of the TbRedactor widget, and even though I am no longer supporting the library due that the work belongs to Clevertech, I feel that I owe that to the Yii developers. So, here is the  tutorial.

How to ensure unicity to url

Created 6 years ago by zaccariaTips3 comments – viewed 14,351 times – ( +14 / -1 ) – 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 6 years ago by Pinoy CoderzTutorials3 comments – viewed 10,423 times – ( +8 / -3 ) – 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 4 years ago by seenivasanHow-tos3 comments – viewed 12,565 times – ( +8 / -2 ) – 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 3 years ago by Rohit SutharTutorials3 comments – viewed 10,309 times – ( +5 / -7 ) – 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 6 years ago by Maurizio Domba CerinTips3 comments – viewed 39,128 times – ( +13 / -1 ) – version 1.1
When an exception is thrown in our code like
tags: error, exception

Simple Mail Queue

Created 4 years ago by waterloomattTutorials3 comments – viewed 17,557 times – ( +10 / -3 ) – version 1.1
This tutorial shows how to create a simple mail queue. It is usually run from a cron job but can be run from the command line too.