Wiki

Articles in category "tips", sorted by commentsX
Displaying 61-70 of 141 result(s).

Quick Tip about Pagination Params

Created 4 years ago by Antonio RamirezTips2 comments – viewed 25,054 times – ( +6 ) – version 1.1
Developing custom Grids and ListViews for my new CMS I was facing a small challenge: If I was to update/delete/batch delete items of my Grid, how would I return to the current page view?
tags: Pagination

Putting Function To Be Called In View

Created 3 years ago by junxiongTips2 comments – viewed 25,500 times – ( +6 / -1 ) – version 1.1
Sometimes we need some complicated view to be displayed (such as generating complicated table). Most people suggest that in MVC the View must be as simple as possible (don't have too much loops, etc). So what we have to do is to hide away the complex code by putting it at somewhere else. The following are few places options to keep the function:
tags: view, render

CJuiTabs Content

Created 2 years ago by mbalaTips2 comments – viewed 11,090 times – ( +6 ) – version 1.1
When I used CJuiTabs I did something. They are
tags: CJuiTabs

The complete beginner's study guide for the Yii Framework

Created 2 years ago by Rodrigo CoelhoTips2 comments – viewed 50,726 times – ( +20 ) – version 1.1
Start studying the MVC pattern. You will understand the roles of the model, the view and the controller and know where goes each part of the code.

FORM with GET method causes repeated stacking of URL Parameters

Created 7 months ago by Kartik VTips2 comments – viewed 4,214 times – ( +30 / -4 ) – version all
You are using an ActiveForm in yii (both v1.x or 2), with a GET method like below:

An easy way to display a success page using flash messages

Created 3 years ago by qiangTips2 comments – viewed 26,449 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.

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

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

Create URL to language switcher anchor with langhandler

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

Syntax check

Created 3 years ago by Russell EnglandTips2 comments – viewed 6,384 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 7 months ago by Kartik VTips2 comments – viewed 4,375 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.