Wiki

Sorted by viewsX
Displaying 651-660 of 786 result(s).

Setting static modules' properties in config

Created 5 years ago by Alexander PalamarchukTips0 comments – viewed 9,206 times – ( +2 / -3 ) – version 1.1
You may face a situation when you need to access to a configurable module's property from everywhere and you don't have an instance of this module's class.
tags: config, module

How to sum (Update) of all input button price value using jquery

Created 3 years ago by Ankit ModiHow-tos0 comments – viewed 9,176 times – ( +1 / -1 ) – version all
Hi Friends, In this tutorial, how to update the sum of all the button data-price value using jquery, Just Follow three step and it's work easily.I hope It may be some helpful to others.

Email by YiiMailer, Call Outlook, IMAP

Created 3 years ago by Scott_HuangHow-tos0 comments – viewed 9,150 times – ( -1 ) – version 1.1
In Yii community we have lots of extention can send emails, such as YiiMailer and Swift and so on, or even IMAPI, thanks for team contribution. However, sometimes, in the intranet enviroment, the program cannot run successfully since SMTP /IMAP port been banded. So you need to seek other ways. The most simple way is **call outlook** as COM.

BaseModuleAR class with MultiActiveRecord

Created 6 years ago by dinhtrungTips0 comments – viewed 9,143 times – ( +2 / -1 ) – version 1.1
MultiActiveRecord is an extension that add support for multiple database connection for your application.

embed a view file of the class which implement the CAction.

Created 7 years ago by DavidhhuanTutorials1 comment – viewed 9,109 times – ( +1 / -2 ) – version 1.1
In Yii, we can define an action class and ask the controller to instantiate it. And we always create ourselves actions class in rootPath/protected/extensions, and the view file we called in the actions class always are located in rootPath/protected/views/ControllerNAME or rootPath/themes/ThemeNAME/ControllerNAME, then when we use the same actions class in different controllers, we have to copy it from one controller to the other controller, so we also need the "same" view file work for us, here is an example.
tags: actions, render, views

Yii2: Query build for complexity SQL

Created 2 years ago by Scott_HuangTips0 comments – viewed 9,098 times – ( -1 ) – version 2.0
As for complexity SQL query we have two solutions as below, I will discuss #2 in this article.

A Single Page with a List and a Detail

Created about a year ago by softarkHow-tos1 comment – viewed 9,032 times – ( +4 / -1 ) – version 2.0
The CRUD generator of Gii has done a wonderful job for you, and you already have a list of items in the "index" page and a detailed view of a specified item in the "view" page.
tags: gridview, detail, ajax

YII2 Pagination Options

Created 3 years ago by VivekYiiTips0 comments – viewed 8,998 times – ( +1 / -1 ) – version 2.0
solution here If we are using default pagination option like
tags: pagination, View, vivs

Simple Google Maps object for use with ajax maps

Created 2 years ago by Chris BackhouseHow-tos1 comment – viewed 8,980 times – ( +1 / -1 ) – version 2.0
The Google mapping extension by Dos Amigos (link) is really great but there are difficulties with Google maps when you want to manipulate your map object with Ajax.
tags: googlemap, maps

Saving CGridView filter

Created 4 years ago by sefburhanTutorials5 comments – viewed 8,964 times – ( +27 / -1 ) – version 1.1
In this tutorial we will try to save cgridview filter(search) with title etc. basically we want to save two forms data i.e one represents filters and other data about filters like title, description etc. You can define your own structure for filter saving table here are some basic steps