Quote:
Originally Posted by Per1213
hey, okay so basically i copied and pated test.php to my publictml directory. I am now at a loss as to what to do from there. I dont mod VB alot all i wish is to have a page with a few links and a few bits of text. What do i do, i know i edit the bits labled test but i dont know what to edit them too. Please help guys!
|
You need two things for a basic page:
1. a php file calling a template
2. a template with the content for the page
Since you already have the file, you now need to create a template.
Look in your test.php and find a line that looks like this:
eval('print_output("' . fetch_template('TEST') . '");');
The bit that says TEST is the name of the template that is called when a person navigates to
www.yourforum.com/test.php This name can be anything you choose.
So create a template called TEST by going to Styles & Templates -> Your style -> Add Template. Call it TEST, and put the example code provided in the first post of this article.
Edit the basic html to show the article links you want to show.
www.yourdomain.com/test.php should now show whatever you put in the template called TEST.
The last part of the tutorial is just so that when people are looking at the test.php page they show up on online.php list as 'Viewing article links' (or whatever you choose to say) instead of 'Unknown Location'.
Hope that makes more sense to you.