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,970
  • Latest: bynw
Stats
  • Total Posts: 196,043
  • Total Topics: 21,335
  • Online today: 268
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 191
  • Total: 191

Custom Page (I know this has been asked but...)

Started by JayT, May 13, 2006, 02:22:34 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

JayT

#10
That gives the same errors as the article. It is obvious the script is what is screwing up.

http://www.legendsforums.com/index.php?action=ClanWebsites

gerrymo

Does your file in sources (ClanWebsites.php?) look the same as this?


<?php
if (!defined('SMF'))
die('Hacking attempt...');

function
ClanWebsites() {
// This is gonna be needed...
loadTemplate('ClanWebsites');
}
?>


You'll see that there are 2 changes to be made. Lines "Function" and "loadTemplate". I made this mistake, and got the same error you have. Be carefull with upper and lower case. I think this also can give erors.

JayT

#12
I got past that but it can't load the template. Attached is the template.

I got it. I had the wrong file name. "C" & "W" needed to be capitalized.

Thanks for your help!

This website is proudly hosted on Crocweb Cloud Website Hosting.