Hi Syed,
Am a little lost now to break up the script '<img style="border: 0px
solid ; width: 750px;
height: 164px;" src="images/myimage.jpg" alt="My Logo"/>' into the two files.
Using my example, please show me the lines I should have in the
header.tt and '/conf/templates/default/main.tt'
Currently my '/conf/templates/default/main.tt' is empty.
Allan.
Syed Haider wrote:
Hi Allan
On Tue, 2007-08-21 at 11:49 +0200, allank wrote:
Hi,
Am looking for a way to have an image displayed in the "YOUR SITE HEADER
HERE" section.
I have edited "./conf/templates/default/header.ttc"
thats not the right place, you need to modify 'header.tt' instead. what
ever HTML code you leave in there, it gets displayed. You need to drop
your images in htdocs/martview/images, and then set the 'src' of HTML to
the image just as done in
'/conf/templates/default/main.tt'
hope this helps.
and replaced the initialization of $output variable with the text below.
" $output .= "<br/><img style=\"border: 0px solid ; width: 750px;
height: 164px;\" src=\"images/myimage.jpg\" alt=\"My Logo\"/><br/>\n";
"
I have tried placing the image in the following locations
a)htdocs/myimage.jpg
b)htdocs/biomart/mview/images/myimage.jpg
c)htdocs/martview/images/myimage.jpg
And even set the permissions of the three files to '777'.
The header displays but only displays the text alternative in place of
displaying the image.
Allan.