Message Text |
I created a custom page in templates/default/custom/tools.tpl. If I want to display that page, I create a new page in the home directory of WSN Links and place this code in it
<?php
$custom = 'yes';
require ('custom/tools');
require 'index.php';
?>
The thing is, I want to place each of these tools I am making inside a folder called tools. I'm having trouble getting the code to work inside the tools folder.
I tried
<?php
$custom = 'yes';
require ('custom/tools');
require '../index.php';
?>
but it didn't work. Any ideas?
|