External pages

TerminalAddict

Active member
pre sales question:
can I create external pages?

as an exmaple, with MyBB I can do this:
PHP:
<?php

define("IN_MYBB", 1);
define("KILL_GLOBALS", 1);
require "global.php";

add_breadcrumb("testing", "testing.php");

$template = '<html>
<head>
<title>testing</title>
{$headerinclude}
</head>
<body>
{$header}
Put your content Here.
{$footer}
</body>
</html>';

// This replace is important!
$template = str_replace("\\'", "'", addslashes($template));

eval("\$page = \"".$template."\";");

output_page($page);
?>

thanks for your help.
 
Well i just finished fixing up everything with xenporta on my site .... for demo : click here It's all xenporta's work and i simply love it how it works and trust me i have been looking around and waiting for better options for main page but after few researches i choosed xenporta and it's worth it . Few modules are disabled and as per few people it's really easy to create your own module/block for xenporta . I haven't installed wiki yet but i am thinking to add it too :P
 
Back
Top Bottom