Page 1 of 1

How To....? Dummy question from a newbie

Posted: Mon Jun 11, 2012 8:59 am
by quax
Hi, may I ask a question about how I could add an Logo picture in the header.php file
<?php $htmlUserBar=htmlUserBar(); ?>
<!doctype html public "-//W3C//DTD html 4.0 //en">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>licenses | <?php echo $x->TableTitle; ?></title>
<script src="resources/lightbox/js/prototype.js"></script>
<script src="resources/lightbox/js/scriptaculous.js?load=effects,builder,dragdrop,controls"></script>
<script src="resources/lightbox/js/lightbox.js"></script>
<script src="common.js.php"></script>
<link rel="stylesheet" type="text/css" href="resources/lightbox/css/lightbox.css" media="screen">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<!-- Add header template below here .. -->

<?php echo $htmlUserBar; ?>
<!-- process notifications -->
<?php echo showNotifications(); ?>
What kind of pic file I could use like: jpg, png, gif or whatsoever? and what I will be need to key in etc.?

I've haven't any knowledge about PHP, so could someone please explain and help me?

Thanks a lot.

Re: How To....? Dummy question from a newbie

Posted: Mon Jun 11, 2012 9:06 am
by Celauran
Essentially, you just need to add in an img tag. There's no real HTML being shown in the code you posted. You'll need to post the code for htmlUserBar() and showNotifications() if you need a more detailed/specific answer.

Re: How To....? Dummy question from a newbie

Posted: Mon Jun 11, 2012 9:32 am
by quax
Thanks for that.

As I told, I don't know anything about php.

As I read in that file, it says: <!-- Add header template below here .. --> What that is really meaning and how to do? Could you give me some example please? And what kind of pic format I could use?

Thanks for your help.