Wiki

Sorted by commentsX
Displaying 461-470 of 782 result(s).

Prevent asset publishing for CListView

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

Create URL to language switcher anchor with langhandler

Created 2 years ago by Anas AbuDayahTips2 comments – viewed 4,082 times – ( +1 / -1 ) – version 1.1
This topic is related with langhandler extension

ePay Integration - Bulgarian Payment Provider

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

Yii2 and Pdf files with Mpdf

Created 2 years ago by CTalaHow-tos2 comments – viewed 14,410 times – ( +7 ) – version 2.0
I am still new to composer and packagist, so I want to share how I am creating the pdf files because for me was not as simple as it should be.

Syntax check

Created 5 years ago by Russell EnglandTips2 comments – viewed 8,248 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 2 years ago by Kartik VTips2 comments – viewed 13,865 times – ( +48 ) – 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 3 years ago by bhavesh vaghelaTutorials2 comments – viewed 15,906 times – ( +8 ) – version 1.1
View file

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

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

Getting nulls from database instead of empty strings

Created 5 years ago by samdarkTips2 comments – viewed 11,620 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