Forum under a Header?

Started by graham, December 06, 2004, 07:36:41 AM

Previous topic - Next topic

graham

Hello

Apologies in advance for what is no doubt a very newbie question but after searching these forums I have found things that are close but i'm still stuck.

I have got my theme all sorted - (based on chatbubbles by space ant) and now I simply want to put a logo and banner bar at the top with the forum running below, so in other words pretty much like this SMF community forum - like this:

-----------------------------
             header
-----------------------------
               

             forum



-----------------------------

My header bar may change from time to time and I don't really feel confident to go into the existing theme templates as I'm still at a loss to know what needs changing and how (I'm intermediate html / dreamweaver and know very little php) so I thought if I could simply make up an html page with my header in a table at the top and the forum in a table below that should be easy enough for me to do.

I'm confused by actually what code I should put in my lower table (where the forum should be) and whether the resultant page should be index.html and in the same directory as the smf index.php

Any help gratefully received and appreciated.

Many thanks

Superboy

You could use frames, having one for the top and one for the forum. Although frames are somewhat unliked around the 'net. You could also modify the bit in the index.template.php (I think it called that) that says somthing like // The forum header and logo you should be able to change it to anthing you wish

I hope that helps

--Elijah
Windows (n): 32 bit extension and a graphical shell for a 16 bit patch to an 8 bit operating system originally coded for a 4 bit microprocessor, written by a 2 bit company that can't stand 1 bit of competition.

Peter Duggan

Quote from: Superboy on December 06, 2004, 04:11:11 PM
You could use frames

I'd strongly recommend you don't use frames for that because it's totally unnecessary and will cause problems. So please just design your header and ask how to incorporate it when you're ready if you're still not sure.

sirdavid23

I have already designed mine, and I{m still trying to figure out where to place it. I want to replace the default YABBse theme (mainly the logo) and place my own there.

Also. I can see that most of the .php stuff in themes are to configure each render page, right?

If so, how do I modify the stuff in the main page? index.php (inside subfolder /forums) has nohing to manipulate. I also wish to make the HEADER / FORUM stuff arragement as it{s posted in the begging of these messages.

Could someone explain a little how to get off the stats, and the news, please?


Trekkie101

[Unknown] are the links you use all wiki links by any chance or do you remember the topic link?

Test:
What is repair_settings?

[Unknown]

Quote from: Trekkie101 on December 07, 2004, 07:08:14 AM
[Unknown] are the links you use all wiki links by any chance or do you remember the topic link?

Test:
What is repair_settings?

I haven't a memory of steal, I use my wiki links mod extensively here (but that does mean remembering the topic names... still, much easier than all the numbers.)

-[Unknown]

Trekkie101

I tried the repair settings one, i take it i cant use Wiki Links becuase of my membergroup (member -lol) ashame coz they are cool.

[Unknown]

Quote from: Trekkie101 on December 07, 2004, 10:18:02 AM
I tried the repair settings one, i take it i cant use Wiki Links becuase of my membergroup (member -lol) ashame coz they are cool.

You didn't use:

[[topic:

And:

]]

Around the subject.

-[Unknown]

Trekkie101

#9
[[topic:What is repair_settings?]] - TESTING  :P
[[What is repair_settings?]]  - Test 2  :P
Integrating the forum into your site... - Test 3  :P


graham

thanks for everyone's help although I have to say having checked the tutorial and a few of the other suggestions here it was still greek to me.

after some experimenting I pretty much got the result I want by adding the following to the index.template.php file:

// This part is the logo and forum name.  You should be able to change this to whatever you want...
echo '
<img src="', $settings['images_url'], '/smflogo.gif" width="250" style="float: right;" alt="" />
<br />
<span style="font-family: Arial, sans-serif; font-size: xx-large;">', $context['forum_name'], '</span>';


which I placed immediately before the line that goes:

// The logo and the three info boxes

This at least gets me going but I'm going to persevere to see if I can get to where I want to be


Advertisement: