Timestamp Output 31-12-1969
Hi, I have a strange behaviour (I'm using postgres). I have this (in db I have 18-01-2013 10:00:00..) echo $post->startdate; // prints: Mon 18 Ene 10:00:00 2013 echo date('d-m-Y...
View ArticleModel Display - Design Question
Hi there, I've got a design question. I have one controller and some models, for instance Client, Customer, Address. Throughout the screens I want to display information about those models to the end...
View ArticleHow To Setup Pagination To Use Normal Linksinstead Of Ajax Sub Requests
Hello, I need to set the pager for CListView not using ajax requests to load new pages. I want to have a normal links in the pager without any ajax on it. Is it possible and how I can turn this on for...
View Article[Solved] Checkboxlist E Relazioni Many_Many
Ciao a tutti! E' da qualche giorno che ho cominciato a smanettare con Yii e devo dire che, per le cose basilari, a parte qualche intoppo qua e là , mi trovo alla grande. Dicevo: per le cose basilari....
View Article[EXTENSION] multimodelform/jqrelcopy
I start a topic here, better than to discuss all the stuff about cloning fields at the extension pages.
View ArticleJson Advice
I just hit a roadblock...hoping someone has some ideas. my data returned in json format looks like this... "response": { "status": "OK", "content-categories": [ { "id": 1, "name": "Pets & Animals",...
View ArticleProblema Sull'upload Di Una Immagine
Ciao a tutti. Ho da poco iniziato ad utilizzare Yii e, dopo aver dato un'occhiata all'applicazione Trackstar che viene sviluppata sulla guida, mi stavo cimentando con l'upload delle immagini. In...
View ArticleMssql Gridview/paginator Problem
I think that an old report regarding pagination with MSSQL has not been migrated from the old reporting platform to the new. As my old fix helped out somebody else, it might be worth fixing:...
View ArticlePrivate Messaging Module
I have just downloaded and tried to configure the private messaging module: http://www.yiiframework.com/extension/private-messaging/ I am getting the following exception when trying to access the...
View ArticleThe Table "{{Messages}}" For Active Record Class "message"...
I m getting an error message that says The table "{{messages}}" for active record class "Message" cannot be found in the database. I have doubly cross checked - sql is running, the database is...
View ArticlePagination && Pagesize
Bonsoir tous le monde voilla je debute sur Yii frameworke et je travaille sur un site ou je doit faire un boutton de page size il permettra d'afficher le nombre d'elements par page 8 16 24 .... je ne...
View ArticleStrange Behavior Chtml::checkbox In Gridview, Need Help.
I am trying to add a checkbox into a column in gridview so when user click on the checkbox it make call to controller to toggle a value of the record. The code below works only at the first page of a...
View ArticleJoomla Template In Yii
is it possible to use any kind of joomla template under yii framework structure? while it possible?any kind of requirement to be needed in condition? anyone have idea? thx before, my regards
View ArticleGetting An Id (Query Builder)
I have a form where I collect "job" data from to insert a new row into a DB table. Two fields are then used to recover a store id from a separate DB table. I'm just wondering if there's a better way to...
View ArticleYii Url Paramters - ?f=V Vs. /f/v
Hi everyone, Do you have any clue why the following only works with "non-yii"-style URLS? On page A: <?=CHtml::link('Link', array('edit', 'pk' => $post->primaryKey, 'returnUrl' =>...
View ArticleRedirect From Widget ?
I was reading this forum post which says why redirecting from the widget is a bad MVC practice but may be good from the DRY point of view. Forget for the moment, good or bad - the question is how do i...
View ArticleFancybox Problem With Gridview
Hi All I used FancyBox extension http://www.yiiframework.com/extension/fancybox I added fancy box to update action in grid view button , it's work in perfect way in first results page , But the problem...
View Article[Extension] Auth
Hey All, This is the thread for discussing my latest extension, Auth: http://www.yiiframework.com/extension/auth Feel free to post any questions you have regarding extension below.
View ArticleLayout With Two Contents Part ? Possible ?
I created the main.php under layout, Then I created a separate index.php for my registration form. I want my landing page/site index page be like facebook, with a registration form and a login form on...
View Article