TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

April 18, 2024, 04:58:08 PM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,164
  • Total Topics: 21,219
  • Online today: 203
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 194
  • Total: 194

Adding an upper menu from my homepage

Started by andimac, November 01, 2007, 05:03:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

andimac

Hi everyone,

I am very new to TP so be gentle :)

What I'm trying to do is add a top menu from my web site to the forum/tp that will serve as a community/forum.

The header is already made up in .html and ready to go. How and where do I add this? I've tried several things so far from adding the entire table to the index.template.php in the main_above section and everytime it breaks the forum.

Any help is greatly appreciated.

Andi

falguni1

do u want to add a button to ur website or ur forum

or

do u want to put a button on ur site which links to the forum

lebisol

You are looking at the right place, the question is what is in your custom header.html code and which template you are using...you need to share that before getting specific code help, you can not just copy/paste all of it as each theme is different.
All the best!

andimac

Oh yes of course that makes perfect sense.

I am using a theme that isn't from here - but am considering changing that :)

Here's the location of the new tp/forum: http://zone.mayancalendarcode.com/zforum/index.php

I want this to operate as a web 2.0 type of community.

The header I want to include at the very top is the site menu - above the menu for the forum/tp community.

Here's what the menu looks like: http://www.mayan-calendar-code.com

This is a full on roll-over menu with script in the </.head> as well.

There are only 4 actual files for the theme template so I would assume everything else is coming off the the default template files.

What would I need to paste in this window for everything to be more clear?

Thank you kindly for your replies,
Andi


lebisol

Ah I see where ur going with this good old MM_ :)
I would hit up the designer and see if he/she doesn't mind editing this for you. I belive is some form of Overview theme. There is a thread right here that maybe good place to get in touch with designer.
I would hate to butcher someone elses work without their premission especially if you have paied theme...if it all checks out I can give you a hand. :)

andimac

Hi lebisol,

I will follow-up on this and get back to you on what happens with this theme.

I've been looking at the "Web2" theme from here at tinyportal - bloc's design and thinking that may work for what I want to do here. It's a beautiful theme and as far as I can tell will work nicely with my site's black overmenu from the main site.

I just today realized today there are people who make themes for Tiny Portal other than this site. (As I said I'm new to this!) and that different sites/forums have their themes so... I just realized today I'm asking for help here on someone else's theme. Not sure how all this works yet....

If anyone has some feedback on the workability of the Web2 I'd love to hear more about working with it.

For now I'll follow-up on the one I'm using.

Thanks again,
Andi

Zetan

Lesmond posted a snippet:

http://www.tinyportal.net/index.php?topic=12385.0

That pulls some .css from your theme and creates a nice menu. I use it on the front page of my site.
I'm sure it could be added to the index.template.php file.

lebisol

no worries man,
Here are few links for you:
http://www.tinyportal.net/index.php?topic=19035.0

then if not check out this whole section here:
http://www.tinyportal.net/index.php?action=forum#4
and there is also:
http://www.tinyportalmedia.com/main/index.php

Spend some time browsing arround, you will find something you like.
All kinds of 'eye candy' out there :)
Nice link Zetan!

andimac

Copious amounts of gratitude to everyone here for replies. This is such a good thing to know how to do, it's worth talking about it! :)

I did find a workaround to get the menu looking the way I want it. There's a few things to add yet to the top but here it is:



In the index.templates.php page I inserted this just under the body tag

</head>
<body>';
include('header.php');
echo '
<div id="container">




Works like a charm to get the effect I want. I'm still working on the upper menu though - that needs a few changes to make it really help the user.

- Andi