Wiki articles

Showing 81-100 of 805 items.

[Updated] How to create & call custom global function in whole application?

Created 6 years ago by Rohit Suthar, updated 5 years ago by Rohit Suthar.

In this wiki I will show how to create own custom global function. It may be save the space and reduce the time.

0 3
5 followers
Viewed: 29 311 times
Version: 1.1
Category: Tutorials

How to create the custom Drop-down using CHtml::dropDownList

Created 6 years ago by Ankit Modi, updated a year ago by samdark.

Hi Friends, This tutorial may be help us create the custom drop-down menu using CHtml::dropDownList

0 0
3 followers
Viewed: 22 935 times
Version: 1.1
Category: How-tos

How to sum (Update) of all input button price value using jquery

Created 6 years ago by Ankit Modi, updated 6 years ago by Ankit Modi.

Hi Friends, In this tutorial, how to update the sum of all the button data-price value using jquery, Just Follow three step and it's work easily.I hope It may be some helpful to others. See Image

0 0
2 followers
Viewed: 15 230 times
Version: all
Category: How-tos

How to show Image view after upload and delete view image using eajaxupload extension

Created 6 years ago by Ankit Modi, updated a year ago by samdark.

Hi Friends, In this tutorial you can use the eajaxupload-extension ,

0 1
3 followers
Viewed: 17 880 times
Version: 1.1
Category: How-tos

三步使用cronjobs自动化去执行Yii 控制台任务

Created 8 years ago by Darwin Wen, updated 8 years ago by Darwin Wen.

这篇文章将介绍使用Linux cronjobs去自动化执行Yii Console Application(控制台)任务,像每天晚上执行缓存清理,临时文件清理,发送邮件,网站备份等等,重复的工作都交给服务器后台去完成,Yii本身已经提供了强大的支持,我们所做的工作就很少,当使用yiic webapp 自动生成工程结构时,强大的Yii已经全部帮我们生成好,仅仅只需三步。

0 4
2 followers
Viewed: 24 458 times
Version: 1.1
Category: Tutorials

How to show a Captcha in CForm?

Created 6 years ago by Rohit Suthar, updated 6 years ago by Rohit Suthar.

In this wiki I will show how could use a Captcha in yii CForm. The easy way to show captcha image is create a form using CHtml method & CActiveForm, but CForm also should be able to show a captcha.

0 0
3 followers
Viewed: 15 039 times
Version: 1.1
Category: How-tos

关于Yii CHttpSession性能优化篇之源码流程分析

Created 8 years ago by Darwin Wen, updated 8 years ago by Maurizio Domba Cerin.

当我们使用Yii数据库去保存Session时,只要简单的配置就可以完成这个功能,在进行性能优化这个主题之前,我们先来查看一下CHttpSession和CDBHttpSession源代码,探讨CHttpSession和CDBHttpSession的流程再进行深一步优化主题。

0 1
2 followers
Viewed: 14 912 times
Version: 1.1
Category: Tips

Manage Email Template content from database

Created 6 years ago by Ankit Modi, updated 6 years ago by Ankit Modi.

Hi Friends,

0 1
1 follower
Viewed: 12 676 times
Version: all
Category: Tutorials

Forcing login for all pages using CBehavior

Created 6 years ago by Rohit Suthar, updated 6 years ago by Rohit Suthar.

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.

0 3
5 followers
Viewed: 16 297 times
Version: 1.1
Category: Tutorials

Role Management

Created 5 years ago by Dency G B, updated 5 years ago by Dency G B.

Implementing a role based access control is a very easy process and you can even load your roles from the database if you want.

0 0
5 followers
Viewed: 18 739 times
Version: 2.0
Category: How-tos
Tags: rbac, yii2

How To : Create Forgot Password in Yii (Sending Email to Reset Password)

Created 5 years ago by ruderbytes, updated 4 years ago by ruderbytes.

Assalamualaikum wr.wb Hello yii people i'm Muhammad Fahmi Azain this is tutorial about forgot password in yii framework, and i'm sorry if it does not comply with code standards yii. okay let's begin

0 0
2 followers
Viewed: 47 158 times
Version: 1.1
Category: How-tos

Google style sign out of all other sessions

Created 5 years ago by Rohit Suthar, updated 5 years ago by Rohit Suthar.

In this wiki I will show how could logout from all other sessions or all other places.

0 0
5 followers
Viewed: 14 781 times
Version: 1.1
Category: How-tos

Translation from .txt file

Created 5 years ago by Yii3, updated 5 years ago by Yii3.

Translation from .txt file Note:

0 2
4 followers
Viewed: 7 763 times
Version: 1.1
Category: Tutorials

What SQL-Statement creates yii?

Created 2 years ago by Necip, updated 2 years ago by Necip.

The usual way to find out what Yii has created for an SQL query is to mutilate the SQL in the sourcecode and call the program again so that the SQL statement with errors is displayed. Or you can use the SQL logger, which must be switched on and off each time and logs all SQL statements, which leads to an enormous slowdown in program execution and decelerates your workflow.

0 0
1 follower
Viewed: 7 924 times
Version: 1.1
Category: Tips

Update and Delete buttons on Breadcrumb

Created a year ago by Daniel.

The definition of breadcrumbs according to its documentation is as follow: Breadcrumbs displays a list of links indicating the position of the current page in the whole site hierarchy.

0 0
1 follower
Viewed: 45 447 times
Version: 2.0
Category: Tips

MongoDB's RBAC support class extending BaseManager

Created 5 years ago by edoardo849, updated 5 years ago by edoardo849.

Here's a possible implementation for MongoDb of the RBAC standard. Create a class "MongoDbManager" in `common\components and modify your params.php` file like this:

0 0
4 followers
Viewed: 10 306 times
Version: 2.0
Category: How-tos
Tags: mongodb, rbac, yii2

How to display images in CJuiAutoComplete without extenstions

Created 5 years ago by Asmaa, updated a year ago by samdark.

I wanted to customize the CJuiAutoComplete, so that it displays a thumb image before the label like the one shown in the following image:

0 0
2 followers
Viewed: 9 119 times
Version: 1.1
Category: Tutorials

Change default date format in Oracle

Created 10 months ago by lenovo, updated 10 months ago by samdark.

Default date format in Oracle is DD-MON-RR (25-JAN-18). With that output, we can't using date formatting.

0 0
2 followers
Viewed: 15 457 times
Version: 2.0
Category: How-tos
Tags: database
0 0
5 followers
Viewed: 38 553 times
Version: 2.0
Category: How-tos

Simple Way to Upload and Save File

Created 5 years ago by Misbahul D Munir, updated 5 years ago by Misbahul D Munir.

This tutorial need extension mdmsoft/yii2-upload-file. Follow the intruction to install. After installation done, create controller and action

0 0
4 followers
Viewed: 30 480 times
Version: 2.0
Category: Tutorials