diff --git a/Creating-a-custom-script.md b/Creating-a-custom-script.md new file mode 100644 index 0000000..6531fe3 --- /dev/null +++ b/Creating-a-custom-script.md @@ -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. + + 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; + + ?>