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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,231
  • Total Topics: 21,353
  • Online today: 606
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 228
  • Total: 229
  • @rjen

Add a simple html page with link at top menu.

Started by Preston4321, October 09, 2008, 03:29:37 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Preston4321

My question is how would I make a simple HTML page and add a link to it at the top menu.

http://www.faintlink.com/forum/

They have one. It is the button at the top called donate. It goes to a page called Donate.php

IchBin

That depends on what kind of page you'd like to do. You can link to any page you want in the menu. But if you want to use an article, or a separate page, you just link to that page or article. It also depends on what theme you want it done it. Generally, you ask the theme author to help you with their menu in the theme. We have a general guide on how to add a button.
How to add a Home button or a new tab?

Preston4321

Well no I couldn't figure it out. I borked the hole site and had to reinstall it.

How am I supposed to do it?

IchBin

Perhaps you should tell us the link you want.

Lesmond

It also might help if you tell us what theme you are using, and a link to your site too, you can PM it to me if you wish to keep it private!

Preston4321

Well its www.rrp-group.com
and I'm using overview_tp10

I want to add a link at the top called donate and I want it to open a page like all the others with the donation information. Keeping all the blocks and stuff.

IchBin

And do you have that donation.php page built? Whether it be in a donation.php or in an article, you need to provide that information so we can show you what the link would look like.

Preston4321

Well I have donate.php on the server as:
http://rrp-group.com/donate.php
But I don't know how I'm supposed to implant all the other things or if it just puts it all in there.

IchBin

Then link it to an article. In a php article add this code. You may need to add the path to the php file if its not in your SMF directory.

include('donate.php');

In your button code, point the link to the article that you just created that includes your donate page.

<a href="',$scripturl,'?page=article_number_goes_here">Donate</a>

Replace article_number_goes_here with the actual number of the article (or query title if you use it in the article).

Preston4321


This website is proudly hosted on Crocweb Cloud Website Hosting.