Wiki

Sorted by viewsX
Displaying 541-550 of 785 result(s).

How to use yii2-authclient to communicate with Twitter using Single Access Token

Created 2 years ago by Antonio RamirezHow-tos2 comments – viewed 11,389 times – ( +4 ) – version 2.0
This tutorial is not about allowing users to sign into your application by using any of the OAuth providers available with the official yii2-authclient extension, it is about how to interact with your Twitter account, the one you set for your Yii2 app to promote your site, using the Single Access Token technique.

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

Created 4 years ago by c@cbaHow-tos0 comments – viewed 11,382 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.

Extending CJuiDialog

Created 4 years ago by dstudioHow-tos0 comments – viewed 11,378 times – ( +2 / -2 ) – version 1.1
Sometimes you have CJuiDialog with different content but same buttons (or width, height). If you don't want to repeat yourself this is a great solution:

Moving the vendor directory for multiple projects

Created 2 years ago by mariosimaremareHow-tos2 comments – viewed 11,305 times – ( +5 / -1 ) – version 2.0
This How-To is useful if you are planning to move the Yii vendor directory outside the default location.

Load data from internal/external source to fill form fields

Created about a year ago by skwordenHow-tos4 comments – viewed 11,288 times – ( +1 ) – version 2.0
This wiki is to show you how to use jQuery get and JSON to get data from a dropdown/any form field and fill form fields with the values instantaneously. First, I'll give example use cases of what I'm going to teach you so you can quickly see if this is for you.

Using Pear Mail Mail_Mime and Mail_Queue

Created 5 years ago by LorenHow-tos2 comments – viewed 11,244 times – ( +7 ) – version 1.1
Create a component (/protected/components/PearMail.php) Edit this as needed based on where you put the files from PEAR.

How to use Flash, Zend AMF and Yii Framework

Created 5 years ago by janistoTutorials0 comments – viewed 11,215 times – ( +3 ) – version 1.1
This is a simple demo how to use Zend_AMF with Yii.
tags: flash, zend, Zend_AMF, AMF

ISA hierarchy of tables inside a database and how to implement a single form

Created 5 years ago by pligorHow-tos2 comments – viewed 11,130 times – ( +1 ) – version 1.1
Please consider the following Dear software engineers imagine I have a simple ISA hierarchy: parent A with children B and C. So let's say we have the corresponding tables named "a", "b", "c" and (created with the help of the gii model creator) the classes A, B, C The following is a screenshot from MySQL workbench:

Cambiando el diseño de JuiWidgets

Created 6 years ago by Luis Lobo BorobiaTutorials1 comment – viewed 11,092 times – version 1.1
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.

Directory independent extensions

Created 6 years ago by GOshaTips3 comments – viewed 11,084 times – ( +16 / -1 ) – version 1.1
Many people want to use downloaded extensions in their own way. As for me most of the extensions require me to correct Yii::import() instructions inside their source code. All these extensions are directory dependent. To avoid the situation described above, I suggest to implement pseudo-anonymous aliases: