I Want To Write A Jquery Code In Mycontroller
Hello guys, I want to write a jquery code in mycontroller/Show,like this; public function Show(){ <script> jQuery("#block").animate( { width: "100%","opacity": "show"}, { queue: false, duration:...
View ArticleTo Create Dynamic Subdomain For Each User And Also Allow The User To Map It...
hello i am very new to yii and i am working on a project with the following requirments.. the main site(www.mainsite.com) allows users to create register and on registration they get a subdomian i.e...
View ArticleJquery Code / Events In Ajax-Refreshed Cgridview
I have placed a button, with jQuery's binded on-click event, inside CGridView. Its HTML code sits in summaryText. Button works only initially. After grid view is updated by AJAX (after filtering,...
View ArticleMigrazione
Salve, sto provando a configurare le procedure di migrazione. Purtroppo si verifica un errore di sintassi se per definire i campi utilizzo la sintassi di mysql. Mentre se uso i tipi astratti forniti...
View ArticlePassing Variable By Url In Yii?
I know how to use POST and GET method in yii, now I want to pass the data by URL link. For example, I want the output like this: "site/index.php?var1=data1&var2=data2" and retrieve the data with...
View ArticlePost 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[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 Article[Awecrud] Generación De Código Con Bootstrap Y Gii
Saludos colegas, Hace un par de años había desarrollado la extensión iCrud sobre la cual están basadas varias de las extensiones modernas de generación de código como GiiX, GTC, entre otras. Pero creo...
View ArticleCriteria Dosent Work In Php But Works In Phpmyadmin
Hi everyone I have a simple criteria with a single JOIN, when i execute it in php, i got results only from ProjectModel, but when i execute in phpMyAdmin i got result from project_rating table too. In...
View ArticleYii App Deployment
Hello everybody! I have made a web app with Yii successfully, but I deployed in a local net (in a physical server) with no access from internet Now, I have to make a yii web app with access from...
View ArticleExtended Csrf Tokens
So currently I've subclassed CHttpRequest so I can override getCsrfToken with the following, I think it would be a good addition to the core Yii framework public function getCsrfToken($extra = NULL) {...
View ArticleMissing File Types In Framework/utils/mimetypes.php
Users of our web app have reported problems downloading a few file types, including iCals (.ics) in Firefox, and Office 2007 documents (e.g., .docx) in IE 8 and older. It turns out this was because...
View ArticleJoin Table
hello guys... I need to know how to get data within one to many relationsip using yii. for ex when we have the table client and policy(one to many)how do I get the data in client table using this...
View ArticleCDbException
Hi, I am newbie in Yii. And during installation of Yii extension User Management but during this I am getting this error. Please help me I am not getting installation page. I have followed all steps...
View ArticleMise À Jour D'un Textarea Avec Une Liste Déroulante
Bonjour, Je suis nouveau parmis vous et j'ai une question svp. Alors je veux mettre à jour un textArea avec une liste déroulante (dropDownList). c.à.d. je veux si je séléctionne "A" dans la liste, mon...
View ArticleMaybe Bug: Sql Power Function Breaks Cdbcriteria ->With Parsing
Hi, I think this may be a bug in parsing the POWER function for MySQL in a criteria->with statement when doing a select as (it works in ->having when select as not present) - also the workaround...
View ArticleAjax Validation for tabular or dynamic input
Hi everyone, After taking much time for searching, I have a solution to ajax validation for tabular or dynamic input. It works for me. Hopefully it is helpful for someone. It is not a perfect but it...
View ArticleYii Wyświetlanie Rekordu Po Dodaniu Ajax
Witam, Posiadam system komentarzy. W nim posiadam diva do którego z bazy wyrzuca mi rekordy z komentarzy. Jednakże chciałbym aby po dodaniu rekordu od razu się wyświetlił bez odświeżania strony....
View ArticleNie Moze Znalesc Klasy Controller
Witam, Na moim komputerze blog ktory pisze dziala dobrze, jednak problem pojawia sie kiedy daje go na serwer http://mrgh0st.iscool.pl/. Fatal error: Class 'Controller' not found in...
View ArticleHelp With The Searching
I have 3 tables like this: User: id Skill: id UserSkill: id, user_id, skill_id So UserSkill table links User and Skill table together with the relationship: User can has many Skills. It means User has...
View Article