Wiki

Articles in category "how-tos", sorted by ratingX
Displaying 211-220 of 355 result(s).

How to create Module based Login

Created 2 years ago by Ibrar TuriHow-tos1 comment – viewed 12,896 times – ( +3 ) – version 1.1
Lets say we have 3 modules (customer, user, admin) in an application and we need, separate logins for each module.

Upload image and content using AJAX and Store it in different table

Created 2 years ago by SelvakumarHow-tos1 comment – viewed 49,147 times – ( +3 ) – version 1.1
We all know how to upload the content and images at the same time with refreshing the page. And uploading the images using Ajax we have faced some issues, here i have fixed the issues and both content and photos are uploaded using Ajax. And both content and images are stored in the different tables

How to customize error handling in console-mode applications

Created 6 years ago by Steve FriedlHow-tos1 comment – viewed 11,782 times – ( +3 ) – version 1.1
One can control the detail of a web application in the webroot/index.php file by manipulating the values of YII_DEBUG and YII_TRACE_LEVEL, but these don't appear to be used by console applications. This is because although the base CApplication class defines a displayError() method that does consider these variable, CConsoleApplication overrides it with a function that doesn't honor them.

How to limit number of guest page views

Created 2 years ago by PeRoChAkHow-tos1 comment – viewed 4,529 times – ( +3 ) – version 1.1
In some cases, we have to limit the number of page views for the guests users. Yii provide an efficient method to get this.

How to use BootstrapInterface

Created 2 years ago by Antonio RamirezHow-tos0 comments – viewed 7,386 times – ( +3 ) – version 2.0
Yii2 introduces the BootstrapInterface to ease our application initialization tasks, whether they are composer based or Application bootstrap (do not mistaken with Bootstrap CSS Framework) based tasks. On this article, I am going to explain how to use it on your Application bootstrap process.

Cómo enviar emails usando SMTP

Created 2 years ago by robregonmHow-tos0 comments – viewed 7,701 times – ( +3 ) – version 2.0
Seguir a @robregonm

Open bootstrap modal and load content via Ajax

Created 2 years ago by JbalTeroHow-tos1 comment – viewed 42,337 times – ( +3 ) – version 1.1
My goal here is to Open bootstrap modal and load ANY content using ajax response.

Localized version of CFormatter

Created 4 years ago by marcovtwoutHow-tos2 comments – viewed 5,255 times – ( +3 ) – version 1.1
Since Yii 1.1.14, a CLocalizedFormatter is available.

TimeZone dropDown

Created 4 years ago by Tibor KatelbachHow-tos0 comments – viewed 8,827 times – ( +3 ) – version 1.1
I spend a bit of time looking for the this piece of code while building time feature on a site this tutorial also helped Local time zones and locales

Handling recursive deletion in Yii

Created 4 years ago by JamesBarnsleyHow-tos3 comments – viewed 9,742 times – ( +3 ) – version 1.1
I www.jamesbarnsley.com was tasked to find a way to do recursive deletion in Yii. As I asked other developers and looked around the internet the usual answers all came up, use a plugin or use cascade delete at the DB level, but I did not want to do either of these.