I currently have my business directory script setup in my root, I now have a community script (dolphin) setup in a subdirectory "community" the dolphin scrip has a great flash based menu. I am tring to add that same menu to my root pages via header code insert but am tring to determine the exact code to do this with.
this code works as long as in the "comminuty folder.
<?php
require_once( 'inc/header.inc.php' );
require_once( BX_DIRECTORY_PATH_INC . 'design.inc.php' );
$_page['name_index'] = 200; // this is the number of the html page linked with this php file; change it as you wish
$_page['css_name'] = 'my_page.css'; // this is the name of the CSS file linked with the above mentioned HTML file; change it as you wish
$_ni = $_page['name_index'];
$_page_cont[$_ni]['page_main_code'] = PageCompMainCode();
PageCode();
function PageCompMainCode()
{
// here you should put PHP code to get results if you wish to display something dynamic on this page; for example return $_COOKIE['memberID'];
}
what changes need to be made for this to work in the root directory?
Guess I nee to change paths correct?