Wiki articles tagged with "AJAX"

Showing 1-20 of 55 items.

Background task with Ajax

Created 9 years ago by Alexandre Rodichevski Alexandre Rodichevski, updated 9 years ago by Alexandre Rodichevski Alexandre Rodichevski.

This article discusses how one can run a long task in background in yiiframework 1.1 using Ajax technique.

0 0
1 follower
Viewed: 28 726 times
Version: 1.1
Category: Tutorials

How to Display tooltp(qtip) on CGridview dynamic

Created 12 years ago by Ankit Modi Ankit Modi, updated 12 years ago by softark softark.

Hi Friends,

0 0
4 followers
Viewed: 18 365 times
Version: Unknown (update)
Category: Tips

How to display page on fancybox...using CHtml::ajaxlink with yii validation

Created 12 years ago by Ankit Modi Ankit Modi, updated 11 years ago by Rohit Suthar Rohit Suthar.

1) include the fancybox extesion otherwise fancybox js

0 0
4 followers
Viewed: 21 528 times
Version: 1.1
Category: Tutorials

How to display images in CJuiAutoComplete without extenstions

Created 11 years ago by Asmaa Asmaa, updated 6 years ago by samdark samdark.

I wanted to customize the CJuiAutoComplete, so that it displays a thumb image before the label like the one shown in the following image:

0 0
2 followers
Viewed: 15 017 times
Version: 1.1
Category: Tutorials

How to show Image view after upload and delete view image using eajaxupload extension

Created 11 years ago by Ankit Modi Ankit Modi, updated 6 years ago by samdark samdark.

Hi Friends, In this tutorial you can use the eajaxupload-extension ,

0 1
3 followers
Viewed: 62 916 times
Version: 1.1
Category: How-tos

Overcoming removal of client helpers (e.g. ajaxLink) and ClientScript in Yii 2.0

Created 11 years ago by Kartik V Kartik V, updated 11 years ago by Kartik V Kartik V.

Alternatively, inline assets (JS/CSS) can be registered at runtime from within the View. For example you can clearly simulate the ajaxLink feature using a inline javascript. Its however recommended if you can merge where possible, client code (JS/CSS) into separate JS/CSS files and loaded through the AssetBundle. Note there is no more need of a CClientScript anymore:

1 2
41 followers
Viewed: 46 765 times
Version: 2.0
Category: FAQs

How to add a DropDown Language Picker (i18n) to the Menu

Created 2 years ago by JQL JQL, updated a year ago by JQL JQL.

Yii comes with internationalisation (i18n) "out of the box". There are instructions in the manual as to how to configure Yii to use i18n, but little information all in one place on how to fully integrate it into the bootstrap menu. This document attempts to remedy that.

1 0
1 follower
Viewed: 94 049 times
Version: 2.0
Category: How-tos

CGridView and AjaxForm Connect

Created 14 years ago by PinkBrainPlan PinkBrainPlan, updated 14 years ago by PinkBrainPlan PinkBrainPlan.

