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 ArticleMultimodelform
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 ArticleTabs 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 ArticleProblem 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 ArticleHow 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 ArticleMigrazione A Ruby - Era Un Pesce D'aprile, Vero ?
http://www.yiiframework.com/news/68/yii2-migrates-from-php-to-ruby Stanno scherzando, vero ?
View ArticleQual'è 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 ArticleExtension 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 ArticleHow 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 ArticleSimple 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 ArticleBootstrap 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 ArticleAdderror 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 ArticleProblem 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 ArticleSearch 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 ArticleYii 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 ArticleSchool 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 ArticleCriar 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 ArticleCdbcriteria 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