https://www.icyphoenix.com/viewtopic.php?f=30&t=1528&p=11376#p11376 ----------------------------------- Zuker Thu 05 Apr, 2007 16:26 [OUTDATED] CUSTOMIZATION - How To Add New Pages To Icy Phoenix ----------------------------------- Here a sample php page using the phpbb functions: [code linenumbers=false]sql_query($sql)) ) //if the query fails it shows the error { message_die(GENERAL_ERROR, 'Could not query posts table', '', __LINE__, __FILE__, $sql); } //otherwise $result = $db->sql_query($sql); //YOUR SCRPT ($var = ... $var1 = ...) //this frees the used and useless resources $db->sql_freeresult($result); // // Generate page // $page_title = "Page Title"; include($phpbb_root_path . 'includes/page_header.'.$phpEx); //here we set the tpl file name where parsing the page $template->set_filenames(array( 'body' => 'new_page.tpl') ); $template->assign_vars(array( 'VAR' => $var, 'VAR1' => $var1 )); $template->pparse('body'); include($phpbb_root_path . 'includes/page_tail.'.$phpEx); ?>[/code] Then must create the tpl file (new_page.tpl in this case) [code]
{VAR}
[/code] And how can I show the Icy Phoenix Main Links menù? Using this in your template: [code linenumbers=false] [/code]