Wiki

Sorted by commentsX
Displaying 421-430 of 724 result(s).

An easy way to display a success page using flash messages

Created 3 years ago by qiangTips2 comments – viewed 27,031 times – ( +26 ) – version 1.1
We often need to display a success page after the user has submitted a form without problem. We may show some welcome message after a user registers a new account. There are many ways to implement this workflow. In this article, I will explain a method that exploits flash messages.

Prevent asset publishing for CListView

Created 3 years ago by MikeHow-tos2 comments – viewed 7,652 times – ( +2 ) – version 1.1
If you don't want to use any of the AJAX features of CListView and thus want to prevent that it publishes any of its asset files, you can extend it and create a sub class like this:
tags: CListView, Assets

Yii实战中8个必备常用的扩展,模块和

Created 3 years ago by Darwin WenTips2 comments – viewed 20,309 times – ( +2 / -3 ) – version 1.1
在经过畅K网的实战后,总结一下在Yii的项目中会经常用到的组件和一些基本的使用方法,分享给大家,同时也给自己留个备忘录,下面我以代码加图片说明.
tags: module, Widgets

Create URL to language switcher anchor with langhandler

Created 8 months ago by Anas AbuDayahTips2 comments – viewed 1,893 times – ( +1 / -1 ) – version 1.1
This topic is related with langhandler extension

ePay Integration - Bulgarian Payment Provider

Created 2 years ago by yasenTutorials2 comments – viewed 5,318 times – ( +8 ) – version 1.1
I. In the view script add the following hidden fields:

Syntax check

Created 3 years ago by Russell EnglandTips2 comments – viewed 6,494 times – ( +4 ) – version 1.1
So I've been busy making lots of modifications to my views/models/controllers - came to test the app and got a blank screen. Nothing in the application.log file so must be a syntax error somewhere... But which file?
tags: php, syntax

Key web server settings after installing a fresh Yii 2 basic or advanced app

Created 8 months ago by Kartik VTips2 comments – viewed 4,891 times – ( +35 ) – version 2.0
So, you have installed a brand new Yii 2 app (basic) or (advanced). Here are a few tips for Apache web server users to get things running more secure and better with your yii2 app.

Upload CSV File

Created 2 years ago by bhavesh vaghelaTutorials2 comments – viewed 10,833 times – ( +7 ) – version 1.1
View file

Define general array and variable and call it to anywhere in application

Created 2 years ago by bhavesh vaghelaTutorials2 comments – viewed 6,038 times – ( +2 / -4 ) – version 1.1
Create param.php file in protected/config

Getting nulls from database instead of empty strings

Created 3 years ago by samdarkTips2 comments – viewed 9,562 times – ( +13 ) – version 1.1
To get null from database instead of empty strings you need to set up your DB connection as follows:
tags: database, null