<?php
/* Supply the path to WSN and the name of your template on the lines as requested */
$pathtowsn = '/full/file/path/'; // as listed on your settings->general configuation page but without the 'attachments/' part
$yourtemplatename = 'mytemplate.tpl'; // the template, located in the 'custom' subdirectory of your templates directory, that you want to display
$usewrapper = 'yes'; // set to 'no' if you don't want to show the WSN wrapper
$curr_path = getcwd();
chdir($pathtowsn);
require 'start.php';
if (!$template) $template = new template('custom/'. $yourtemplatename);
require 'end.php';
chdir($curr_path);
?>
withrequire 'start.php';
if (!$template) $template = new template('custom/'. $yourtemplatename);
require 'end.php';
$_GET['custom'] = 'yes';
$_GET['TID'] = 'yourtemplatename';
require 'index.php';
Rating:
Submitted: 11/01/04 (Edited 07/21/08)
Description: Showing your content outside of the WSN directory.
Views:
1818 views. Averaging 1 per day.
In the most recent 30 day period, there've been 0 views.