Ok you're losing me a little here lol!
I transported from the "OTHER" site (OSC) where this actually worked.
So I added the additional code here:
-------------------------------------------------------------------------------------------------------------------------------
<?php
/**
* index.php represents the hub of the Zen Cart MVC system
*
* Overview of flow
* <ul>
* <li>Load application_top.php - see {@tutorial initsystem}</li>
* <li>Set main language directory based on $_SESSION['language']</li>
* <li>Load all *header_php.php files from includes/modules/pages/PAGE_NAME/</li>
* <li>Load html_header.php (this is a common template file)</li>
* <li>Load main_template_vars.php (this is a common template file)</li>
* <li>Load on_load scripts (page based and site wide)</li>
* <li>Load tpl_main_page.php (this is a common template file)</li>
* <li>Load application_bottom.php</li>
* </ul>
*
* @package general
* @copyright Copyright 2003-2005 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license
http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: index.php 2942 2006-02-02 04:41:23Z drbyte $
*
* Digi-Books Amendment History
*
* 10th May 2014: DB#1 - Display total live books and total pending
*
*/
/**
* Load common library stuff
*/
/* kick user out if they came here direct */
if (!isset($_COOKIE['DBverify']))
{
header('Location:
http://www.digibooks.org.uk/DB_2015_root/index.php');
exit;
}
require('includes/application_top.php');
---------------------------------------------------------------------------------------
Cleared the browser cookies and the first attempt to go direct to the ZC library took me back to my html/php entry page at root level.
After that any link click takes me back to the entry page but logged in using the cookie that was set.
If ZC can deal with everything I require that would be great ... but I really don't know how to integrate all the other PHP I use ... hence the reason I went down this route.
I'll PM you the site and login info