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

Assigning Data To User

Hi, I am having two table tbl_user & tbl_customer. tbl_customer consists of customer information & data. tbl_user contains staffs users to manage customer data. Suppose there are 50 customer's...

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


Atualizando Uma Div

Preciso de atualizar uma TbGridView que esta dentro de uma div. Alguem tem algum material, tutorial ou artigo?

View Article

Boolean Field Problem

Hi,everyone.I have a problem about active record boolean field. My table schema sql is: CREATE TABLE `foo` ( `id` int(11) NOT NULL AUTO_INCREMENT, `isbar` bool NOT NULL , PRIMARY KEY (`id`) )...

View Article

Image may be NSFW.
Clik here to view.

Load Data By Ajax Disappeared When Valdiation Return Erorr

Hi I had form content first name , last name .....etc . And tow drowpdownlist countries and cites , I loaded cites when Country drowpdownlist changed by ajax , and everything is cool . My problems : 1-...

View Article


Page Title For Static Pages

Hi! Is there a good way to change static page titles? I am using CViewAction for static pages, but all of those pages has the same page title. I want different titles for different static pages. Thank...

View Article

Major Bug In Cactiverecord::findall With Join And Limit

This will be a way to reproduce it, I didn't have time to see how to solve it: 1. create two tables in mysql: - table1: (id - pk autoincrement) - table2: (id - pk autoincrement, table1_id - fk) 2....

View Article

Yii Relations()

Hello, I need help. I have stage, match, game models. Stage can have many matches, and match have to belongs to only one stage. And match can have many games, game have to belongs to only one match. So...

View Article


Getting Yii to play nice with PHP 5.3 namespaces

I have been struggling with using PHP 5.3 namespaces with Yii. The Yii autoloader is passed the namespace AND the class name, so it is not seeing \foo\bar\class as an imported class. I have tried...

View Article


Autoloading namespaced libraries is disappointing

I tried to put together an application by using 3rd party vendor modules loaded by namespace. Unfortunately this has turned out to be a non-start due to the fact that I can't depend on the namespaces...

View Article

Gii Model Generator Error

Hi, I'm having problem accessing Model Generator in Gii. Everything works fine except Model Generator. It will just display a blank page. I checked with chrome's developer tools, it shows that no data...

View Article

Question When Using "with" And "scopes"

I've been trying to use scopes inside the with option and haven't been able to figure out how. Here's an example setup similar to mine: ParentModel has the following scopes "getValidatedEntries" =>...

View Article

Image may be NSFW.
Clik here to view.

License Fot Redactor Imperavi

hello, some days ago Russian Yii comminuty decided to start gathering of money (total sum - 400$) for buying license for beautiful WYSIWYG redactor (created by Imperavi Team Developers). Here is the...

View Article


Image may be NSFW.
Clik here to view.

giix — gii Extended

Dear folks, Here comes giix. giix on Google Code giix is gii Extended, a code generator for Yii PHP framework. giix is inspired and based on gii-template-collection (gtc), by Herbert Maschke (thyseus)....

View Article

Automatic Users/rights Set Up? Any Chance?

I was looking at a tutorial in the wiki http://www.yiiframework.com/wiki/423/installing-yii-users-and-rights-to-newly-created-yii-app/ (I'm still a little unsure what goes where, and I'd have to sit...

View Article


A Bug In The Updatedialog Of Ejuidlgscolumn

Hi First I would like to say that indeed this is a great extenstion. I think there is a bug if I try to update via EJuiDlgsColumn property of the CGridView. array( //'class'=>'CButtonColumn',...

View Article

Hiding Index.php Results In 403 Error

I've been trying to hide index.php, following the guidance of numerous and helpful posts, in the URL but have been unsuccessful. My setup is as follows: VirtualBox Ubuntu Server VM (Host is Windows...

View Article


How To Upload Files with CUploadedFile class in CRUD interface

THE CONTROLLER -> function create: public function actionCreate() { $model=new Fotos2; // Uncomment the following line if AJAX validation is needed $this->performAjaxValidation($model);...

View Article

Two Models For A Single Table

Can i have 2 models for a single table in YII. I have a table which is storing login and registration info in one table.However i have 2 forms. One for login and one for registration. so i want to...

View Article

Wohin Mit Logik Für Suchformular Im Header

Guten Tag Ich habe in der Layout/Main.php ein Suchformular mit Yiibooster integriert. Diese ist nun in jeder view, da ja im Header hinterlegt, sichtbar. <? $model = new Demo;?> <?php $form =...

View Article
Browsing all 18717 articles
Browse latest View live


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