Wiki

Sorted by ratingX
Displaying 271-280 of 467 result(s).

Use application on production/development environment without making changes

Created about a year ago by ifdatticTips2 comments – viewed 16,034 times – ( +8 / -1 )
I like programing on my localhost, however it really bugged me to make changes to index.php & config files on my production server. After combining all available wiki articles on this topic and some trial and error this is what I use for my applications so I could just upload it to production server and it will work without any changes.

Storing your images in your table's blob field and displaying that stored images.

Created about a year ago by sirin kHow-tos5 comments – viewed 10,804 times – ( +8 / -1 )
He im giving you a very simple example ie how you can store an image to your blob field in a table.Hope you already familiar with the normal image upload.
tags: blob, image

Update two models with one view

Created about a year ago by sensorarioTips10 comments – viewed 18,552 times – ( +10 / -2 )
Suppose to have two models: Users and Emails. You do not want to store email in a Users model. And User can have 0 or many emails. This is the form generated to create a new user (just username).
tags: database, model, view, form

Include Yii framework in a Joomla module

Created 2 years ago by zaccariaHow-tos6 comments – viewed 13,022 times – ( +7 / -1 )
Delploying anything using joomla's framework is quite difficult. The framework don't provide a good MVC structure and the documentation is very poor.

Windows Web Development With AMPPS, NetBeans and XDebug

Created about a year ago by macinvilleTutorials1 comment – viewed 12,200 times – ( +4 )
This article will discuss how to setup your web development environment with the following specifications:

How to hide index.php on nginx

Created 4 years ago by milesTutorials3 comments – viewed 20,600 times – ( +4 )
For a complete sample Nginx+PHP-FPM config, view this how-to: Nginx & PHP-FPM
tags: URL

How to generate Web feed for an application

Created 4 years ago by qiangTutorials6 comments – viewed 12,639 times – ( +4 )
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.

Managing constants easily

Created about a year ago by briiC.lvTips4 comments – viewed 6,133 times – ( +4 )
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.

Troubleshooting Rights Extension

Created about a year ago by junxiongTips4 comments – viewed 10,393 times – ( +4 )
Rights is one of user interface for Yii's Role Base Access Control extension. It is one of most downloaded extensions in Yii's Web.

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

Created about a year ago by c@cbaHow-tos0 comments – viewed 4,943 times – ( +4 )
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.