I am at a loss to explain what is happening here but I have a search box in my sidebar and on some pages the <form> tag just disappears. Not the code in between, just the lines which contain the <form> tag and the </form> tag. The code snippet is as follows:
<!-- sidebar -->
<div class="sidebar">
<!-- search site -->
<div class="gadget">
<?php if (!Yii::app()->user->isGuest) { ?>
<p class="infopost"><span>Welcome <?php echo Yii::app()->user->getState('firstName'); ?></span></p>
<?php } ?>
<div class="searchform">
<form id="formsearch" name="formsearch" method="get" action="http://www.google.com/search" target="_blank">
<input type="hidden" id="age" name="sitesearch" value="cashflowyourbusiness.com" />
<span>
<input name="q" class="editbox_search cleardefault" id="editbox_search" maxlength="80" value="Search our site:" type="text" />
</span>
<input name="button_search" src="<?php echo Yii::app()->theme->baseUrl; ?>/images/search.gif" class="button_search" type="image" />
</form>
</div>
<div class="clr"></div>
</div>
Anyone have any ideas at all???
Thanks,
Vangelis