Quote Originally Posted by DigiBooks View Post
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
I thought there was something somewhere that did some cookie cleanup, but haven't located it specifically yet. Having had an opportunity to review the site (I'm guessing the current "old" site), I did not see anything that would be too much for ZC. Frank18's contribution might help narrow the items/choices available to your customers on an as needed basis (like those things viewable by everyone, and those things viewable by members that meet a specific category and the software may open a range of options for the site, but I guess I would wonder what this "other php" is that would need to be considered. I mean if there is something unique on a "different" page, it could always be it's own ez page or some other unique page of it's own...

The attempt to merge so many "other" options into ZC which already does, I think from my own viewing, everything that is currently there seems like a step backwards... You have options about how to present the content and those features, to where only certain things are presented on thescreen based on certain previous selections, like while viewing the third menu option, may not want to be presented with everything that is in the second, or something like that.

Just some thoughts. I haven't gone to look at franks work to compare, but as I said, his contribution may fit into your overall business or be an improvement.