Getscriptfile() Without The File?
Hello everyone, Basically I just need to get the directory without the name at end of file. Right now, the getScriptFile(); gives me: /home/user1/public_html/website/index.php However, I just want:....
View ArticleWeird Behaviour Of Postonly Filter
Hi guys, postOnly filter is only working under the original theme of yii. With other themes under the same circunstances and pages this does not work. For example the delete button under the admin page...
View ArticleAuth Extension
Hello I've just installed the Bootstap extension and the Auth extension by Chris83 Getting this error when I try to access <my web root>/auth/Assignment/ : Property "User.name" is not defined...
View ArticleAyuda Con Duda Existencial Sobre DiseƱo Web.
Hola a todos, me llama la atención que todos los frameworks CSS, incluido el que viene con Yii, estÔn basados en tamaños absolutos, es decir, tienen una anchura fija en px y no en %. Para que me...
View ArticleUnable To Update The Model
Hi Expert friends, Im using the relational database with relations in my model. when i'm trying to update my_Model(by uploading new image i.e, by deleting old image) i'm getting the following error....
View ArticleJacmoe.dk
I've been running my own home-made blog powered by Yii for a while now, but haven't had a reason to show if off, until now. I am still working on the new theme, but check it out: jacmoe.dk It is using...
View Articlegetting data from data base table to an array?
can any one help in getting data from a database table into an array
View ArticleYii And Service Oriented Architecture
Hi, I am evaluating the an architecture for a web application. The app is dealing with invoice, payment, approval, and integrating to Quickbooks. Is this a good idea to use Service Oriented...
View ArticleActive Record Using Temporary Table
Hi I create a mysql temporary table for reporting purpose, I use active record and gridview for showing and searching in this temp table. at first I couldn't filter gridview results Although the table...
View ArticleCreating Yii Sites With Yii
Hello, Yii newbie here. I would like to use a yii site to create yii code for other sites - so my application would be used to generate standalone yii sites - ie yii sites that don't have anything to...
View ArticleExtension Mailbox
Error in Chrome while deleting an message Hi I am facing a problem in chrome. While i am going to delete any item after selecting and deleting its not deleting. not even read and unread. In console its...
View ArticleCwebuser::checkaccess() Issue When Used With Bizrule
Hello guys, I am new to the forum and new to Yii as well. I am having some issues when using the CWebUser::checkAccess() method with the $bizRule parameter and hopefully someone could lend a helping...
View ArticleWeb Application To Read.
Hi everyone, I am learning Yii for about one year and I have done some toy web application to training. I have been several days looking for through Github some important web application developed in...
View ArticleReturn True/false From Cfilter And Get That Value In Another Filter
Hey Guys, I've set up an rest API that is super predictable. /x /x/y /x/y/z /x/y/z/& X can be any controller, Y any ID, Z any action, and & any $id2 Because of this predictable nature, and my...
View ArticleAuth Extension
Hi, attached is the output of the error I have after installing the extension "auth" developed by Chris83. I specified the parameters for the configuration in the module definition array - I am not...
View Article[Extension] Yii-Forum
THis is the support thread of Yii-forum, an easy to install, mostly self-contained forum module. Extension page
View ArticleThrow Errorexception From Custom Error Handler & Catch In Action
To accomplish custom error handling, we're trying to come up with an approach allowing us to throw a PHP ErrorException when some errors (warnings & notices) are raised. I believe the reason I'm...
View ArticleRelations Index From Another Table
I have designed my database so that I have tables: driver -id driver_negotiation -id -driver_id -base_negotiation_id base_negotiation -id -team_id -cost -lenght team -id I have this base negotiation,...
View ArticleOverriding Get Method
Hi all, I know this is the first of january but i'm trying to finish something. It's quite simple (or have to be ><) : I want to everride a getter method. I've got an object with a field and I...
View Article