Forums / Basic Configuration / Help with Index Page lower nav bar

Help with Index Page lower nav bar

Views: 952

Results 1 to 6 of 6
1 Aug 2012, 2:39 AM
#1
sfuller94 avatar

sfuller94

New Zenner

Join Date:
Dec 2007
Posts:
12
Plugin Contributions:
0

Help with Index Page lower nav bar

Hey Guys,

Check out my site: http://soninllc.com/index.php?main_page=index
We're just getting started and I would like to know how to get the bottom nav bar to fall to the bottom of the page below the background image bottom border.

I'm so new at this, I'm not even sure how to tell what version I have..LOL! I down loaded it last year and the headers in the many of the files state it's 2.0, Copyright 2006.

Thanks,
Seth

1 Aug 2012, 9:15 AM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Help with Index Page lower nav bar

Are you sure you want that BG image to blaze out on every page? It is very distracting. (It's also not a very good image).

Sorry to be blunt, but eCommerce works best when sites are CLEAN and FREE OF distracting trinkets.

Also, setting width to 100% makes the site look awful on widescreen monitors. Fixed width for mainwrapper should be 980px to get the site to render properly on most screens.

And you are also fooling about with the CLASSIC template !!!

You should install (or create) your own custom template. It is not a good idea to directly edit the CLASSIC template.

20 years a Zencart User

1 Aug 2012, 9:24 AM
#3
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Help with Index Page lower nav bar

The section UNDER the footer bar is for the...

#siteinfoIP
#siteinfoLegal

...elements

There are settings in admin >>> configuration >>> layout settings that will hide the IP address stuff and if you don't want the copyright notice you could add:

#siteinfoLegal {display: none;}

to the bottom of the stylesheet.

If you really want an image in the centre, then add it to the centerbox wrapper not the main content wrapper.

20 years a Zencart User

2 Aug 2012, 2:56 AM
#4
sfuller94 avatar

sfuller94

New Zenner

Join Date:
Dec 2007
Posts:
12
Plugin Contributions:
0

Re: Help with Index Page lower nav bar

Thanks for the tips.

2 Aug 2012, 3:01 AM
#5
sfuller94 avatar

sfuller94

New Zenner

Join Date:
Dec 2007
Posts:
12
Plugin Contributions:
0

Re: Help with Index Page lower nav bar

Oh, and I'm just learning so I'm not sure how to create a custom template. I've been just changing the classic one. Should I save off the classic template into another folder and rename it before I go customizing it?

Thanks for the help!

2 Aug 2012, 10:15 AM
#6
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Help with Index Page lower nav bar

sfuller94:

Oh, and I'm just learning so I'm not sure how to create a custom template. I've been just changing the classic one. Should I save off the classic template into another folder and rename it before I go customizing it?

Thanks for the help!

No... this will probably "break" the site.

The OVER-RIDE SYSTEM is quite detailed. It involves MODULE FILES, LANGUAGE FILES and TEMPLATE FILES.

You FIRST need to do this:

  1. BACKUP YOUR FILES and DATABASE !!!!!!!!!!

  2. FTP your ENTIRE "includes" folder to your hard drive. You will make the following changes on your LOCAL MACHINE ONLY - NOT ON THE SERVER.

  3. When the FTP is complete, on your machine, go into the INCLUDES folder and look through ALL SUB-FOLDERS in:

/includes/languages/...
/includes/modules/...
/includes/templates/...

Drill down in EACH of those sub-folders, and wherever you see a folder called "classic", change its name to "soninllc".

You will have to go to ALL SUB-LEVELS in these folders, because there are many "classic" folders in the sub-directories, and sub-sub-directories. EACH ONE must be changed to "soninllc"

  1. When you have RE-NAMED ALL of the classic folders to soninllc, GO TO:

includes/templates/soninllc/template_info.php

and open it for EDITING:

The ORIGINAL code looks like this:-

<?php
/**
 * Template Information File
 *
 * @package templateSystem
 * @copyright Copyright 2003-2006 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: template_info.php 4226 2006-08-24 02:23:25Z drbyte $
 */
$template_name = 'Classic Contemporary Green';
$template_version = 'Version 1.3.5';
$template_author = 'Zen Cart Team (c) 2006';
$template_description = 'This template set is designed to be easily modified using only the style sheet to change colors, fonts, and the store logo. Three images are required; logo.jpg, header_bg.jpg, and tile_back.gif.';
$template_screenshot = 'scr_template_default.jpg';
?>

CHANGE IT so it looks like this:-

<?php
/**
 * Template Information File
 *
 * @package templateSystem
 * @copyright Copyright 2003-2006 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: template_info.php 4226 2006-08-24 02:23:25Z drbyte $
 */
$template_name = 'Sonin LLC';
$template_version = 'Version 1.5';
$template_author = 'Sonin LLC 2012';
$template_description = 'This is the custom Sonin Template';
$template_screenshot = '';
?>

REMEMBER... ALL THIS EDITING HAPPENS ON THE COPIES THAT ARE ON YOUR HARD DRIVE - NOT THE SERVER'S FILES.

  1. You now have a CUSTOM template called soninllc on your hard drive.

  2. NOW... MAKING SURE YOU HAVE BACKED UP EVERYTHING ON THE SERVER...

  3. FTP the "includes" folder BACK to the server. WHEN YOUR FTP ASKS IF YOU WANT TO OVERWRITE EXISTING FOLDERS/FILES, CHOOSE "NO"... (You don't want to overwrite anything... Your FTP will simply just load all the soninllc folders and their contents to the server.)

  4. You will now have a soninllc template on the server, as well as the classic template (which you have partly edited, but don't worry about that yet).

  5. Log into your ADMIN CONSOLE.

  6. Go to TOOLS >>> TEMPLATE SELECTION and select your new soninllc template using the EDIT function.

  7. After you have selected this new template, go to TOOLS >>> LAYOUT BOXES CONTROLLER and scroll to the bottom where you see a RE-SET BUTTON. Click that button.

Your template is now installed, and should be identical to the changes you originally made in the classic template.

Ideally, you should remove changes you originally made to classic by restoring it to its ORIGINAL state.

20 years a Zencart User