Quantcast
Channel: Yii Framework Forum
Browsing all 18717 articles
Browse latest View live

Sorting With 'desc Nulls Last'

PostgreSQL knows the sorting option SORT BY row DESC NULLS LAST That means, that rows with NULL get sorted behind 1 or 0 for example. The default instead is, that all NULLs get sorted in front of 1 or...

View Article


Initialize Language

which is the best place to initialize the Yii::app()->language? I don't want to initialize in config/main.php because I am going to set that programmatically. I thought to do that in...

View Article


Ayuda Con Duda Existencial Sobre Diseño Web.

Hola a todos, me llama la atención que todos los frameworks CSS, incluido el que viene con Yii, están basados en tamaños absolutos, es decir, tienen una anchura fija en px y no en %. Para que me...

View Article

Array Value For Cactiveform Hidden Field

Hi <?php $form=$this->beginWidget('CActiveForm', array( 'id'=>'advertisement-form', 'enableAjaxValidation'=>false, 'enableClientValidation'=>true, 'method'=>'post', 'clientOptions'...

View Article

Integration Into Yii-User-Management

Hi, Any ideas or clues what is the best way to integrate Hybridauth module into Yii user management extension? http://www.yiiframework.com/extension/yii-user-management/ Any help will be much appreciated!

View Article


[MODULE] HybridAuth

This is a forum page for the module Hybridauth (http://www.yiiframework.com/extension/hybridauth/) for social logins. I've just put up the first release. Comments/thoughts etc let me know! Thanks, Mark

View Article

Weird Behaviour Of Postonly Filter

Hi guys, postOnly filter is only working under the original theme of yii. With other themes under the same circunstances and pages this does not work. For example the delete button under the admin page...

View Article

How Does Yii Cache Works?

Hi Guys, Recently I was researching options to enhance Yii application performance and came across Yii's cache mechanism. Can anyone please explain me how does this actially works? I have used Memcache...

View Article


Image may be NSFW.
Clik here to view.

Guardar Datos Multiples

bnas todos, tengo el siguiente problema que no he entendido como resolverlo. tngo en mi accion create un guardado a diferentes modelos. public function actionCreate() { $model=new Buzon(); $model2=new...

View Article


Including An External Folder With Subfolders And Libraries

I want to use Elastica, a PHP client of ElasticSearch - a search engine somewhat similar to solr. Now the installation guide of Elastica says to use autoload. But as far as I got it, the autoload...

View Article

Chttpcookie Does Not Have This Behaviour

Have started getting this error sometimes when I log into my website: 'CException' with message 'CHttpCookie and its behaviors do not have a method or closure named "configure" It seems to happen once...

View Article

Do Assets For Specific Extensions Need To Be Added Separately?

Hi folks, When you use an extension that (for example) has a .js file as an asset, do you need to register that script separately? If so, how is this best done? Should be reside in the extension's...

View Article

Does Registercssfile Supprt Ie Conditional Statements?

Hi folks, Just wondering if Yii has support for this. As of now, my main layout <head> contains this... Yii::app()->clientScript->registerCssFile(Yii::app()->request->baseUrl....

View Article


Image may be NSFW.
Clik here to view.

[一本通]中文无错版Blog开发指南 v1.1

因为之前一个兴趣小组的人一起学Yii,所以对Yii Blog做了一个简单的整理,没有什么自己翻译的东西,资料都是来自官方网站,然后自己只是将里面提到的有代码忽略的地方补了上来,不太好懂的地方写上了注释and解释,目的在于加速大家学习Yii。 版权问题基本没有,允许个人级的下载和使用,如果Qiang那边没有问题,我这边不加任何版权方面的限制。 差不多就是这样。希望对大家有点帮助。 Boy.Lee...

View Article

[Extension] Xupload

I found that this extensions is out of date. Maybe some one can update it?

View Article


Yiibooster Seems Slow

When I added Yiibooster library to my website, it seems to slow page loading. When I remove the Yiibooster files, it becomes fast again. It is slow without using any Yiibooster components. when I click...

View Article

1.12 Gii Not Allowing Login

Tested in bare webapp one with 1.11 and one with 1.12. Worked in 1.11, doesn't work in 1.12 Problem: Entering password does not log into gii Set gii password in config/main.php 'modules' => array(...

View Article


Namespaces in Yii 2.0?

will Yii 2.0 use Namespaces? http://www.php.net/manual/en/language.namespaces.rationale.php

View Article

TDD multiple databases

I am trying to test a model with a fixture. Nothing special, but in this case I am using two databases. The DB's are in both setup main.php and test.php config files. The first db is named 'db', the...

View Article

Yii 1.1.13 Release Candidate (Rc) Is Released

We are very pleased to announce the immediate availability of Yii Framework version 1.1.13 Release Candidate. You may download it from the following page: http://www.yiiframework.com/download/ This...

View Article
Browsing all 18717 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>