Yii 2 Ajax Валидация Форм
Здравствуйте! Извиняюсь сразу что не написал в соответсвующий раздел, но он для меня закрыт, плюс я не совсем хорошо знаю английский. Собственно я решил попробовать Yii 2, и создать простое приложение...
View ArticleUpdate Portlet In Sidebar Using Ajax In Another View
I need to update portlet in sidebar using the CHtml ajaxsubmitbutton in another view. I am not sure if this was answered before now.
View ArticleDo Not Display Cbuttons On Specific Row In Cgridview
Howdy folks, This ones got me stumped, hope you can help! I have a grid view populated by a CArrayDataProvider. The view contains a primary row, and its sub rows. I want to display a button only one...
View ArticleClistview ajax pagination
Hi, I'm using CListView like the following example: <?php $dataProvider=new CActiveDataProvider('Routes'); $dataProvider->pagination->pageSize=1; $this->widget('zii.widgets.CListView',...
View ArticleStop Saving Model From Cactiverecordbehavior
Is it possible to stop saving a model from a CActiveRecordBehavior? for example <?php class RepeaterBehavior extends CActiveRecordBehavior { public function beforeSave($event) { if ($condition ==...
View ArticleДинамические Поля
Здравствуйте. Помогите с динамическим вводом. Есть статья, в ней поля, одной пары полей может быть сколько угодно много, добаил один раз пару значение описание, потом опять и т.д. Может есть раширение...
View Article[EXTENSION] CSaveRelationsBehavior
Welcome to the CSaveRelationsBehavior discussion topic. The CSaveRelationsBehavior enables ActiveRecord model to save HasMany and ManyMany relational active records along with the main model. This...
View ArticleDiscussion off the wiki article "Integrating Wordpress and Yii: still...
This forum post is setup to make discussing of the wiki article on integrating WordPress and Yii easier. Let's keep the discussion here and use the comments area of the wiki for edits / improvements to...
View ArticleWyświetlanie 'aktywne' Jeżeli Dane Z Mysql == 1
Witam, dopiero zaczynam przygodę z oop, mvc oraz yii stąd moje głupie pytanie gdzie i jak dodać warunek który sprawdzi mi wartość z mysql i porówna ją. tzn if($data->status == 1){ echo 'W toku' }...
View ArticleHow to make TripAdvisor's Ajax Search
Hi all, I was trying to figure out how to make this kind of search: http://www.tripadvis...S0,cat:-1,tb:S0 In left sidebar it has all attributes to apply, at the top more attributes to filter and...
View Article[Module] Yii User Management Module
This is the forum thread for the Yii User Management Module In order to use this Module, please be sure to use the latest development Snapshot of yii or at least yii-1.1.1 (to be released). It will not...
View ArticleWhere Not In Activerecord
hello, i want to update my table use to where not in. $data['users']= array(5,13,28); //user id list $groupMembersModel = new YumUsergroupMembers(); //activerecord model...
View ArticleYii Seo Friendly Url With Createurl Command
Hi everyone! I read some tutorials/examples about SEO friendly urls, but i didn't understand how it works in YII framework. I read some articels about createUrl and routings, but i don't know how i can...
View ArticleCustomize Delete In Curd
hi i changed create link on CURD Using CHtml like this $this->menu=array( array('label'=>'List Company', 'url'=>array('index')),); <?php echo CHtml::link('Create Company', array('create'));...
View ArticleYii Translation Not Working
For the life of me, I am unable to get Yii's translation working and I've followed the instructions in the documentation and forums very closely. Hope someone can enlighten me... I just want to setup a...
View ArticleCjuiautocomplete Not Working ! (Yii Framework 1.1.3)
Hi, I'm a newbie and for days now I tried to make CJuiAutocomplete work and I can't see what's wrong. I'm using yii framework 1.1.3 Here's my controller public function actionAutocomplete() {...
View ArticleCdbconnection - Check If Connection Is Successful
Hi all, I have to connect to second DB but in just one page. So I do it with local CDbConnection like this $connection=new CDbConnection($dsn,$username,$password); $connection->active=true; And it's...
View ArticleBest Way Of Creating Different Ends
Hi, I am creating an application which is going to have three types of users 1) Admin - will have access to all actions(admin, create, update, index, view, delete) of all controllers and will have...
View ArticleFilter Hook And Action Hook Like Wordpress In Yii
I am currently working on new project that would like users could write their own plugin and hook my core function like wordpress For example i have a gateways list that return an array in my...
View ArticleYii geinteresseerden/developers in Nederland
Hallo mede NL'ers.. wij (inSided, Social CRM startup) zoeken Yii devvers in Amsterdam: http://bit.ly/insided-backend Big data, nieuwe technieken (o.a. Amazon Web Services) en een leuk jong groeiend...
View Article