Wiki

Sorted by ratingX
Displaying 351-360 of 706 result(s).

Implementing a WebDAV server using SabreDAV

Created about a year ago by nineinchnickTutorials5 comments – viewed 11,453 times – ( +5 )
This article will show you how to easily implement a WebDAV server in your project using SabreDAV.

How to implement form events

Created about a month ago by Antonio RamirezHow-tos4 comments – viewed 2,419 times – ( +5 ) – version 2.0
You have that, when a product is on development they can change its API anytime. This change is quite important though, its related on how to set the events of your form, for example, the useful beforeSubmit.
tags: yii2, forms, how to

free PHP IDE CodeLobster supports Yii framework

Created 3 years ago by clodTutorials0 comments – viewed 12,166 times – ( +5 ) – version 1.1
This page is created to supply short directions and general tips for managing a Yii application in Codelobster PHP Edition.

CGridView. Add custom class to table rows preserving original „odd“ and „even“

Created about a year ago by Maug LeeHow-tos2 comments – viewed 20,187 times – ( +5 ) – version 1.1
Lets say we have such a CGridView widget showing a list of users for administrator. Users have status „active“ or „disabled“. Grid widget puts class „odd“ or „even“ to rows and we want to preserve this. So we want to add a class „disabled“ to rows with disabled users.

How to provide a fallback or mapping for translation messages?

Created about a year ago by schmunkHow-tos1 comment – viewed 3,469 times – ( +5 )
Sometimes you want to use exisiting translations for locales, which do not directly match. An example would be a website targeting Germany (de_de), Austria (de_at) and Switzerland (de_ch, fr_ch, it_ch). Although you may have exisiting translations for German (de), French (fr) and Italian (it), there are problems using it directly.

Checking for "expired" sessions/logins on the client side

Created about a year ago by le_topHow-tos0 comments – viewed 13,387 times – ( +5 ) – version 1.1
Getting "Expired token" errors ? Here is a solution to avoid invalid CSRF on POST or ajax requests, or user identity changes.

Use application on production/development environment without making changes

Created 2 years ago by ifdatticTips3 comments – viewed 31,361 times – ( +8 / -1 ) – version 1.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 2 years ago by sirin kHow-tos6 comments – viewed 21,885 times – ( +8 / -1 ) – version 1.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

An important tip when you are using CArrayDataProvider.

Created 2 years ago by sirin kTips0 comments – viewed 7,848 times – ( +8 / -1 ) – version 1.1
Yii ‘s CArrayDataProvider is very helpful to display model relation data's directly on it.But it is truely a confusing one because by default it will assume a table field named “id” as primary key for its pagination purpose and what if you dont have field named “id” as primary key on your table? so its truely confusing and if you tried to display without an “id” field on ur table you will get an error like “yourmodel.id is not defined”.

Include Yii framework in a Joomla module

Created 3 years ago by zaccariaHow-tos7 comments – viewed 20,229 times – ( +8 / -1 ) – version 1.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.