Wiki

Sorted by commentsX
Displaying 411-420 of 715 result(s).

An easy way to display a success page using flash messages

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

Create URL to language switcher anchor with langhandler

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

ePay Integration - Bulgarian Payment Provider

Created about a year ago by yasenTutorials2 comments – viewed 5,069 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,274 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 6 months ago by Kartik VTips2 comments – viewed 3,755 times – ( +33 ) – 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 about a year ago by bhavesh vaghelaTutorials2 comments – viewed 10,332 times – ( +7 ) – version 1.1
View file

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

Created about a year ago by bhavesh vaghelaTutorials2 comments – viewed 5,742 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,322 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