Topic: What should be in my events.php file?
Hi
I am confused as to how my php file should look. My page.php currently contains this:
<?php
/***************** DO NOT EDIT THIS FILE *************************
******************************************************************
INFORMATION:
------------
This is a core theme file, you should not need to edit
this file directly. Code changes maybe lost during updates.
LAST UPDATED: June 26th 2011
EDITED BY: MARK FAIL
------------------------------------------------------------------
******************************************************************/
global $PPT,$ThemeDesign, $PPTDesign, $user_ID, $userdata; get_currentuserinfo();
/* ================ LOAD TEMPLATE FILE =========================== */
if(file_exists(str_replace("functions/","",THEME_PATH)."/themes/".get_option('theme')."/_page.php")){
include(str_replace("functions/","",THEME_PATH)."/themes/".get_option('theme').'/_page.php');
}else{
include("template_".strtolower(PREMIUMPRESS_SYSTEM)."/_page.php");
}
?>
Where should I put the example code you have on your site?
Cheers