By rootbalans on
I'd like add following codes in mission statement;
<?php
if (@include('/home/11529/domains/mysite.com/html/reklam/phpadsnew.inc.php')) {
if (!isset($phpAds_context)) $phpAds_context = array();
$phpAds_raw = view_raw ('zone:1', 0, '', '', '0', $phpAds_context);
echo $phpAds_raw['html'];
}
?>
How can I do it?
Comments
I have been able to replace
I have been able to replace the Mission statement with an image before, and it involved playing around with page.tpl.php ... in the site theme.
The code below is from the Garland theme of Drupal 5
The place occupied by the image tag/path had the variable $mission producing the mission statement.
I suppose whatever you do will involve replacing or doing something around "$mission" .
I suppose other themes use the same variable $mission.
....
I have been able to add a
I have been able to add a banner in Drupal 5.x in the site information mission statement using:
<img src="http://mywebsite.com/drupal5/files/images/banner1.jpg" width="468" height="60" align="center">but am unable to get it to "center". I've tried everything.
Any help would be appreciated. Thanks...
In Drupal 5.2 have been able
In Drupal 5.2 have been able to replace mission statement with banner (the mission1.gif in the statement) by adding the following in the page.tpl.php file stored in the themes directory (garland being the theme in this example)
if ($mission): print '<div id="mission">'. '<img src="/drupal5/themes/garland2/mission1.gif" width="500" height="32" align="center">' .'</div>'; endif;using Lionheart8's post above