Yep I was going to try and use zencarts native functions to get it formatted etc before it goes to the non-zen pages.
Having said that, I have thrown that in the too hard basket and am just going to pull the info straight from the database and format it, with the script that creates the "html include" something like
Code:
select * from ezpages where status_header = 1 order by header_sort_order
if ($alt_url != '') { //The section spits out a result if a URL is set for the page
if(substr($alt_url, 0, 4) == "http") {}
elseif(substr($alt_url, 0, 3) == "www") {$alt_url = 'http://'.$alt_url;}
else {$alt_url = '/'.$alt_url;}
echo '<li><a href="'$alt_url'">'.$pages_title.'</a></li>';
}
else { // this section generates the url for pages created in the ezpages bit, i don't use chapters so its simple here
echo '<li><a href="/index.php?main_page=page&id='.$pages_id.'">'.$pages_title.'</a></li>';
}
Note that isn't real working code thats just me mapping out what i want to do