Wiki

Sorted by viewsX
Displaying 131-140 of 784 result(s).

How to send emails using SMTP

Created 3 years ago by robregonmHow-tos2 comments – viewed 54,624 times – ( +8 / -1 ) – version 2.0
Follow @robregonm
tags: yii2, email, mail, mailer, smtp

How to avoid multiple Ajax Request

Created 6 years ago by nickcvHow-tos26 comments – viewed 54,471 times – ( +25 / -3 ) – version 1.1
CHtml::ajaxLink(), CHtml::ajaxSubmitButton() and similar methods are great, but if they are located inside a portion of the page that is already loaded via ajax something bad will happen, something you may even not notice if you are not using tools like firebugs: the sent ajax requests will multiply themselves.

Integrating Yii with Wordpress

Created 5 years ago by isekreamTips5 comments – viewed 54,186 times – ( +10 / -2 ) – version 1.1
Well I finally had some time and tinkered a bit with the notion of integrating wordpress and Yii. Now for me I wanted to use Yii as a framework to develop wordpress plugins. Using some tips from imasia Article I was able to do a simple integration of yii as a wordpress plugin. The integration was very basic and i just used yii with its default installation site. I don;t know how it will really react with CRUD application as yet but it was fairly easy to integrate after reading the article...

config Use MS SQL SERVER 2005 2008.

Created 6 years ago by vcxz_1982Tutorials2 comments – viewed 54,137 times – ( +4 / -1 ) – version 1.1
Use SQL SERVER 2000, the date format not like: yyyy/mm/dd hh:mm:ss. So I change to use SQL SERVER 2008 EXPRESS.

Yii for beginners 2

Created 4 years ago by rackyczTutorials2 comments – viewed 54,006 times – ( +32 / -1 ) – version 1.1
Hi :-) Is that you again? Welcome !! :-)

Create custom button button with AJAX function in CGridView

Created 4 years ago by nkdHow-tos2 comments – viewed 53,933 times – ( +19 / -1 ) – version 1.1
CButtonColumn in CGridView can be customised to include user built buttons. To learn a great deal about including custom buttons, read this excellent wiki. This tutorial will show how to call an action from one custom button using AJAX instead of regular GET calls.

How to use GridView with AJAX

Created 3 years ago by Antonio RamirezHow-tos6 comments – viewed 53,003 times – ( +14 / -1 ) – version 2.0
With the adoption of PJax on Yii2 things  have change quite a bit with GridView when it comes to work with them in AJAX mode. It will probably be confusing at the beginning, but then you will soon realize how powerful the new approach is.
tags: yii2, pjax, widget

How to customize Yii core messages?

Created 8 years ago by qiangTutorials7 comments – viewed 52,840 times – ( +18 / -1 ) – version 1.1
Yii core messages refer to static text strings in the core Yii framework code which are meant to be displayed to end-users (e.g. core exception messages, default validation error messages). Customization of these core messages is needed in two circumstances:

Implementing a User Level Access System

Created 6 years ago by Antonio RamirezTutorials12 comments – viewed 52,825 times – ( +28 / -2 ) – version 1.1
I would like to provide you a quick tip on how to implement user level access to your Yii applications.

Introducción al control de acceso basado en roles (RBAC)

Created 6 years ago by Juan CalvoTutorials4 comments – viewed 52,798 times – ( +17 / -2 ) – version 1.1
Todos los que hemos empezado a utilizar Yii para crear aplicaciones Web, nos hemos dado de bruces cuando hemos intentado poner a funcionar el RBAC (acceso de control basado en roles).