1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-09 08:06:38 +02:00

Iniital

CaMer0n
2013-04-12 12:04:52 -07:00
parent e9fda3a6b7
commit 5c0770b3cb

@@ -0,0 +1,15 @@
When a plugin is more than you need and you wish to simply convert an existing PHP script for use with e107. Creating a custom-script manually may be the better option.
Below is a simple example of a 'Hello World' - the file created in the root directory of e107.
<?php
require_once("class2.php"); // Load e107
require_once(HEADERF); // Load and output the theme's HTML for the $HEADER.
$ns = e107::getRender(); // Load rendering object.
$ns->tablerender("My Caption", "Hello World"); // Render Caption and Text according to Theme style.
require_once(FOOTERF); // Load and output the theme's HTML for the $FOOTER.
exit;
?>