https://www.icyphoenix.com/viewtopic.php?f=4&t=8610&p=59188#p59188
-----------------------------------
Mighty Gorgon
Wed 28 Aug, 2013 11:07

Re: CUSTOMIZATION - Create A Custom Page In Icy Phoenix 2.0
-----------------------------------
Ok, I found the error.

I missed in the first version to add the PAGE_ID which is needed to display blocks and allows to use the AUTH system.

If you check again the first post, now the guide should work.

For your records, you need to add this to page top after inclusion of COMMON.PHP:

[codeblock]$cms_page['page_id'] = 'guildrules';[/codeblock]

After this small edit everything should work without further edits.

Here is the altered code of the file you posted:
[codeblock]<?php
/**
*
* @package Icy Phoenix
* @version $Id$
* @copyright (c) 2008 Icy Phoenix
* @license http://opensource.org/licenses/GPL-license.php GNU Public License
*
*/

define('IN_ICYPHOENIX', true);
if (!defined('IP_ROOT_PATH')) define('IP_ROOT_PATH', './');
if (!defined('PHP_EXT')) define('PHP_EXT', substr(strrchr(__FILE__, '.'), 1));
include(IP_ROOT_PATH . 'common.' . PHP_EXT);

$cms_page['page_id'] = 'guildrules';

// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup();
// End session management

$mycontent = '<b>My Fantastic Page</b>';

$template->assign_vars(array(
	'MYCONTENT' => $mycontent
	)
);

full_page_generation('guildrules.tpl', $lang['MYCONTENT'], '', '');

?>[/codeblock]


