Wiki

Sorted by date (updated)X
Displaying 381-390 of 467 result(s).

Prevent asset publishing for CListView

Updated 2 years ago by MikeHow-tos2 comments – viewed 5,366 times – ( +2 )
If you don't want to use any of the AJAX features of CListView and thus want to prevent that it publishes any of its asset files, you can extend it and create a sub class like this:
tags: CListView, Assets

I18n subdomains and url-rules

Updated 2 years ago by atrandafirTutorials5 comments – viewed 15,719 times – ( +7 )
This guide is for more or less advanced users. If you just started with Yii or didn't worked with any web-framework before, you may should come back later :-)
tags: i18n, URL

Uploading multiple images with CMultiFileUpload

Updated 2 years ago by Maurizio DombaHow-tos11 comments – viewed 41,898 times – ( +33 )
"The documentation for CMultiFileUpload isn't clear!"

Theming your Zii Widgets

Updated 2 years ago by Ivan WilhelmTutorials16 comments – viewed 28,235 times – ( +19 )
One aspect of User Interface Design has to do with the coherence of the design and the use of the colors between the different User Interface Components used.

Cambiando el diseño de JuiWidgets

Updated 2 years ago by Ivan WilhelmTutorials1 comment – viewed 5,955 times
Un aspecto del diseño de interfaces de usuario tiene que ver con la coherencia del diseño y uso de colores entre los distintos componentes de interfaz de usuario utilizados.

Ativando temas no Zii Widgets

Updated 2 years ago by Ivan WilhelmTutorials3 comments – viewed 5,195 times – ( +4 / -2 )
Um aspecto do design da interface de usuário tem a ver com a coerência do design e da utilização das cores entre os diferentes componentes da interface do usuário utilizada.

An easy way to use escopes and CActiveDataProvider

Updated 2 years ago by Rafael GarciaTips8 comments – viewed 13,880 times – ( +1 / -1 )
Often used scopes to define criteria in our models. This is a very useful feature as it ensures that in any part of application applying the criteria defined by the scope when called it.

An easy way to display a success page using flash messages

Updated 2 years ago by qiangTips2 comments – viewed 13,755 times – ( +23 )
We often need to display a success page after the user has submitted a form without problem. We may show some welcome message after a user registers a new account. There are many ways to implement this workflow. In this article, I will explain a method that exploits flash messages.

Named scope - Get orphan AR without losing primary key

Updated 2 years ago by Steve FriedlTutorials0 comments – viewed 3,872 times
Sometime, in a many-to-many relation, you need to retrieve AR that aren't linked. In practice, AR with null value in the join table. So you implements a criteria like this :

To configure Yii path in Windows platform

Updated 2 years ago by CodaTutorials2 comments – viewed 16,584 times – ( +1 / -6 )
I can see many questions regarding configuring the path using Windows OS. I could hardly get the right information about it. The cook book has defined for Linux. So I would like to share my idea on it. To configure the Yii path using Windows OS,