Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Aiheen aloitti: grankpeq - elokuu 18, 2011, 11:06:05 IP

Otsikko: How can I make my forum look like the rest of my site?
Kirjoitti: grankpeq - elokuu 18, 2011, 11:06:05 IP
So I have looked in different places and would like some specific help.

I downloaded the header footer mod and tried adding my header info in to it but it didn't work, not by far.

I also tried modifying the index.header.php file, with no luck. Can someone point me in the right direction or post on where to/how to include my header info into the forum to make it look like my main site.

Thanks!

Again I am using SMF 2.0
Otsikko: Re: Site Integration
Kirjoitti: Ricky. - elokuu 19, 2011, 03:05:04 AP
You are at right place ie. index.template.php , all you need is to understand a little bit. 
Or be more specific what you want to add in your header so that we can suggest you location.
Otsikko: Re: Site Integration
Kirjoitti: grankpeq - elokuu 19, 2011, 09:59:16 AP
Awesome, thanks for the reply!

My main site is http://www.jvgeek.com the header stops at the time and date, which is included as part of the header.

My code for MY header is as followed:


<div id="header">



<img src="http://www.jvgeek.com/images/jvgeeklogo1.PNG">



</div>



<center>

    <div id="topmenu">

      <ul>

        <li><a href="index.php">Home</a></li>

        <li><a href="http://www.jvgeek.com/pagen_en/contact.php" title="Contact">Contact Us</a></li>

        <li><a href="http://www.jvgeek.com/pagen_en/about.php" title="About Usr">About Us</a></li>

        <li><a href="http://www.jvgeek.com/pagen_en/forum/" title="Official Forums">Forums</a></li>

        <li><a href="http://www.jvgeek.com/pagen_en/support.php" title="Support">Support</a></li>

      </ul>

    </div>



<P>



<?php

$hourdiff 
"14"// hours diff btwn server and local time

$melbdate date("l, d F Y h:i a",time() + ($hourdiff 3600));

print (
"$melbdate");

?>










</center>


and my footer is:

<div id="topmenu">
</div>

<div id="topmenu">


Copyright Joe VanHorn @ JvGeek.com &copy; <a href="http://www.jvgeek.com">JVGeek.com</a>

</div>

<P>


and my index file is:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<title>JVGeek.com</title>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<link href="include/style.css" rel="stylesheet" type="text/css" />

<script type="text/javascript" src="include/droid_sans_400-droid_sans_700.font.js"></script>

</head>

<body>

<?php include 'include/header.php'?>

<P>




<P>

<?php include 'include/footer.php'?>


</body>

</html>


I only listed my index as a reference. But as you can see I want forum header to have my site header.

I am using SMF 2.0 and using the curve theme.

Really all I would like to do is take away the site URL JVGeek and the simplemachines forum logo at the top right, then it could all be centered below my header.

I hope this is possible, thanks!

My forum URL is jvgeek.com/pagen_en/forum/
Otsikko: Re: Site Integration
Kirjoitti: grankpeq - elokuu 20, 2011, 02:40:16 IP
Bumo for some help.
Otsikko: Re: Site Integration
Kirjoitti: Angelina Belle - syyskuu 16, 2011, 09:14:55 AP
I hope you won't mind that I have moved your question to the graphics and templates forum.  I bet someone will be able to help you further there. I have also changed the subject, to try to attract more attention.