hey all
having a strange thing happen to me
I’m trying to call renderPArtial form within a view t orun some AJAX… .but for some reason it throws the content of the renderPartial at the very top of my page. above the header!
am I missing something? here’s the view that is causing the issue
<?php
$event_date = event::model()->geteventday($_REQUEST['day']);
$this->breadcrumbs=array(
Yii::t('general','Event') =>array('event/event'),
$event_date,
);
?>
<h1><?php //echo Yii::t('general', 'Calendar of events') ?></h1>
<p><?php //eventController::showIndex(); ?></p>
<div id="data">
<?php $this->renderPartial('_ajaxContent', array('myfiles'=>$myfiles)); ?>
</div>
<div class="para"><?php echo CHtml::Link(Yii::t('general','See all documents'),array('event/documents')); ?></div>