Wiki

Sorted by ratingX
Displaying 391-400 of 727 result(s).

Use minified version of JqueryAsset, BootstrapAsset (and all default assets)

Created 8 days ago by robregonmHow-tos1 comment – viewed 946 times – ( +4 ) – version 2.0
By default, Yii 2.0 chooses to use the non-minified version of Jquery and Bootstrap files (CSS and JS). However, there's a simple way to indicate Yii to use the minified version.

How to generate Web feed for an application

Created 5 years ago by qiangTutorials6 comments – viewed 19,830 times – ( +4 ) – version 1.1
Web feed is a data format used for providing users with frequently updated content. In this article, we describe how to use Zend_Feed, an excellent component from Zend Framework to generate Web feed for an Yii application. This article can also serve as a general guide on how to use other components in Zend Framework.

How to add a named scope to ActiveRecords with a behavior

Created 5 years ago by MikeTutorials2 comments – viewed 17,071 times – ( +4 ) – version 1.1
Since Yii 1.0.5 you can use named scopes with ActiveRecords. They are a great help in simplifying your query calls.

Managing constants easily

Created 3 years ago by briiC.lvTips4 comments – viewed 11,248 times – ( +4 ) – version 1.1
For time to time i have models with constants (basicly status constants) which i use in diferent places and if these constant changes, i have to change mentions of constant in code elsewhere.

Visualization tree-multi subcategories as listbox or dropdownlist

Created about a year ago by Kostas Apazidis (KonApaz)How-tos4 comments – viewed 11,024 times – ( +4 ) – version 1.1
Do you want to make a listbox or dropdownlist to select one or more categories or sub categories ?

Create thermometer using rgraph

Created about a year ago by Ankit ModiTips2 comments – viewed 4,875 times – ( +4 )
Hi friends,

How to obtain a grammatically correct translation of the model name in giix-generated view files

Created 2 years ago by c@cbaHow-tos0 comments – viewed 9,089 times – ( +4 ) – version 1.1
The giix code generator has out of the box i18n support for model names and attribute labels (besides other cool features > check it out!) . But I want to factor in not only the plural form, but also the grammatical cases (especially the accusative) while translating 'Manage Objects', 'Create Object', 'Edit Object' etc.

How to use default layout for error pages instead of errorXXX views

Created 5 years ago by idle signTutorials1 comment – viewed 19,068 times – ( +4 ) – version 1.1
The issue is covered in "The Definite Guide to Yii" (Error Handling - Handling Errors Using an Action).

Deploy yii on pagoda box

Created 2 years ago by francis jaTutorials0 comments – viewed 6,743 times – ( +4 ) – version 1.1
pagoda box is very useful tool for a programmer to test their php app online so its very useful one. For deploying code pagodabox use git command
tags: pagodabox, pagoda

Create a custom menu using CMenu data-items (flat or tree structure)

Created about a year ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 12,110 times – ( +4 )
There are cases that you want more control to your menu Suppose you want a specific menu with complex css, layout, images. also you want to add extra content,html,css,javascript etc it run time foreach submenu item by conditions.