Icy Phoenix


Old Docs - CUSTOMIZATION - Create New Pages And Add Custom Vars. IP V1.2.027*



christmanrd [ Tue 18 Aug, 2009 17:37 ]
Post subject: Re: Create New Forum Pages And Add Custom Vars.
Which one of this do I use for Icy Phoenix: 1.3.0.53?

Thanks,

Dave


FedericoBiccheddu [ Tue 18 Aug, 2009 17:48 ]
Post subject: Re: Create New Forum Pages And Add Custom Vars.
Code: [Hide] [Select]
<?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);

// Start session management
$userdata = session_pagestart($user_ip);
init_userprefs($userdata);
// End session management

$template->set_filenames(array('body' => 'page_body.tpl'));

$template->assign_vars(array(
'KEY' => 'Value',
));

$page_title = 'Page Title';
$meta_description = '';
$meta_keywords = '';
include(IP_ROOT_PATH . 'includes/page_header.' . PHP_EXT);

$template->pparse('body');

include(IP_ROOT_PATH . 'includes/page_tail.' . PHP_EXT);




Lopalong [ Wed 19 Aug, 2009 00:35 ]
Post subject: Re: Create New Forum Pages And Add Custom Vars.
christmanrd wrote: [View Post]
Which one of this do I use for Icy Phoenix: 1.3.0.53?

Thanks,

Dave


I've updated the first post.


spydie [ Wed 19 Aug, 2009 00:44 ]
Post subject: Re: Create New Forum Pages And Add Custom Vars.
Thx Lopa.

You help the noop´s a lot with your Instructions.

Even the advanced listen to your Tip´s whenever they´re needed


Lopalong [ Wed 19 Aug, 2009 00:49 ]
Post subject: Re: Create New Forum Pages And Add Custom Vars.
Thanks Spydie,

I usually see little sense in answering a question with half an answer.

That's of course if it's NOT half a question.


novice programmer [ Wed 09 Sep, 2009 03:34 ]
Post subject: Re: CUSTOMIZATION - Create New Pages And Add Custom Vars. IP V1.2.027*
How-to updated on this thread

Moving to docs archive




Powered by Icy Phoenix