<?php $this->widget('zii.widgets.grid.CGridView', array(

'dataProvider' => $dataprovider,
'id'=>'recipient_table',
    'selectionChanged'=>'updateEditForm',
'columns' => array(
	'rec_id',
            'org.nachname',
            'org.vorname',
            'org_id',
            array(
                'class'=>'CButtonColumn',
                'template'=>'{...
1 0
10 followers
Viewed: 29 484 times
Version: 1.1
Category: How-tos

Update a part of content using AJAX when select a GridView row

Created 12 years ago by Kostas Apazidis (KonApaz) Kostas Apazidis (KonApaz), updated 11 years ago by CeBe CeBe.

Suppose you want to refresh a form or any content when a single row of CGridView is selected

1 0
9 followers
Viewed: 38 401 times
Version: 1.1
Category: How-tos

How to apply a layout to an AJAX update

Created 11 years ago by trond trond, updated 11 years ago by CeBe CeBe.
  1. The Main template holds the header, main navigation and footer
  2. One or more layout files holds the column setup, sub navigation etc.
  3. The view files hold the actual page content.
1 0
4 followers
Viewed: 18 942 times
Version: 1.1
Category: How-tos
Tags: AJAX, views

Upload image and content using AJAX and Store it in different table

Created 11 years ago by Selvakumar Kaliyappan Selvakumar Kaliyappan, updated 11 years ago by CeBe CeBe.

var formData = new FormData($("#post-form")[0]);
$.ajax({
    url: '<?php echo Yii::app()->createUrl("forumPost/uploadPost"); ?>',
    type: 'POST',
    data: formData,
    datatype:'json',
    // as...
1 0
5 followers
Viewed: 75 592 times
Version: 1.1
Category: How-tos

Open bootstrap modal and load content via Ajax

Created 11 years ago by JbalTero JbalTero, updated 11 years ago by JbalTero JbalTero.

My goal here is to Open bootstrap modal and load ANY content using ajax response.

1 0
2 followers
Viewed: 64 553 times
Version: 1.1
Category: How-tos

Update specific cgridview html row after AJAX request

Created 11 years ago by Kostas Apazidis (KonApaz) Kostas Apazidis (KonApaz), updated 11 years ago by Kostas Apazidis (KonApaz) Kostas Apazidis (KonApaz).

After of model update (successfull or not) throught CGridView (check the below link) you probably need to updates the specific row html in cgridview (not entire cgridview)

1 0
2 followers
Viewed: 25 697 times
Version: 1.1
Category: How-tos

Make an ajax request to another server using JSONP

Created 11 years ago by Kostas Apazidis (KonApaz) Kostas Apazidis (KonApaz), updated 11 years ago by Kostas Apazidis (KonApaz) Kostas Apazidis (KonApaz).

There are cases that you want to make an ajax request to another server and get the results.

1 0
2 followers
Viewed: 15 079 times
Version: 1.1
Category: Tips

Yii HMVC

Created 12 years ago by ezekielnoob ezekielnoob, updated 12 years ago by ezekielnoob ezekielnoob.

what i am going to introduce is a coding style that will result into a single page generated from different requests like in the example below this makes the specific request reusable instead of just an action being accessible to the controller in which the widgets are created

2 1
10 followers
Viewed: 33 930 times
Version: Unknown (update)
Category: How-tos

Ajax form submiting in Yii

Created 13 years ago by sirin k sirin k, updated 8 years ago by Maurizio Domba Cerin Maurizio Domba Cerin.

hi guys, Here I'm going to give you a working example of ajax form submiting in Yii.

4 3
23 followers
Viewed: 172 368 times
Version: 1.1
Category: Tutorials

Using CJuiDialog to edit rows in a CGridView

Created 14 years ago by Russell England Russell England, updated 14 years ago by Russell England Russell England.

I used Zaccarias excellent article as the base http://www.yiiframework.com/wiki/145/cjuidialog-for-create-new-model/

Solution

First follow the wiki above to create all the required code. Then make the following modifications in your...

3 1
11 followers
Viewed: 44 257 times
Version: 1.1
Category: Tips

Open Dialog from ajax content

Created 12 years ago by Touzas Touzas, updated 12 years ago by Touzas Touzas.

This is the code in the View.

<?php echo CHtml::link('MyDialog', Yii::app()->createUrl('site/page'), array('class' => 'openDlg divDialog')); ?>
<?php
$this->beginWidget('zii.widgets.jui.CJuiDialog', array('id'=>'divDialog',
	'options'=>array( 'title'=>Yii::t('Dialog Title', 'autoOpen'=>false, 'modal'=>true, 'width'=>600)));
?>
	<div class="divForForm"></div>
<?php
$this->endWidget(...
3 1
5 followers
Viewed: 25 613 times
Version: 1.1
Category: How-tos

Elementary introduction to using jQuery ajax and the yii framework

Created 13 years ago by dhimes dhimes, updated 13 years ago by François Gannaz François Gannaz.

In doing internet searches trying to learn how to incorporated ajax into web pages generated by the yii framework I noticed that there seems to be a lot of confusion. I worry that too-clever hacks will be broken in upgrades of the framework.

2 0
15 followers
Viewed: 57 552 times
Version: 1.1
Category: How-tos
Tags: AJAX

Take more control of CGridview and model searching (related model or another controller)

Created 11 years ago by Kostas Apazidis (KonApaz) Kostas Apazidis (KonApaz), updated 11 years ago by CeBe CeBe.

Suppose you have an Application in Yii that manages hotels each one has many customers.

2 0
6 followers
Viewed: 45 427 times
Version: 1.1
Category: How-tos