Wiki articles in category How-tos

Showing 1-20 of 292 items.

How to keep filters simple in CGridView

Created 5 years ago by Peppe, updated 5 years ago by le_top.

The problem is not new: after setting some filters in a grid (typically in admin view), and gone to another page, returning in the grid's page I would like to find the filters with previous setting mantained.

0 0
2 followers
Viewed: 9 784 times
Version: 1.1
Category: How-tos

Building Page Specific Menus using CMenu

Created 6 years ago by mistryb, updated 5 years ago by mistryb.

The Yii Framework provides a sweet functionality that allows you to easily create page specific menus. What does this mean? This allows you to create one layout or CSS styling for your menu, and when each page is loaded, a new set of menu items is loaded in. This is useful for context specific sidebars within your application.

0 0
3 followers
Viewed: 14 619 times
Version: 1.1
Category: How-tos
Tags: CMenu

How to create a custom exception and show it friendly with CJuiDialog

Created 5 years ago by Fábio Sales, updated 5 years ago by Fábio Sales.

Sometimes we need to create our custom exception and show it to the end user through a friendly way . In this article, I'm showing how to do it using CJuidialog.

0 0
1 follower
Viewed: 15 223 times
Version: 1.1
Category: How-tos

Using Yii Gallery Manager in your Yii 1.x application

Created 4 years ago by Trejder, updated 4 years ago by Trejder.

Finding good looking, working and not abandoned gallery manager for Yii 1.x application is a tough task. Out of all I found, only yii-gallery-manager extension looked promising. But, after downloading it, it turned out, that there are certain unusual things to do, to include it in your application. So, I decided to write this article...

0 0
1 follower
Viewed: 10 854 times
Version: 1.1
Category: How-tos

Multiple CGridView virtual attributes, retrieved from a single model function. Also communication between CGridView columns and rows; and between CGridView and its own parent view.

Created 4 years ago by Gerhard Liebenberg, updated 4 years ago by Gerhard Liebenberg.

We probably have all used a virtual attribute (model function) to retrieve complex or related data for a CGridView column:

0 0
4 followers
Viewed: 10 827 times
Version: 1.1
Category: How-tos

Console Based CAuthManager Helper

Created 4 years ago by bluyell, updated 4 years ago by bluyell.

This behavior enable you to command the RBAC via console. This avoids you to install a entire rbac graphic toolkit to set up some rules in the rbac, maybe you are running inside a ssh console.

0 0
1 follower
Viewed: 8 550 times
Version: 1.1
Category: How-tos

How to have truly multilingual URLs

Created 4 years ago by oligalma, updated 2 years ago by Maurizio Domba Cerin.

We can easily have a multilingual site if we put a "lang" parameter that comes via GET. For example:

0 0
3 followers
Viewed: 10 619 times
Version: 1.1
Category: How-tos

BUM - Add Additional Info to a User

Created 6 years ago by firefly, updated 5 years ago by Anibal.

How to add additional information to a user when using BUM extension?

0 0
4 followers
Viewed: 19 817 times
Version: 1.1
Category: How-tos

How to customize your grid columns visible and order by user themselves

Created 3 years ago by Scott_Huang, updated 3 years ago by Scott_Huang.

The export to excel function will affected by the final resorted columns in case you use my export grid to excel extends hzlexportgrid too, Since that export extention just depends on the grid columns configs, and that columns been customized by user themselves just now.

0 0
1 follower
Viewed: 13 347 times
Version: 1.1
Category: How-tos

Interactive mode command-line command for Yii1

Created 3 years ago by Trejder, updated 3 years ago by Trejder.

For one of my projects I needed an interactive console command in Yii 1, i.e. the one that is gathering all information from user in an interactive mode (a serie of questions and answers displayed directly in the console), ignoring command-line arguments at all.

0 0
1 follower
Viewed: 14 423 times
Version: 1.1
Category: How-tos

ACL and RBAC

Created 7 years ago by zeroByte, updated 7 years ago by kevinkorb.

This HowTo assumes that you have a smattering of ACL in general and of how the acl-extension works basically. It will introduce you into the abstract and give you a hint on how to use Business-Rules. If you have in-depth questions, please refer to the extension documentation. Using ACL in an RBAC-manner cannot and should never obs...

0 0
4 followers
Viewed: 23 700 times
Version: 1.1
Category: How-tos

How to Create Pdf Report / Excel Report By Using Parameters (From - Until)

Created 6 years ago by ruderbytes, updated 5 years ago by ruderbytes.

Asslamualaikum Wr.Wb Hello I'm Fahmi Azain i will share wiki tutorial about Creating Pdf Report / Excel Report by using Parms / Parameters.

0 2
7 followers
Viewed: 33 692 times
Version: 1.1
Category: How-tos

How to create a criteria condition for a multiple value text search i.e a "LIKE IN"

Created 6 years ago by toph, updated 3 years ago by toph.

This is a shortcut for adding a text search for multiple values i.e.

0 0
5 followers
Viewed: 46 737 times
Version: 1.1
Category: How-tos

How to implement magento cron on yii

Created 6 years ago by Ankit Modi, updated 5 years ago by CeBe.

Hi Friends, First I would to say sorry but I am not very familiar to magento so after a 1 week spend I will implement the magneto cron functionality on yii I hope it's may be some helpful.

0 0
3 followers
Viewed: 7 637 times
Version: 1.1
Category: How-tos

Email by YiiMailer, Call Outlook, IMAP

Created 5 years ago by Scott_Huang, updated 5 years ago by CeBe.

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.

0 0
6 followers
Viewed: 12 578 times
Version: 1.1
Category: How-tos

How to create a simple logout link in the view?

Created 5 years ago by mi.sarah, updated 5 years ago by CeBe.

Here you learn to create and set a simple ahref-link to logout the current user.

0 2
1 follower
Viewed: 33 082 times
Version: 1.1
Category: How-tos

Using phpseclib with Yii

Created 7 years ago by nkd, updated 7 years ago by nkd.

I installed phpseclib because I needed to do some AES encryption in my project. After all the hassle of installing php lib, I found out that Yii already has a security module (securityManager). I finally decided to keep using phpseclib because it has one big advantage over Yii securityManager module, it does...

0 0
6 followers
Viewed: 14 396 times
Version: 1.1
Category: How-tos
Tags: security

Serial Numbers (item counts) in GridView

Created 7 years ago by PeRoChAk, updated 7 years ago by Maurizio Domba Cerin.

Sometime we need to display numbers of items per page with their counting as a serial number.

0 0
4 followers
Viewed: 13 077 times
Version: 1.1
Category: How-tos

Install, update and use Yii with WAMP server

Created 7 years ago by mrs, updated 7 years ago by mrs.

Here I am describing how you can install and update Yii in WAMP sever.

0 0
5 followers
Viewed: 74 471 times
Version: 1.1
Category: How-tos

MigrateCommand class for multiple sites using one code base

Created 7 years ago by Hudson Nguyen, updated 7 years ago by Hudson Nguyen.

My CMS supports multiple sites using one code base therefore the db connection can only be configured by detecting the site's domain.

0 0
2 followers
Viewed: 4 816 times
Version: 1.1
Category: How-tos
Tags: