Forums / Templates, Stylesheets, Page Layout / additional 'include' at bottom, above 'footer'

additional 'include' at bottom, above 'footer'

Locked

Views: 1,077

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
21 May 2007, 2:42 PM
#1
bouncerfl avatar

bouncerfl

New Zenner

Join Date:
Mar 2007
Location:
sunny Florida, USA
Posts:
80
Plugin Contributions:
0

additional 'include' at bottom, above 'footer'

Hi,

I'd like to include the same sitemap/menu structure from my main site, in the cart. My site draws from a file called bottom_menu.php which is an include file on all other pages.

I'm sure this isn't a difficult task, just need a pointer as to where to put the include statement.

Thanks in advance to the best open source community I'm a part of!

~Ray
BouncerFL

Server OS: Linux (Fedora)
ZC: 1.37
PHP: 4.3.11
MySQL: 4.0.21-standard
Web Server: Apache 2.0.51

++++++++++++++++
Subtle as the 'b' in subtle.

21 May 2007, 7:53 PM
#2
bouncerfl avatar

bouncerfl

New Zenner

Join Date:
Mar 2007
Location:
sunny Florida, USA
Posts:
80
Plugin Contributions:
0

Re: additional 'include' at bottom, above 'footer'

Issue resolved.

A little more digging and I sure found the spot. As I was wanting to include data from the already live non-cart portion of the site, it was a simple matter of finding the location and inserting the correct 'include' statement.

The code was here:
/includes/templates/template_default/common/tpl_footer.php

My snippet of:

<?php include('http://www.mydomain.com/bottom_menu.php'); ?>

********went into the code just before

<!--bof-ip address display -->
<?php
if (SHOW_FOOTER_IP == '1') {
?>

mine was inserted near line 38.
Then of course, we were down to styling.

The site is www.cprtools.net with the cart software located at www.cprtools.net/store.

The entire purpose was to generate nav paths back to the info portion of our site.

Thanks again for all past and future help. I hope this posting helps someone else, eventually.

Regards,
~Ray
BouncerFL

++++++++++++++++
Subtle as the 'b' in subtle.