Wiki

Sorted by commentsX
Displaying 391-400 of 687 result(s).

CGridView and AjaxForm Connect

Created 3 years ago by PinkBrainPlanHow-tos2 comments – viewed 17,949 times – ( +1 ) – version 1.1
As I'm new to the framework (2 weeks) - I tried to build a functionallity I already use a lot in my old framework (PRADO). This means combining a GridView with a form. And this in one page, what allows you to select a record from the grid and view the values in the same page without jumping to a new page.
tags: Ajax, Form, CGridView

Managing your nested dropdown dependency with DepDrop widget

Created 3 months ago by Kartik VTutorials2 comments – viewed 2,441 times – ( +25 / -5 ) – version 2.0
If you are coming over to Yii 2 from Yii 1.x, you may have already read this useful wiki for creating dependent dropdowns. You can use a similar approach in Yii 2 to do the same. But if you are looking at a prebuilt solution that helps you manage it easier, read along.

Multilanguage Lorem Ipsum Text Generator

Created about a year ago by yasenHow-tos2 comments – viewed 4,369 times – ( +2 ) – version 1.1
Taking futher the idea from Piotr Masełkowski - http://www.yiiframework.com/extension/elipsum/ here's how to generate multilanguage Lorem Ipsum text. This example uses English and Bulgarian sample paragraphs. Create a class in /protected/components/LoremIpsum.php. Wall of text incoming wohoo...

To configure Yii path in Windows platform

Created 3 years ago by CodaTutorials2 comments – viewed 28,530 times – ( +3 / -6 ) – version 1.1
I can see many questions regarding configuring the path using Windows OS. I could hardly get the right information about it. The cook book has defined for Linux. So I would like to share my idea on it. To configure the Yii path using Windows OS,

An easy way to display a success page using flash messages

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

Create URL to language switcher anchor with langhandler

Created 3 months ago by Anas AbuDayahTips2 comments – viewed 1,090 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 4,784 times – ( +7 ) – version 1.1
I. In the view script add the following hidden fields:

Syntax check

Created 3 years ago by Russell EnglandTips2 comments – viewed 5,998 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