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

POST support for action parameter binding

Action Parameter Binding as implemented in CInlineAction currently only supports $_GET parameters, so parameters from POST requests won't be bound. If CInlineAction would use...

View Article


Multimodelform

Hi, I can insert many values for members using multimodelform extension. Later a need to remove one maybe more, but when i remove this items in client side from members using update action, that items...

View Article


Tabs Function

Hi everyone, im new in yii, i want use the tabs function in my form but i cant get to it. the idea is i want to put three difference forms which is 'Personal', 'family', 'education', in the tab. this...

View Article

Problem with front-end and back-end

Hello! Trying to cook this lesson about organazing directories for applications with front-end and back-end using WebApplicationEnd behavior. Tried to access into website root, but there is an error...

View Article

How To Display Blob Image On Tcpdf In Yii?

Is there a way to display a blob image in TCPDF in Yii? I've tried calling the function below but it just returns a blank picture. My controller: public function actionDisplayAgencyIcon() { $info =...

View Article


Image may be NSFW.
Clik here to view.

Buona Pasqua&pasquetta

Auguri a quanti festeggiano

View Article

Migrazione A Ruby - Era Un Pesce D'aprile, Vero ?

http://www.yiiframework.com/news/68/yii2-migrates-from-php-to-ruby Stanno scherzando, vero ?

View Article

Qual'è Il Modo Migliore Per Testare L'effettiva Connesione Al Db ?

Sto provando questa strada try { $this->db = new CDbConnection("pippo","pluto","paperino"); } catch (Exception $e) { $this->lastError = self::NQM_DB_ERROR; } Il problema è che Yii genera comunque...

View Article


$Model->Attributes=$_Post['newsletter'] Ignora I Valori Non Db

Ho un model 'Newsletter' che oltre ai campi di db contiene una proprietà pubblica 'rcpt_address_list', che è poi solo una stringa Ho verificato che sull'azione post il campo viene spedito come...

View Article


Extension Or Technology To Load Pages With Images Faster

Hi all Is there an extension or technology that helps to load pages with images faster? Thanks

View Article

How To Use 'coremessages' With Cdbmessagesource

I am stuck with coreMessages component which I would like to use with CDbMessageSource. If I add: 'coreMessages'=>array( 'class' => 'CDbMessageSource', ), to the config/main.php (in the database...

View Article

Simple Question About Format In Yii Guides

down vote favorite It's a simple question but since I am a beginner, it confuses me. In the tutorials, for example: http://www.yiiframework.com/doc/guide/1.1/en/database.dao it references methods like...

View Article

Bootstrap Bootmenu And Link

Hi there! I have a problem putting a link for an item of menu using Bootstrap. For the case when using an item without sub-item, there is no problem, like this: array('label'=>'Product', 'url' =>...

View Article


Adderror In Beforesave Not Work When $Model->Save() In Loop

while insert multiple data, then $this->addError stop working. for example in Controller: foreach($roomfacilty as $data) { $model->setIsNewRecord(true);...

View Article

Problem using CArrayDataProvider and CGridView when array does not have an...

I have been trying to use CArrayDataProvider to format some array data to then display using the CGridView widget, however it does not seem to work unless there is a defined 'id' key in the array. This...

View Article


Search By Month In Yii Search

Hi all, I want to search a model attribute of type date only by month,ie $criteria->compare('end_date',$this->end_date,false); here $this->end_date is a form field which gives only the month....

View Article

Yii How Download Uploaded Files?

Hello, i have some problem. I need download my (uploaded file when i create new TASK ) : My Task Controller : public function actionCreate() { $model = new Task; // Uncomment the following line if AJAX...

View Article


School To Join

This is my first tryst with Yii (it is a fantastic web application framework). My first project was to develop a free portal for schools at http://www.schooltojoin.com In addition to finding your...

View Article

Criar Funções Para Reutilizar Em Todo Site

Boa noite, Estou com uma dúvida, eu estou acostumado com php puro sem uso de framework, hoje tenho uma classe que desenvolvi com vários funções que utilizo em meus sites ex: resumir textos, gerar...

View Article

Cdbcriteria With "not Exists" Condition

Hey, i have 3 tables and want to show movies that haven't been watched by a specific viewer. CREATE TABLE viewer ( id INT NOT NULL PRIMARY KEY, name VARCHAR(45)) CREATE TABLE movie ( id INT NOT NULL...

View Article
Browsing all 18717 articles
Browse latest View live


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