this is my code for default.ctp at the bottom there is banner that i want to
show in my new controller that i made recently but it wont show up it show
in every other controller that i have but not this i'm confuesd can some one
help me with this thank you
is there something i need to put in my controller or i dont know it should
work though cuz $content_for _layout dose it for every view if i'm not
worng.
<div id="middle">
<?php echo $this->element('flash'); ?>
<?php echo $content_for_layout;?>
</div>
<div id="shadow_bottom" class="shadow_x"></div>
</div>
<?php echo $this->element('banners/site_banners');?>
</div>
<?php
echo $debug;
echo $javascript->link();
?>
<?php echo $cakeDebug?>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ?
"https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost +
"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-5701076-1");
pageTracker._trackPageview();
</script>
</body>
--
View this message in context:
http://n2.nabble.com/help-with-default.ctp-tp2486311p2486311.html
Sent from the CakePHP mailing list archive at Nabble.com.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---