Topic: Help me Image appear only in Home page code

Iam a PHP programmer but I need to put a script on the site that uses Ruby on Rails. I know nothing about this language so I was hoping someone here could tell me what to do. Can we make it in ruby on Rails?   

<?php if($is_front): ?>
<img src="<?php print $base_path . $directory; ?>/images/slideshows/slide1.jpg" width="732" height="170" alt="slideshow 1"/>           
<?php endif; ?>


subhash
PC Support

Last edited by teche4pc (2011-04-14 06:28:03)