Dropdownlist Select From Parent
i have 3 levels of dropdownlist i have to select first the behavior type [negative, positive) based on the type, i have to select the behavior group and finally the behavior i am beginner in yii and...
View ArticleOpen Then Save A Document
i have a model Student(id, name, file) in order to save the file for the student, i have first to open a file template which is a document file, write the student information by hand and then save the...
View ArticleRbac权限控制的问题
RBAC怎么没有用户组的概念,最近安装了个rights的插件,里面有角色,权限和用户授权的概念,还有个任务组的概念,怎么就没有用户组的概念了。 我现在的需求是有用户,用户组,用户权限,用户角色。用户组可以被赋予角色和权限,如果用户属于这个组就会有改组的所有权限。 用户组是一个树结构。 以前ACL的权限控制是哟这个概念的,现在RBAC怎么没有了?
View ArticlePagination And Insert
Facing with glitch of pagination Let us imagine that we have configured view model and controller of news. We havent pagination list (1,2,3,4,>,< etc) on page, but we have jquery callback at the...
View ArticleDClassifieds Version 2.0 beta (free open source classifieds script)
Front End Demo : http://dclassifieds.eu/demo2/ Back End Demo : http://dclassifieds.eu/demo2/admin Download :...
View ArticleSolution When The Dropdownlist Is Too Long?
I have 2 tables Skill and Job. When create Job, I need choose Skill for this job. The problems is Skill have very long list, more than 40, that makes my dropdownlist looks not interesting. Any ideas to...
View ArticleDrop Down Sub-Menu For The Menu?
Hi all, i would like to add sub-menu as dropdownlist in the right menu of colum2 layout but don't know how to do it. $this->menu=array( array('label'=>'List User', 'url'=>array('index')),...
View ArticleComo En Una Vista Usar Varias Acciones Yii
hola, quisiera que una sola vista usara varias acciones. un ing ingeniero hiso un codigo que unio todas las acciones (update,create etc) en una sola accion y llamo a una vista mandandolo los modelos....
View ArticleAuto Logout When Session Time Out?
just simple question: How to set Auto logout when session time out in Yii? Im trying to do the authorization.
View ArticleUsing Unset($Model->Var) Calls Getter Function?
Hi, I'm a bit confused right now. i have the following code snippet: (the exits are for my debugging right now.) $appId = 3; if (isset($this->randomMedia)) unset($this->randomMedia); //unset for...
View ArticleIs It Possible To Force Cgridview To Load Data Via Ajax Only?
Is there a way to make a CGridView not load data on the initial rendering of the view it lives on, and instead make it load the first data page with a subsequent AJAX request after the initial page...
View ArticleStopping Form Field From Clear On Focus
When I create a CActiveForm (for User model), when going to user/update the form textfields are cleared when I focus on them. Can I stop this from happening with a setting somehow? I really do not like...
View ArticleSearch Menu
Hi All, How can I create a general search page with some menu above. A page similar to the auth module extension by Chris, whereby a user basically click on the menu tab and the content changes but not...
View ArticleYii And Facebook Login Integration
Hello and thanks for reading , i am making a new web app and i was wondering if someone has tips , links, suggestions, tutorials on how i can set up the login to my web app with facebook or google?
View ArticleLooking For Yii Developer
Type: Full Time Min. Experience: Experienced Type: Full Time Postion (Strictly No Freelancing/Part-Time) Min. Experience: Experienced Location: Your place Green Nebula is looking to hire a senior...
View ArticleВыложить Собственное Расширение
Всем привет! Подскажите пожалуйста, сколько нужно иметь постов на форуме, чтобы открылась возможность добавлять свое расширение в yiiframework.com/extensions/ ?
View ArticleИспользование $This В Расширении Из View
Есть класс, который я попытался установить в виде расширения. Класс примерно такой: class MyClass extends CWidget { private $test = 0; function __construct() { $this->test = '123'; }...
View ArticlePrzycisk Submit [Przekierowanie Na Akcje]
Witam, mam pewien problem, potrzebuje przycisku "submit" który po wciśnięciu w widoku, przekieruje mnie na daną akcję którą chcę. Problem jest w tym że nie chcę przycisku "Yii" typu "CHtml::Button"...
View ArticleSubmit Button Redirect To Some Action
Hello!, i have some problem, i need button "submit" , when i click this button inside some view, this redirect me to some ation . Problem is there, when i doesn't want button "yii" type "Chtml::Button"...
View ArticleZurmo - Open Source CRM
Hello, We have been working on an Open Source CRM application that is written in PHP utilizing Yii, JQuery, and RedBeanPHP and relies heavily on test driven development. It might be one of the most...
View Article