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
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? (http://docs.tinyportal.co.uk/index.php?topic=30)
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?
Perhaps you should tell us the link you want.
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!
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.
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.
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.
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).
Ok thank you sir I'll try that now :)
Well I got the button on there. But the article doesn't work.
Heres the code. I just copied it from the .php file b/c it was html and made it an html article.
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>
<body>
<div align="center">
<p>Donation Information:<br />
You can donate for cash on the (RRP) server.<br />
<br />
The following are the prices: <br />
$1 USD - $5,000 on Server<br />
$2 USD - $10,000 on Server<br />
$5 USD - $20,000 on Server <br />
$6 USD - $40,000 on Server<br />
$10 USD - $80,000 on Server<br />
$20 USD - $250,000 on Server <br />
<br />
<br />
Other Packages:<br />
$7 USD - $2,500 on server and Tool Gun<br />
$8 USD - $60,000 on server and Tool Gun.<br />
$13 USD - $50,000 on server, Trusted Mayor (skip vote for mayor), and Tool Gun. </p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHkAYJKoZIhvcNAQcEoIIHgTCCB30CAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYCeV2JOSgwSY951B4AjAMCGxlpgfE2xHQq8xBOyFUWRhDDDpkTMo54uWJN2mV99CtJQ2liZY06SQAl043WMomSOos0Mkgs2xl4DJ8eJXq5AXPDfWd+4oZx3J8gAMjinwNm4/H5Muj9uegLgKYwNK4ff+82Lb1u3XE3jw6MNGazO9jELMAkGBSsOAwIaBQAwggEMBgkqhkiG9w0BBwEwFAYIKoZIhvcNAwcECHFar6IsCMyCgIHoSXUGZ832/Pyzg5S7/OtbJZRbDjs2rBiFS8IMPiJXZyfWy3KUuZK/sd1RgjrYgWZTOYyIlNRHI56ixRKI9a8vkPIDtUy1XX/ZbjaGrW9QlFzx+C5bny4jYS+egiJr2EPUINMZLFQDR4TJNgpiDekkn/zCtXEdvpbd7Rzr5FcwK3BeqjXt4vqfZ7KKXrLqIq1H/TQ6gBtWQOKD16gk5fDcS7Imrmt284J6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ggEAMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADgYEAgV86VpqAWuXvX6Oro4qJ1tYVIT5DgWpE692Ag422H7yRIr/9j/iKG4Thia/Oflx4TdL+IFJBAyPK9v6zZNZtBgPBynXb048hsP16l2vi0k5Q2JKiPDsEfBhGI+HnxLXEaUWAcVfCsQFvd2A1sxRr67ip5y2wwBelUecP3AjJ+YcxggGaMIIBlgIBATCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwCQYFKw4DAhoFAKBdMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTA4MDkyMTEyMTA0OFowIwYJKoZIhvcNAQkEMRYEFDTO9MF+GP++j2nZQQQqRn8ktXTpMA0GCSqGSIb3DQEBAQUABIGAF6qAvFEtCBd0vCt4Hh/wVhw8vWEXPm2qPWCcADBvlfUrFp9/HLMmGoObr1uVXAyORgOI5FwMrfmXcUfpDL4ILu/XviC5UHtAlEEMPxJGawBL2pEe4K/yvWj2AkxU7m+oEvsiA9hNroST/FjilCAcQVBOynI+xAn7PgbSit85AYs=-----END PKCS7-----
">
</form>
</div>
</body>
</html>
Thats not PHP code at all. Thats all HTML. Change the article type to html.
I did. And it doesn't show anything when I preview it.
*EDIT*
Ok I figured it out. Thank you SOOO much for the help. I just started using SMF and TP and I'm loving it.
Well I think I can handle it from here. Thanks again sir's.
:up:
$ichFoo++; ;)