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

List Inside Cdetailview

Hello, does anybody knows how to add a list inside CDetailView extension? My model relations: public function relations() {return array('publishers' => array(self::MANY_MANY, 'Publisher',...

View Article


[EXTENSION]: private-messaging

http://www.yiiframework.com/extension/private-messaging/ Guys, hope you'll find it useful.

View Article


Private-Messaging

I follow the instructions of Private-Messaging, but I see error as follows: "Active record "Message" has an invalid configuration for relation "receiver". It must specify the relation type, the related...

View Article

Discussion off the wiki article "Integrating Wordpress and Yii: still...

This forum post is setup to make discussing of the wiki article on integrating WordPress and Yii easier. Let's keep the discussion here and use the comments area of the wiki for edits / improvements to...

View Article

How To Change The Color Of The Yii Theme?

Hi! I'm trying to generate a different theme. I'm fine with the layout and style in general. But I'd like to change the blue for red for example in the entire application, including widgets. How can I...

View Article


Html Condition With Cclientscript

how to registerScriptFile with HTML condition in CClientScript, for example : I want to add this line with CClientScript : &lt!--[if lt IE 9]> <script src="<?php echo...

View Article

Using Other Site's Session Data In Yii Site

Hello, I have one (non-Yii) mobile site. In that site the session id is traveling in the urls. Now, I want to add another site to the old big portal. The new site is in subdomain and have to use the...

View Article

Selecting From Multiple Tables With Cactivedataprovider

I have 3 tables: Topics, Users and Details (those are some of the tables of a custom forum) Topics contains (among other usual fields) the id (FK) of the user that created the topic. Users contains...

View Article


Image may be NSFW.
Clik here to view.

Criar Uma Ligação Para Um Registo De Tabela Relacionada.

Provavelmente é mais uma daquelas duvidas básicas mas já tentei várias maneiras e não acero com a sintaxe correcta. Na listagem de uma tabela (_view), tenho a visualização de um campo relacionado...

View Article


Syntax Error In Expression Of Rowcssclassexpression

Hello, In following code i am trying set an expression for rowCssClassExpression: $this->widget('zii.widgets.grid.CGridView',array( 'dataProvider'=>$model->search(), 'filter'=>$model,...

View Article

Image may be NSFW.
Clik here to view.

How To Produce This Output In Excel Spreadsheet?

Hi, any ideas how to produce this kind of format in excel spreadsheet? including the color of the headers

View Article

Yii 1.1.14 Release Candidate (Rc) Is Available

We are very pleased to announce the release candidate of Yii Framework version 1.1.14. You can download it from GitHub at: https://github.com/yiisoft/yii/releases/tag/1.1.14-rc In this release, we...

View Article

problems running custom command in yiic shell

I already asked this is the appropriate forum related to Agile Web Application Development with Yii 1.1 and PHP5 but not getting any leads there so trying here. I am trying to run the Yiic shell to...

View Article


No Error Message In Cunsafevalidator

Hi accodring to conversation on this post http://www.yiiframework.com/forum/index.php/topic/45115-unsafe-attributes-logged-but-no-errors/page__view__findpost__p__213603 I checked the code 32-34 lines...

View Article

Cjuiautocomplete Filed Showing Error

I am just newbie to the yii framework. Currently I have two tables one for sales and other for stores Sales table is looking like this ============== sales ============== id store_id store table is...

View Article


Cactiveform->Telfield()

I ran into a problem with using Yii in Chrome: I want to create a form field for a telephone number. I first made it a numberField, but Chrome does not allow the use of "+", which makes this option not...

View Article

Yii User Management Module

I installed Yii User Management Module and after authorization had the error Alias "bootstrap.widgets.TbGridView" is invalid. Make sure it points to an existing directory or file. After that, I thought...

View Article


Directory Setup For Multi Client Yii Application

So I have my first Yii app ready in a few days from now. However, as a biz owner I see prospects of different clients wanting the same software but I do not want to have to maintain x copies of the...

View Article

Marks An Attribute Unsafe For Mass Assignment.

Hi, I have a special custom validator (without class, only function) in model and I want to mark an attribute as unsafe. I tried with below code but the unsafe validator does not mark it as unsafe....

View Article

[Extension] Jsurlmanager

I can't yet post this to the official plugin repository so I thought I'd share it here to get any feedback you guys might have. There hasn't really been a satisfactory way to use all of the nifty Url...

View Article
Browsing all 18717 articles
Browse latest View live


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