Just released:
Academe V1.0 - CSS Template
Open for support and comments here.
Printable View
Just released:
Academe V1.0 - CSS Template
Open for support and comments here.
Please post your comments, and template bugs here. Will release updates as bugs become known.
Hi,
That's a great template you have here.
I want to add a banner over the categories and under to logo/menu. The banner should be page width 750px and want to use the banner manager to be able to see displays and make it easy to add/remove future ones. Any help?
Glad the template is working out for you. Here's all you have to do:
Hope this helps. :blink: I've also included a default banner image for you to upload for initial placement, the banner is 750x100.
- Download attached zip file, extract, upload into Zen Cart directory.
- Login to your administration area.
- Find Layout Settings under Configuration of the Administration drop-down menu.
- On the Layout Settings page find - Banner Display Groups - Header Position 1 and select it.
- Now, you can add any group to display here, but make it something relative to what your actually using it for. I use the pixels of the banner as the group name (i.e 750x100). Click Update.
- Now from the Administration drop-down menu find Tools :: Banner Manager and select.
- Once the page loads, scroll down to the bottom of the page and select new banner.
- Select Status, next select whether or not it opens in a new window when clicked, then set Banner on SSL to on.
- Now the Banner Title, this is for your reference and also what displays in the "alt" tags of the banner image on the HTML side (what the customer sees). Alt tags are not seen visually unless the banner is scrolled over or the banner image couldn't be found. Image alt tags are necessary for XHTML compliance.
- Enter the url that the banner will go to when clicked on, if no link, leave blank.
- Now select a previously entered banner group, or create a new one. I use the banner pixels for group names i.e. 750x100 for instance.
- Now select the image to be used for this banner.
- The rest of the options are optional, and can be set to your liking.
demo here: Academe
Need to make one change to your stylesheet as well:
Code:#bannerOne{
padding:0;
margin: .5em 0 0 0;
}
Wow, excellent template!!
I do have one question. I am unable to see the side boxes to the right. I just see the welcome message and the test items I have added.
Thanks,
This works great! Thanks
Quick question, where do we change the EZ page info at.. I have never worked with EZ pages..
Okay sorry after a 3rd look I found the EZ pages settings.. I changed the display header status to 1, but the footerbar and sidebox are on as well.. Anyhow I am getting this error when I put the template on..
Fatal error: Call to undefined function: zen_get_new_date_range() in /home2/lhhgbh1/public_html/includes/templates/iC_AcademeV1.0/sideboxes/tpl_categories.php on line 74
By default, I've disabled the right column inside the template file. If you'd like to allow your Zen Cart installation to control the layout of the columns ... open up : includes/templates/iC_AcademeV1.0/common/tpl_main_page.php
Select all and replace with(this includes the new banner position as well):
Or download the attached .zip file upload to includes folder. Your going to also have to do some editing to your sytlesheet. If you can wait a couple of days (could possibly have it done today) we'll have a 3-Column release for this template.Code:<?php
/**
* Atheme Template - tpl_main_page.php
*
* to override the global settings and turn off columns un-comment the lines below for the correct column to turn off<br />
* to turn off the header and/or footer uncomment the lines below<br />
* Note: header can be disabled in the tpl_header.php<br />
* Note: footer can be disabled in the tpl_footer.php<br />
* <br />
* $flag_disable_header = true;<br />
* $flag_disable_left = true;<br />
* $flag_disable_right = true; /*
* $flag_disable_footer = true;<br />
* <br />
* // example to not display right column on main page when Always Show Categories is OFF<br />
* <br />
* if ($current_page_base == 'index' and $cPath == '') {<br />
* $flag_disable_right = true;<br />
* }<br />
* <br />
* example to not display right column on main page when Always Show Categories is ON and set to categories_id 3<br />
* <br />
* if ($current_page_base == 'index' and $cPath == '' or $cPath == '3') {<br />
* $flag_disable_right = true;<br />
* }<br />
*
*
* @package templateSystem
* @copyright Copyright 2007 iChoze Internet Solutions http://ichoze.com
* @copyright Portions 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: tpl_main_page.php 4886 2006-11-05 09:01:18Z drbyte $
*/
// the following IF statement can be duplicated/modified as needed to set additional flags
if (in_array($current_page_base,explode(",",'list_pages_to_skip_all_right_sideboxes_on_here,separated_by_commas,and_no_spaces')) ) {
$flag_disable_right = true;
}
$header_template = 'tpl_header.php';
$footer_template = 'tpl_footer.php';
$left_column_file = 'column_left.php';
$right_column_file = 'column_right.php';
$body_id = ($this_is_main_page) ? 'indexHome' : str_replace('_', '', $_GET['main_page']);
?>
<body id="<?php echo $body_id . 'Body'; ?>"<?php if($zv_onload !='') echo ' onload="'.$zv_onload.'"'; ?>>
<?php
/**
* prepares and displays header output
*
*/
require($template->get_template_dir('tpl_header.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_header.php');?>
<div id="mainWrapper">
<?php
if (SHOW_BANNERS_GROUP_SET1 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET1)) {
if ($banner->RecordCount() > 0) {
?>
<div id="bannerOne" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
<?php
}
}
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0" id="contentMainWrapper" summary="content">
<tr>
<?php
if (COLUMN_LEFT_STATUS == 0 or (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '')) {
// global disable of column_left
$flag_disable_left = true;
}
if (!isset($flag_disable_left) || !$flag_disable_left) {
?>
<td id="navColumnOne" class="columnLeft" style="width: <?php echo COLUMN_WIDTH_LEFT; ?>">
<?php
/**
* prepares and displays left column sideboxes
*
*/
?>
<div id="navColumnOneWrapper" style="width: <?php echo BOX_WIDTH_LEFT; ?>"><?php require(DIR_WS_MODULES . zen_get_module_directory('column_left.php')); ?></div></td>
<?php
}
?>
<td valign="top">
<!-- bof breadcrumb -->
<?php if (DEFINE_BREADCRUMB_STATUS == '1' || (DEFINE_BREADCRUMB_STATUS == '2' && !$this_is_home_page) ) { ?>
<div id="navBreadCrumb"><?php echo $breadcrumb->trail(BREAD_CRUMBS_SEPARATOR); ?></div>
<?php } ?>
<!-- eof breadcrumb -->
<?php
if($body_id == 'index' && $cPath == ''){
if (SHOW_BANNERS_GROUP_SET3 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET3)) {
if ($banner->RecordCount() > 0) {
?>
<div id="bannerThree" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
<?php
}
}}
?>
<!-- bof upload alerts -->
<?php if ($messageStack->size('upload') > 0) echo $messageStack->output('upload'); ?>
<!-- eof upload alerts -->
<?php
/**
* prepares and displays center column
*
*/
require($body_code); ?>
<?php
if (SHOW_BANNERS_GROUP_SET4 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET4)) {
if ($banner->RecordCount() > 0) {
?>
<div id="bannerFour" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
<?php
}
}
?></td>
<?php
if (COLUMN_RIGHT_STATUS == 0 or (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '')) {
// global disable of column_right
$flag_disable_right = true;
}
if (!isset($flag_disable_right) || !$flag_disable_right) {
?>
<td id="navColumnTwo" class="columnRight" style="width: <?php echo COLUMN_WIDTH_RIGHT; ?>">
<?php
/**
* prepares and displays right column sideboxes
*
*/
?>
<div id="navColumnTwoWrapper" style="width: <?php echo BOX_WIDTH_RIGHT; ?>"><?php require(DIR_WS_MODULES . zen_get_module_directory('column_right.php')); ?></div></td>
<?php
}
?>
</tr>
</table>
</div>
<?php
/**
* prepares and displays footer output
*
*/
require($template->get_template_dir('tpl_footer.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_footer.php');?>
<!--bof- parse time display -->
<?php
if (DISPLAY_PAGE_PARSE_TIME == 'true') {
?>
<div class="smallText center">Parse Time: <?php echo $parse_time; ?> - Number of Queries: <?php echo $db->queryCount(); ?> - Query Time: <?php echo $db->queryTime(); ?></div>
<?php
}
?>
<!--eof- parse time display -->
<!--bof- banner #6 display -->
<?php
if (SHOW_BANNERS_GROUP_SET6 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET6)) {
if ($banner->RecordCount() > 0) {
?>
<div id="bannerSix" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
<?php
}
}
?>
<!--eof- banner #6 display -->
</body>
Replied to your email.
Well i tried to reinstall the template and that didnt solve the issue.. I am actually scared to try and reinstall Zen Cart because I dont want to mess up anything thats working now.. Everything works for me using the future Zen template so I do not believe my Zen Cart is defective. Now I have a few things added that might be interfering with it, but I only add things that are from this site. Not sure what the problem could be.. Guess I will have to wait to see if someone else has this issue and finds a fix. Very nice template though..
Well we wouldn't want you to do that now ... :cool:
Try this ... open includes/functions/functions_lookups.php and make sure the following is somewhere in this file. It's the main declaration for this function and is used elsewhere in Zen.
Code:// build date range for new products
function zen_get_new_date_range($time_limit = false) {
if ($time_limit == false) {
$time_limit = SHOW_NEW_PRODUCTS_LIMIT;
}
// 120 days; 24 hours; 60 mins; 60secs
$date_range = time() - ($time_limit * 24 * 60 * 60);
$upcoming_mask_range = time();
$upcoming_mask = date('Ymd', $upcoming_mask_range);
// echo 'Now: '. date('Y-m-d') ."<br />";
// echo $time_limit . ' Days: '. date('Ymd', $date_range) ."<br />";
$zc_new_date = date('Ymd', $date_range);
switch (true) {
case (SHOW_NEW_PRODUCTS_LIMIT == 0):
$new_range = '';
break;
case (SHOW_NEW_PRODUCTS_LIMIT == 1):
$zc_new_date = date('Ym', time()) . '01';
$new_range = ' and p.products_date_added >=' . $zc_new_date;
break;
default:
$new_range = ' and p.products_date_added >=' . $zc_new_date;
}
if (SHOW_NEW_PRODUCTS_UPCOMING_MASKED == 0) {
// do nothing upcoming shows in new
} else {
// do not include upcoming in new
$new_range .= " and (p.products_date_available <=" . $upcoming_mask . " or p.products_date_available IS NULL)";
}
return $new_range;
}
You may have just skipped a file during an upgrade :blink:
That worked great.. Now I have some sizing issues that I will mess with in the CSS page.. Im sure I may have more questions later on, but for now I think I can get through the basics with trial and error.. Appreciate the attention to detail and speedy help..
:clap: Glad I could help.
I looked at the sites in your signature ... On FlagPridet try increasing the size of your left column from the administration area, then decrease the size of the three images you have spread across the front-page and the template should work for you.
I just noticed something else as well ... your using the image manager module and the images aren't floating correctly. Will find a fix and get back to you on that.
Make sure to add the Image Handler CSS file to the Acadame template directory ... that should correct the issue your having.
Add that to your stylesheet and it'll correct the floating problem.Code:#trailimageid {
position: absolute;
visibility: hidden;
left: 0px;
top: 0px;
width: 220px;
height: 0px;
z-index: 1000;
}
#trailimageid div {
padding: 5px;
background-color: #FFF;
border: 1px solid #888;
text-align: center;
}
#trailimageid h1 {
font-size: 100%;
font-weight: normal;
margin: 0;
padding: 2px 0px;
text-align: left;
width: 100%;
}
#trailimageid img {
margin: 2px;
border: none;
}
off topic here, what buttons do you use?
I changed the sizing in admin and that worked great.. was totally thinking I would have to do it in css. often forget which settings are where..
Im sorry, forgot one thing.. The maroon bar at the top on your example has category links, is this an option to turn on? Sorry for so many questions..
WHEW! Almost gave up on the EZ page thing.. There was actually an EZ page setting under the admin configuration menu and that allowed me to turn the headers on.. Very easy now that I got it.. I did a coycat picture for my banner3 of your site until I can figure out what I want it to look like..
As for the buttons I will check out the downloads section to see what I can find.. I feel like the site looks and functions great, but the buttons (previous, Next, etc..) are weak... I might even make my own..
Anyhow I wanted to say a HUGE thanks for putting up with my questions and helping out so much on a Friday.. Hopefully this thread will help other newbies as it helped me..
I have an old version of buttons for like Zen Cart 1.2 or something. It was a button set sold on an old Zen Cart site of ours. You'll have to make a few others.
Anyways here ya go ... they're blue. File Attached.
And glad I could help out. I was there once too! :smartalec:
Oh yea One blue, one red! ... on the FlagPride site you'll need red. :frusty: File Attached! L:eek:king good by the way!
thanking Ajeh for the smiley
-
LOL, not a prob I downloaded both to see how they looked and if the blue one was different or nicer I would have made them red..
BTW do you have any suggestions for my banner3? This is off topic, but I am racking my brain trying to think of a way to convey my product and have some kind of show of flags.. It doesnt necessarily have to include a picture of one of my shirts since they are represented just below.. If not no big deal, just trying to get some thoughts.. Thanks again..
Hi! I am playing around with your template :lookaroun (I probably shouldn't!)and would like to know how to do a few things.
http://trucks.charmedbytina.com/
- How do I remove the shopping cart from top of page?
- Is it possible to totally remove or disable shopping?
- How do I remove logo and maroon bar over the banner?
Thanks for your help!
1. Open includes/templates/iC_AcadameV1.0/common/tpl_main_page.php on line 47 of an un-modified file delete the following:2. In the administration area, Configuration drop-down menu, My Store, locate Store status, and set to 2 to show prices, no checkout or 1 for no prices, no checkout.Code:<div id="cart_header" class="topBox">Shopping Cart<br /><? echo $_SESSION['cart']->count_contents();?> item(s) - <? echo $currencies->format($_SESSION['cart']->show_total());?></div>
3. Same file as number one, remove line 51Code:<div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div>
***If you could explain exactly what you trying to make the header look like I'll rewrite the tpl_main_page file for you. ***
testuser - you rock! :hug:
The maroon bar and larger grey bar are still visible on top of the logo.
I would like the web page to open with the thin grey bar over the logo and nothing else over that.
In addition, is there a way to have the sidebox links, like the search, categories, information, and more information links) appear in a bar under the logo (is that what your are referring to as EZ Pages?)?
Thanks soooo much!
Replace your tpl_main_page.php with this one:
Code:<?php
/**
* Atheme Template - tpl_main_page.php
*
* to override the global settings and turn off columns un-comment the lines below for the correct column to turn off<br />
* to turn off the header and/or footer uncomment the lines below<br />
* Note: header can be disabled in the tpl_header.php<br />
* Note: footer can be disabled in the tpl_footer.php<br />
* <br />
*/ $flag_disable_header = true; /*
$flag_disable_left = true;<br />
*/ $flag_disable_right = true; /*
* $flag_disable_footer = true;<br />
* <br />
* // example to not display right column on main page when Always Show Categories is OFF<br />
* <br />
* if ($current_page_base == 'index' and $cPath == '') {<br />
* $flag_disable_right = true;<br />
* }<br />
* <br />
* example to not display right column on main page when Always Show Categories is ON and set to categories_id 3<br />
* <br />
* if ($current_page_base == 'index' and $cPath == '' or $cPath == '3') {<br />
* $flag_disable_right = true;<br />
* }<br />
*
*
* @package templateSystem
* @copyright Copyright 2007 iChoze Internet Solutions http://ichoze.com
* @copyright Portions 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: tpl_main_page.php 4886 2006-11-05 09:01:18Z drbyte $
*/
// the following IF statement can be duplicated/modified as needed to set additional flags
if (in_array($current_page_base,explode(",",'list_pages_to_skip_all_right_sideboxes_on_here,separated_by_commas,and_no_spaces')) ) {
$flag_disable_right = true;
}
$header_template = 'tpl_header.php';
$footer_template = 'tpl_footer.php';
$left_column_file = 'column_left.php';
$right_column_file = 'column_right.php';
$body_id = ($this_is_main_page) ? 'indexHome' : str_replace('_', '', $_GET['main_page']);
?>
<body id="<?php echo $body_id . 'Body'; ?>"<?php if($zv_onload !='') echo ' onload="'.$zv_onload.'"'; ?>>
<?php
/**
* prepares and displays header output
*
*/
require($template->get_template_dir('tpl_header.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_header.php');?>
<div id="mainWrapper">
<?php
if (SHOW_BANNERS_GROUP_SET1 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET1)) {
if ($banner->RecordCount() > 0) {
?>
<div id="bannerOne" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
<?php
}
}
?>
<div id="topLinksWrapper"><div id="topLinks">
<?php if (EZPAGES_STATUS_HEADER == '1' or (EZPAGES_STATUS_HEADER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) {
require($template->get_template_dir('tpl_ezpages_bar_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_header.php');
} ?>
</div><br class="clearBoth" /></div>
<table width="100%" border="0" cellspacing="0" cellpadding="0" id="contentMainWrapper" summary="content">
<tr>
<?php
if (COLUMN_LEFT_STATUS == 0 or (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '')) {
// global disable of column_left
$flag_disable_left = true;
}
if (!isset($flag_disable_left) || !$flag_disable_left) {
?>
<td id="navColumnOne" class="columnLeft" style="width: <?php echo COLUMN_WIDTH_LEFT; ?>">
<?php
/**
* prepares and displays left column sideboxes
*
*/
?>
<div id="navColumnOneWrapper" style="width: <?php echo BOX_WIDTH_LEFT; ?>"><?php require(DIR_WS_MODULES . zen_get_module_directory('column_left.php')); ?></div></td>
<?php
}
?>
<td valign="top">
<!-- bof breadcrumb -->
<?php if (DEFINE_BREADCRUMB_STATUS == '1' || (DEFINE_BREADCRUMB_STATUS == '2' && !$this_is_home_page) ) { ?>
<div id="navBreadCrumb"><?php echo $breadcrumb->trail(BREAD_CRUMBS_SEPARATOR); ?></div>
<?php } ?>
<!-- eof breadcrumb -->
<?php
if($body_id == 'index' && $cPath == ''){
if (SHOW_BANNERS_GROUP_SET3 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET3)) {
if ($banner->RecordCount() > 0) {
?>
<div id="bannerThree" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
<?php
}
}}
?>
<!-- bof upload alerts -->
<?php if ($messageStack->size('upload') > 0) echo $messageStack->output('upload'); ?>
<!-- eof upload alerts -->
<?php
/**
* prepares and displays center column
*
*/
require($body_code); ?>
<?php
if (SHOW_BANNERS_GROUP_SET4 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET4)) {
if ($banner->RecordCount() > 0) {
?>
<div id="bannerFour" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
<?php
}
}
?></td>
<?php
if (COLUMN_RIGHT_STATUS == 0 or (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '')) {
// global disable of column_right
$flag_disable_right = true;
}
if (!isset($flag_disable_right) || !$flag_disable_right) {
?>
<td id="navColumnTwo" class="columnRight" style="width: <?php echo COLUMN_WIDTH_RIGHT; ?>">
<?php
/**
* prepares and displays right column sideboxes
*
*/
?>
<div id="navColumnTwoWrapper" style="width: <?php echo BOX_WIDTH_RIGHT; ?>"><?php require(DIR_WS_MODULES . zen_get_module_directory('column_right.php')); ?></div></td>
<?php
}
?>
</tr>
</table>
</div>
<?php
/**
* prepares and displays footer output
*
*/
require($template->get_template_dir('tpl_footer.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_footer.php');?>
<!--bof- parse time display -->
<?php
if (DISPLAY_PAGE_PARSE_TIME == 'true') {
?>
<div class="smallText center">Parse Time: <?php echo $parse_time; ?> - Number of Queries: <?php echo $db->queryCount(); ?> - Query Time: <?php echo $db->queryTime(); ?></div>
<?php
}
?>
<!--eof- parse time display -->
<!--bof- banner #6 display -->
<?php
if (SHOW_BANNERS_GROUP_SET6 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET6)) {
if ($banner->RecordCount() > 0) {
?>
<div id="bannerSix" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
<?php
}
}
?>
<!--eof- banner #6 display -->
</body>
Stylesheet with this one:
If you've made modifications to the stylesheet let me know, I'll just give you the classes I've modified.Code:/**
* Acadame CSS Stylesheet
*
* @package templateSystem
* @copyright Copyright 2007 iChoze Internet Solutions
* @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: stylesheet.css 5349 2006-12-22 20:34:40Z birdbrain $
*/
body {
margin: 0;
font-family: verdana, arial, helvetica, sans-serif;
font-size: 62.5%;
color: #000000;
background-color: #ffffff;
}
a img {border: none; }
a:link, #navEZPagesTOC ul li a {
color: #900000;
text-decoration: none;
}
a:visited {
color: #900000;
text-decoration: none;
}
a:hover, #navEZPagesTOC ul li a:hover, #navMain ul li a:hover, #navCatTabs ul li a:hover {
color: #900000;
text-decoration: underline;
}
#navSupp ul li a:hover {
color:#EEEEEE;
text-decoration: underline;
}
a:active {
color: #0000FF;
}
h1 {
font-size: 1.5em;
color: #9a9a9a;
}
h2 {
font-size: 1.4em;
}
h3 {
font-size: 1.3em;
}
h4, h5, h6, LABEL, h4.optionName, LEGEND, ADDRESS, .sideBoxContent, .larger{
font-size: 1.1em;
}
.biggerText {
font-size: 1.2em;
}
h1, h2, h3, h4, h5, h6 {
margin: 0.3em 0;
}
/* Might uncomment either or both of these if having problems with IE peekaboo bug:
h1, h2, h3, h4, h5, h6, p {
position: relative;
}
*html .centerColumn {
height: 1%;
}
*/
CODE {
font-family: arial, verdana, helvetica, sans-serif;
font-size: 1em;
}
FORM, SELECT, INPUT {
display: inline;
font-size: 1em;
margin: 0.1em;
}
TEXTAREA {
float: left;
margin: auto;
display: block;
width: 95%;
}
input:focus, select:focus, textarea:focus {
background: #E4FEF5;
}
FIELDSET {
padding: 0.5em;
margin: 0.5em 0em;
border: 1px solid #cccccc;
}
LEGEND {
font-weight: bold;
padding: 0.3em;
}
LABEL, h4.optionName {
line-height: 1.5em;
padding: 0.2em;
}
LABEL.checkboxLabel, LABEL.radioButtonLabel {
margin: 0.5em 0.3em;
}
#logo, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
float: left;
}
LABEL.inputLabel {
width: 9em;
float: left;
}
LABEL.inputLabelPayment {
width: 14em;
float: left;
padding-left: 2.5em;
}
LABEL.selectLabel, LABEL.switchedLabel, LABEL.uploadsLabel {
width: 11em;
float: left;
}
#checkoutPayment LABEL.radioButtonLabel {
font-weight: bold;
}
P, ADDRESS {
padding: 0.5em;
}
ADDRESS {
font-style: normal;
}
.clearBoth {
clear: both;
}
HR {
height: 1px;
margin-top: 0.5em;
border: none;
border-bottom: 1px solid #9a9a9a;
}
/*warnings, errors, messages*/
.messageStackWarning, .messageStackError, .messageStackSuccess, .messageStackCaution {
line-height: 1.8em;
padding: 0.2em;
border: 1px solid #9a9a9a;
}
.messageStackWarning, .messageStackError {
background-color: #ff0000;
color: #ffffff;
}
.messageStackSuccess {
background-color: #99FF99;
color: #000000;
}
.messageStackCaution {
background-color: #FFFF66;
color: #000000;
}
/*wrappers - page or section containers*/
#mainWrapper {
background-color: #ffffff;
text-align: left;
width: 750px;
vertical-align: top;
border-top:.5em solid #EEEEEE;
}
#cartBoxListWrapper, #ezPageBoxList, #cartBoxListWrapper ul, #ezPageBoxList ul, #mainWrapper, #popupAdditionalImage, #popupImage {
margin: 0em;
padding: 0em;
}
#contentMainWrapper {
margin:.5em 0;
padding:0;
}
#headerWrapper{
margin: 0em;
padding: 0em;
}
#topBarWrap{
background:#EEEEEE;
}
#topBar{
width:750px;
margin:auto;
color:#2C2C2C;
font-weight:bold;
padding: .8em;
}
.topBox{
float:left;
padding: 0 5em 0 5em;
height:3em;
}
#lang_header{
border-right:1px solid #9a9a9a;
padding-left:12em;
}
#currency_header{
border-right:1px solid #9a9a9a;
}
#cart_header{
background:url(../images/cart_bg.gif) 5em 0 no-repeat;
padding:.2em 0 0 11em;
}
#logoWrap{
margin:auto;
background-color: #ffffff;
width:750px;
border-bottom:.5em solid #EEEEEE;
}
#topLinksWrapper{
background:#EEEEEE;
margin-top:.5em;
}
#topLinks{
margin: 0;
padding:0;
float:left;
}
#navColumnOneWrapper, #navColumnTwoWrapper, #mainWrapper {
margin: auto;
}
#navColumnOneWrapper, #navColumnTwoWrapper {
}
#tagline {
color:#000000;
font-size: 2em;
text-align : center;
vertical-align: middle;
}
#sendSpendWrapper {
border: 1px solid #cacaca;
float: right;
margin: 0em 0em 1em 1em;
}
.floatingBox, #accountLinksWrapper, #sendSpendWrapper, #checkoutShipto, #checkoutBillto, #navEZPagesTOCWrapper {
margin: 0;
width: 47%;
}
.wrapperAttribsOptions {
margin: 0.3em 0em;
}
/*navigation*/
.navSplitPagesResult {}
.navSplitPagesLinks {}
.navNextPrevCounter {
margin: 0em;
font-size: 0.9em;
}
.navNextPrevList {
display: inline;
white-space: nowrap;
margin: 0;
padding: 0.5em 0em;
list-style-type: none;
}
#navSuppWrapper, #navCatTabsWrapper {
margin: 0em;
background-color: #2E2E2E;
padding: 0.5em 0.2em;
font-weight: bold;
color: #909090;
border-top:5px solid #000000;
height: 1%;
}
#navSupp{
width:750px;
margin:auto;
}
#payments{
float:left;
background:url(../images/payments.gif) 1.5em 0 no-repeat;
width:30%;
padding:1em 0;
}
#bottomNav{
float:left;
}
#bottomNav a, #bottomNav a:visited{
color:#9a9a9a;
text-decoration:underline;
}
#navCatTabsWrapper {
background-color: #ffffff;
color: #9a9a9a;
background-image:none;
}
#navMain ul, #navSupp ul, #navCatTabs ul {
margin: 0;
padding: 0.5em 0em;
list-style-type: none;
text-align: center;
line-height: 1.5em;
}
#navMain ul li, #navSupp ul li, #navCatTabs ul li {
display: inline;
}
#navMain ul li a, #navSupp ul li a, #navSupp ul li a:visited, #navCatTabs ul li a {
text-decoration: none;
padding: 0em 0.5em;
margin: 0;
color: #EEEEEE;
white-space: nowrap;
}
#navSupp ul li a:hover {
color:#EEEEEE;
text-decoration:underline;
}
#navCatTabs ul li a {
color: #9a9a9a;
}
#navEZPagesTOCWrapper {
font-weight: bold;
float: right;
height: 1%;
border: 1px solid #9a9a9a;
}
#navEZPagesTOC ul {
margin: 0;
padding: 0.5em 0em;
list-style-type: none;
line-height: 1.5em;
}
#navEZPagesTOC ul li {
white-space: nowrap;
}
#navEZPagesTOC ul li a {
padding: 0em 0.5em;
margin: 0;
}
#navCategoryIcon, .buttonRow, #indexProductListCatDescription {
margin: 0.5em;
}
#navMainSearch {
float: right;
}
#navBreadCrumb {
padding: 0.5em 0.5em;
font-size: 0.95em;
font-weight: bold;
margin: 0em;
}
#navEZPagesTop {
font-size: 0.95em;
font-weight: bold;
margin: 0;
padding: 1.5em 0 1.7em .5em;
color:#666;
}
#navEZPagesTop a:link, #navEZPagesTop a:visited{
color:#666;
padding:0 1em 0 .8em;
}
#navEZPagesTop a:hover{
text-decoration:underline;
}
#navColumnOne, #navColumnTwo {
background-color: transparent;
}
/*The main content classes*/
#contentColumnMain, #navColumnOne, #navColumnTwo, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .additionalImages, .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured, .centerBoxContentsNew, .alert {
vertical-align: top;
}
/*.content,*/ #productDescription, .shippingEstimatorWrapper {
/*font-size: 1.2em;*/
padding: 0.5em;
}
.alert {
color: #FF0000;
margin-left: 0.5em;
}
.advisory {}
.important {
font-weight: bold;
}
.notice {}
.rating{}
.gvBal {
float: right;
}
.centerColumn {
padding: 0.8em;
}
#bannerTwo, #bannerThree, #bannerFour, #bannerFive, #bannerSix {
padding: 0 0 0 .6em;
}
#bannerOne{
padding:0;
margin: .5em 0 0 0;
}
.banners img{
padding:0;
}
.centerColumn{
padding-top:0;
}
.smallText, #siteinfoLegal, #siteinfoCredits, #siteinfoStatus, #siteinfoIP {
font-size: 0.9em;
}
/*Shopping Cart Display*/
#cartAdd {
float: right;
text-align: center;
margin: 1em;
border: 1px solid #000000;
padding: 1em;
}
.tableHeading TH {
border-bottom: 1px solid #9a9a9a;
}
.tableHeading, #cartSubTotal {
background-color: #e9e9e9;
}
#cartSubTotal {
border-top: 1px solid #cccccc;
font-weight: bold;
text-align: right;
line-height: 2.2em;
padding-right: 2.5em;
}
.tableRow, .tableHeading, #cartSubTotal {
height: 2.2em;
}
.cartProductDisplay, .cartUnitDisplay, .cartTotalDisplay, .cartRemoveItemDisplay, .cartQuantityUpdate, .cartQuantity, #cartInstructionsDisplay, .cartTotalsDisplay {
padding: 0.5em 0em;
}
.cartUnitDisplay, .cartTotalDisplay {
text-align: right;
padding-right: 0.2em;
}
#scUpdateQuantity {
width: 2em;
}
.cartQuantity {
width: 4.7em;
}
.cartNewItem {
color: #33CC33;
position: relative; /*do not remove-fixes stupid IEbug*/
}
.cartOldItem {
color: #660099;
position: relative; /*do not remove-fixes stupid IEbug*/
}
.cartBoxTotal {
text-align: right;
font-weight: bold;
}
.cartRemoveItemDisplay {
width: 3.5em;
}
.cartAttribsList {
margin-left: 1em;
}
#mediaManager {
width: 50%;
margin: 0.2em;
padding: 0.5em;
background-color: #E4FEf5;
border: 1px solid #003D00;
}
.normalprice, .productSpecialPriceSale {
text-decoration: line-through;
}
.productSpecialPrice, .productSalePrice, .productSpecialPriceSale, .productPriceDiscount {
color: #ff0000;
}
.orderHistList {
margin: 1em;
padding: 0.2em 0em;
list-style-type: none;
}
#cartBoxListWrapper ul, #ezPageBoxList ul {
list-style-type: none;
}
#cartBoxListWrapper li, #ezPageBoxList li, .cartBoxTotal {
margin: 0;
padding: 0.2em 0em;
}
#cartBoxEmpty, #cartBoxVoucherBalance {
font-weight: bold;
}
.totalBox {
width: 5.5em;
text-align: right;
padding: 0.2em;
}
.lineTitle, .amount {
text-align: right;
padding: 0.2em;
}
.amount {
width: 5.5em;
}
/*Image Display*/
#productMainImage, #reviewsInfoDefaultProductImage, #productReviewsDefaultProductImage, #reviewWriteMainImage {
margin: 0em 1em 1em 0em ;
}
.categoryIcon {}
#cartImage {
margin: 0.5em 1em;
}
/*Attributes*/
.attribImg {
width: 20%;
margin: 0.3em 0em;
}
.attributesComments {}
/*list box contents*/
.centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .additionalImages, .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured, .centerBoxContentsNew {
margin: 1em 0em;
}
.centerBoxWrapper {
border-left: 1px solid #9a9a9a;
border-right: 1px solid #9a9a9a;
border-bottom: 4px solid #9a9a9a;
height: 1%;
margin: 1.1em 0;
}
h2.centerBoxHeading {
font-size: 1.5em;
color: #ffffff;
}
/*sideboxes*/
.columnLeft {}
h3.leftBoxHeading, h3.leftBoxHeading a,
h3.rightBoxHeading, h3.rightBoxHeading a {
font-size: 1.1em;
color: #ffffff;
}
#manufacturersHeading, #currenciesHeading, #musicgenresHeading, #recordcompaniesHeading, #searchHeading, #search-headerHeading {
font-size: 0.9em;
color: #ffffff;
}
.leftBoxHeading, .rightBoxHeading {
margin: 0em;
padding:.5em 0 .7em 1em;
background:#9a9a9a url(../images/catboxHeadingbg.gif) repeat-x;
}
.centerBoxHeading{
margin: 0em;
padding:.3em 0 .4em 2em;
background:#5D7FA4 url(../images/centerboxHeadingbg.gif) repeat-x;
}
#categoriesHeading {
background:#9a9a9a url(../images/centerboxHeadingbg.gif) repeat-x;
font-size:1.5em;
padding:.2em 0 .4em 1em;
}
#whatsnewHeading {
background:#7EA65A url(../images/brownboxHeadingbg.gif) repeat-x;
font-size:1.2em;
padding:.4em 0 .5em 1em;
}
#bestsellersHeading {
background:#A99A71 url(../images/greenboxHeadingbg.gif) repeat-x;
font-size:1.3em;
padding:.4em 0 .5em 1em;
}
#categories ul{
padding:0;
margin:0;
list-style:none;
}
.category-top li{
padding:0;
margin:0;
background: #EEEEEE;
vertical-align:middle;
}
li.category-top a{
padding:.4em 0 0 1.5em;
margin:0;
color:#333333;
font-weight:bold;
display:block;
height:1.8em;
border-bottom:1px solid #9a9a9a;
background:#EEEEEE url(../images/boxlistbg.png) .4em 0.5em no-repeat;
}
li.category-products a{
padding:.4em 0 0 1.5em;
margin:0;
color:#333333;
font-weight:bold;
display:block;
height:1.8em;
border-bottom:1px solid #9a9a9a;
background:#EEEEEE url(../images/boxlistbg.png) 1.2em 0.5em no-repeat;
}
li.category-top a:hover{
background:#333333 url(../images/boxlistbg.png) .4em 0.5em no-repeat;
color:#EEEEEE;
}
li.category-products a:hover{
background:#333333 url(../images/boxlistbg.png) 1.2em 0.5em no-repeat;
color:#EEEEEE;
}
#categoriesContent{
padding:0;
margin:0;
}
#bestsellersContent {
color:#333333;
font-weight:bold;
}
#informationContent a:link, #informationContent a:visited, #bestsellersContent,
#bestsellersContent a:link, #bestsellersContent a:visited{
color:#333333;
font-weight:bold;
}
#extralinks{
padding: .5em 0 .5em 1em;
}
.leftBoxContainer, .rightBoxContainer {
margin: 0 0 1em 0;
border-left: 1px solid #9a9a9a;
border-right: 1px solid #9a9a9a;
border-bottom: 4px solid #9a9a9a;
}
.sideBoxContent {
background-color: #ffffff;
padding: 0.4em;
}
h3.leftBoxHeading a:hover, h3.rightBoxHeading a:hover {
color: #FFFF33;
text-decoration: none;
}
.rightBoxHeading a:visited, .leftBoxHeading a:visited, .centerBoxHeading a:visited {
color: #FFFFFF;
}
.centeredContent, TH, #cartEmptyText, #cartBoxGVButton, #cartBoxEmpty, #cartBoxVoucherBalance, #navCatTabsWrapper, #navEZPageNextPrev, #bannerOne, #bannerTwo, #bannerThree, #bannerFour, #bannerFive, #bannerSix, #siteinfoLegal, #siteinfoCredits, #siteinfoStatus, #siteinfoIP, .center, .cartRemoveItemDisplay, .cartQuantityUpdate, .cartQuantity, .cartTotalsDisplay, #cartBoxGVBalance, .productListing-data, .accountQuantityDisplay, .ratingRow, LABEL#textAreaReviews, #productMainImage, #reviewsInfoDefaultProductImage, #productReviewsDefaultProductImage, #reviewWriteMainImage, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .additionalImages, .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured, .centerBoxContentsNew, .gvBal, .attribImg {
text-align: center;
}
#bestsellers .wrapper {
margin: 0em 0em 0em 1.5em;
}
#bestsellers ol {
padding: 0;
margin-left: 1.1em;
}
#bestsellers li {
padding: 0;
margin: 0.3em 0em 0.3em 0em;
}
.ic{
display:none;
}
#bannerboxHeading {
background-color: #0000CC;
}
#upProductsHeading {
text-align: left;
}
#upDateHeading {
text-align: right;
}
/* categories box parent and child categories */
A.category-top, A.category-top:visited {
color: #008000;
text-decoration: none;
}
A.category-links, A.category-links:visited {
color: #333333;
font-weight:bold;
}
A.category-subs, A.category-products, A.category-subs:visited, A.category-products:visited {
color: #FF0000;
text-decoration: none;
}
SPAN.category-subs-parent {
font-weight: bold;
}
SPAN.category-subs-selected {
font-weight: bold;
}
/* end categories box links */
/*misc*/
.back {
float: left;
}
.forward, #shoppingCartDefault #PPECbutton {
float: right;
}
.bold {
font-weight: bold;
}
.rowOdd {
background-color: #E8E8E8;
height: 1.5em;
vertical-align: top;
}
.rowEven {
background-color: #F0F0F0;
height: 1.5em;
vertical-align: top;
}
.hiddenField {
display: none;
}
.visibleField {
display: inline;
}
CAPTION {
/*display: none;*/
}
#myAccountGen li, #myAccountNotify li {
margin: 0;
}
.accountTotalDisplay, .accountTaxDisplay {
width: 20%;
text-align: right;
/*vertical-align: top*/
}
.accountQuantityDisplay {
width: 10%;
vertical-align: top
}
TR.tableHeading {
background-color: #cacaca;
height: 2em;
}
.productListing-rowheading {
background-image: url(../images/centerBoxHeadingbg.gif);
height: 2em;
color: #FFFFFF;
}
#siteMapList {
width: 90%;
float: right;
}
.ratingRow {
margin: 1em 0em 1.5em 0em;
}
LABEL#textAreaReviews {
font-weight: normal;
margin: 1em 0em;
}
#popupShippingEstimator, #popupSearchHelp, #popupAdditionalImage, #popupImage, #popupCVVHelp, #popupCouponHelp, #popupAtrribsQuantityPricesHelp, #infoShoppingCart {
background-color: #ffffff;
}
SPLIT INTO TWO POSTS .... Start with post #30
Ok, once you get those completed ... read below so you can understand what ya did and where.
Look at the files from the original template file, and the modified ones I posted and you'll see the simple rearranging that had to be done.
- We disabled the header completely in the tpl_main_page.php file because you said that you didn't need any of the items that displayed in the header.
- We then took the EZ-Pages out of the header because it was disabled in the step above, put them in the tpl_main_page.php file just below the banner, as you stated.
- We then modified the CSS ID's (#something) and CLASSES (.something) to appropriately contain and border the newly modified positions.
Couldn't edit the post above...
For the EZ-Pages:
Turn the EZ-Pages Header on under Configuration::Layout Settings or make sure that it's already on.
Then add links to the EZ-Pages header from the EZ Pages page under the Tools drop-down menu.
Flash perhaps would be a little better, have them pop up kinda like bubbles ... there's a pretty good flash developers tool that makes it easy for beginners called Swish, you should try it out.
Of course, I'd suggest the Macromedia Flash developers series, but it's a bit more advanced.
Testuser,
Once again, many thanks!
I think I've done what you asked me to, but the links are above the logo in the red bar. I only placed one there for now. Can I get the Categories, Information, and More Information links there with their respective drop downs?
link to site: http://trucks.charmedbytina.com/
I think I need to buy you a cuppa joe!
Fixed charmedbytina :smile:
... one thing, the main image on your homepage doesn't have an alt tag ... They're good for SEO, screen readers (for the blind), and they make your pages XHTML Compliant.
Example of xhtml compliant tag:
Code:<img src="http://something.com/image.gif" alt="Something describing the image here" />
I have worked with flash and understand the basics and have even made some flash shows for my sites in the past.. I have heard conflicting stories about SEO and having flash on the pages.. I always assumed it was similar to an image and therefore wouldnt hurt your SEO..
Ahhh SEO... I find that I will never truly reach a full understanding of creating that SEO friendly site... My next ongoing task will be to alter my keywords and meta tags for all of my pages/products so that they are more SEO friendly having now taking care of the aesthetic side of the site..
Only search engine capable of reading inside flash is GOOGLE right now ... Yahoo and other's don't support it ...
But you can always place text around it then hide it from the browser display via CSS.
*************Acadame V1.1 Released************
Download from the Free templates link in signature or download section here on Zen Cart
Downloads section download isn't the correct download. Please download from link in signature for the time being.
Thanks.
Thanks again for the template and the help. New site looks great! IMHO
I am back.. Just a quick question.. When it comes to the address at the top and being on category pages, how do I make it go from this:
http://www.flagpridet-shirts.com/ind...=index&cPath=1
to this:
http://www.flagpridet-shirts.com/Africa
always felt that this doe snot help my SEO...
It's done using mod_rewrite most of the time ... there's a download in the download section that I have working fine on 1.3.7 ...
BE CAUTIOUS THOUGH AND BACKUP FIRST ... I've heard of instances were it hasn't worked on 1.3.7 most likely due to some custom modifications ... nevertheless ... BACKUP
Ultimate SEO URLs
Downloads Section download is now current. Please select the one that is 41754 bytes ...
As always, you may also download the most current version of the Acadame Free Zen Cart Template and other free templates we offer by clicking here
Hi,
I am having trouble getting the shopping cart to display correctly. Instead of the shoping cart graphic on the top line with the currency and location changers i am getting it ona separete line and displaying
"
Shopping Cart
count_contents();?> item(s) - format($_SESSION['cart']->show_total());?>
"
Does any one have the solution to this?
Cheers
This is from a clean installation of Zen and unzipping the theme into my zen installation w/o doing ne modifications
Code:<?php
/**
* Acadame Template - tpl_main_page.php
*
* to override the global settings and turn off columns un-comment the lines below for the correct column to turn off<br />
* to turn off the header and/or footer uncomment the lines below<br />
* Note: header can be disabled in the tpl_header.php<br />
* Note: footer can be disabled in the tpl_footer.php<br />
* <br />
* $flag_disable_header = true;<br />
* $flag_disable_left = true;<br />
*/ $flag_disable_right = true; /*
* $flag_disable_footer = true;<br />
* <br />
* // example to not display right column on main page when Always Show Categories is OFF<br />
* <br />
* if ($current_page_base == 'index' and $cPath == '') {<br />
* $flag_disable_right = true;<br />
* }<br />
* <br />
* example to not display right column on main page when Always Show Categories is ON and set to categories_id 3<br />
* <br />
* if ($current_page_base == 'index' and $cPath == '' or $cPath == '3') {<br />
* $flag_disable_right = true;<br />
* }<br />
*
*
* @package templateSystem
* @copyright Copyright 2007 iChoze Internet Solutions http://ichoze.com
* @copyright Portions 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: tpl_main_page.php 4886 2006-11-05 09:01:18Z drbyte $
*/
// the following IF statement can be duplicated/modified as needed to set additional flags
if (in_array($current_page_base,explode(",",'list_pages_to_skip_all_right_sideboxes_on_here,separated_by_commas,and_no_spaces')) ) {
$flag_disable_right = true;
}
$header_template = 'tpl_header.php';
$footer_template = 'tpl_footer.php';
$left_column_file = 'column_left.php';
$right_column_file = 'column_right.php';
$body_id = ($this_is_main_page) ? 'indexHome' : str_replace('_', '', $_GET['main_page']);
?>
<body id="<?php echo $body_id . 'Body'; ?>"<?php if($zv_onload !='') echo ' onload="'.$zv_onload.'"'; ?>>
<?php
/**
* prepares and displays header output
*
*/
require($template->get_template_dir('tpl_header.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_header.php');?>
<div id="mainWrapper">
<?php
if (SHOW_BANNERS_GROUP_SET1 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET1)) {
if ($banner->RecordCount() > 0) {
?>
<div id="bannerOne" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
<?php
}
}
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0" id="contentMainWrapper" summary="content">
<tr>
<?php
if (COLUMN_LEFT_STATUS == 0 or (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '')) {
// global disable of column_left
$flag_disable_left = true;
}
if (!isset($flag_disable_left) || !$flag_disable_left) {
?>
<td id="navColumnOne" class="columnLeft" style="width: <?php echo COLUMN_WIDTH_LEFT; ?>">
<?php
/**
* prepares and displays left column sideboxes
*
*/
?>
<div id="navColumnOneWrapper" style="width: <?php echo BOX_WIDTH_LEFT; ?>"><?php require(DIR_WS_MODULES . zen_get_module_directory('column_left.php')); ?></div></td>
<?php
}
?>
<td valign="top">
<!-- bof breadcrumb -->
<?php if (DEFINE_BREADCRUMB_STATUS == '1' || (DEFINE_BREADCRUMB_STATUS == '2' && !$this_is_home_page) ) { ?>
<div id="navBreadCrumb"><?php echo $breadcrumb->trail(BREAD_CRUMBS_SEPARATOR); ?></div>
<?php } ?>
<!-- eof breadcrumb -->
<?php
if($body_id == 'index' && $cPath == ''){
if (SHOW_BANNERS_GROUP_SET3 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET3)) {
if ($banner->RecordCount() > 0) {
?>
<div id="bannerThree" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
<?php
}
}}
?>
<!-- bof upload alerts -->
<?php if ($messageStack->size('upload') > 0) echo $messageStack->output('upload'); ?>
<!-- eof upload alerts -->
<?php
/**
* prepares and displays center column
*
*/
require($body_code); ?>
<?php
if (SHOW_BANNERS_GROUP_SET4 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET4)) {
if ($banner->RecordCount() > 0) {
?>
<div id="bannerFour" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
<?php
}
}
?></td>
<?php
if (COLUMN_RIGHT_STATUS == 0 or (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '')) {
// global disable of column_right
$flag_disable_right = true;
}
if (!isset($flag_disable_right) || !$flag_disable_right) {
?>
<td id="navColumnTwo" class="columnRight" style="width: <?php echo COLUMN_WIDTH_RIGHT; ?>">
<?php
/**
* prepares and displays right column sideboxes
*
*/
?>
<div id="navColumnTwoWrapper" style="width: <?php echo BOX_WIDTH_RIGHT; ?>"><?php require(DIR_WS_MODULES . zen_get_module_directory('column_right.php')); ?></div></td>
<?php
}
?>
</tr>
</table>
</div>
<?php
/**
* prepares and displays footer output
*
*/
require($template->get_template_dir('tpl_footer.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_footer.php');?>
<!--bof- parse time display -->
<?php
if (DISPLAY_PAGE_PARSE_TIME == 'true') {
?>
<div class="smallText center">Parse Time: <?php echo $parse_time; ?> - Number of Queries: <?php echo $db->queryCount(); ?> - Query Time: <?php echo $db->queryTime(); ?></div>
<?php
}
?>
<!--eof- parse time display -->
<!--bof- banner #6 display -->
<?php
if (SHOW_BANNERS_GROUP_SET6 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET6)) {
if ($banner->RecordCount() > 0) {
?>
<div id="bannerSix" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
<?php
}
}
?>
<!--eof- banner #6 display -->
</body>
I think this is the file u need??
tpl_header.php
Code:<?php
if (!isset($flag_disable_header) || !$flag_disable_header) {
?>
<div id="headerWrapper">
<div id="topBarWrap">
<div id="topBar">
<?php require(DIR_WS_MODULES . 'sideboxes/languages_header.php'); ?>
<?php require(DIR_WS_MODULES . 'sideboxes/currencies_header.php'); ?>
<div id="cart_header" class="topBox">Shopping Cart<br /><? echo $_SESSION['cart']->count_contents();?> item(s) - <? echo $currencies->format($_SESSION['cart']->show_total());?></div>
<br class="clearBoth" /></div>
</div>
<div id="logoWrap">
<div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div>
<div id="topLinks">
<?php if (EZPAGES_STATUS_HEADER == '1' or (EZPAGES_STATUS_HEADER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) {
require($template->get_template_dir('tpl_ezpages_bar_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_header.php');
} ?>
</div><br class="clearBoth" />
</div>
</div>
<?php } ?>
Try that... you just needed a space before the start of the php tag <?Code:<?php
if (!isset($flag_disable_header) || !$flag_disable_header) {
?>
<div id="headerWrapper">
<div id="topBarWrap">
<div id="topBar">
<?php require(DIR_WS_MODULES . 'sideboxes/languages_header.php'); ?>
<?php require(DIR_WS_MODULES . 'sideboxes/currencies_header.php'); ?>
<div id="cart_header" class="topBox">Shopping Cart<br /> <? echo $_SESSION['cart']->count_contents();?> item(s) - <? echo $currencies->format($_SESSION['cart']->show_total());?></div>
<br class="clearBoth" /></div>
</div>
<div id="logoWrap">
<div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div>
<div id="topLinks">
<?php if (EZPAGES_STATUS_HEADER == '1' or (EZPAGES_STATUS_HEADER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) {
require($template->get_template_dir('tpl_ezpages_bar_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_header.php');
} ?>
</div><br class="clearBoth" />
</div>
</div>
<?php } ?>
Everything ok zerosignull? You've been on the thread for awhile with no response.
Copied and pasted the code from the Board into the php file and still the same issue.
Im not up to speed on PHP yet, most c++,c# cough*vb.net* developer. are their any tools you would reccomend for windows that i can use to debug the scripts?
ZSL
Could you post a link to the site?
Its localhost, sry. I also get an issue regarding the logo of the theme maker on the footer. instead of the logo im shown "get_template_dir('ichoze_footer.gif', DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . 'ichoze_footer.gif', 'Domain Registration, Web Hosting (Zen Cart / Joomla Compatible),Thawte SSL') ?>"
IM running windows xp sp2 with WAMP5 if that helps to shed any light on the situ.
Everything else is working but the header area and footer area?
What version of ZC are you using?
The demo version is a default installation of Zen Cart v1.3.7 and is running smoothly ... I would try re-configuring you local php or make sure you have the most current version of the Acadame Zen Cart template.
***************UPDATE**************
************************************
Currency selector in header will not work prior to version 1.2 ... you may download the most current version from the link in signature, or here in the downloads section.
************************************
************************************
Posted a solution in the Atheme Free Zen Cart Template Thread.
For quicker, more detailed responses and solutions, you may direct your support questions regarding this template or any other template to:
iChoze Free Zen Cart Templates -> click on support forums
I installed this template and all I got was blank pages
Great template. Just a quick questions though. How do I edit/delete the images in the footer - ie. of credit cards, etc?
I am using Zen-cart 1.3.7 and have installed Acadame 1.2. I can't figure out how to get the red banner /graphic in place that you have labeled 750px x 100px. I know you have it as a png file. It is not in the download. Where does it belong?
I want to replace it with my own graphic.... but I don't know where to put it. Does it belong in images?
You ave to set it up as a banner using the banner option in the admin/tools.. Testuser actually explained it to me on page 2 or 3 of this thread.. Very easy to do.. You have to mess with the settings in admin/settings and then you can upload and position it with the banners/tools column. Im sure you will see the possibilities once you check these out.
Thanks lhhgbh, been busy!
Figured I could give back just a little.. lol..
Open for opinions for additional features to be added to V2.0
Dont know if this really goes with the template side of it, but a really nice gel button set would be nice.. The buttons you told me about before were alright, but I havent really found a super button set that jumps out at me.. The layout and functionality of the template is really great... Has a nice updated look to it..
I am using the free template from iZone called acadame and I want to remove the categories from my header. I have too many and they don't show right. I want to remove it completely. You can see what I'm talking about at http://www.coachingfilms.com. It has something to do with the stylesheet_header_menu.css but I don't know how to remove it. Keep in mind that I am a complete newb to this and it is my first store on here. I have been using Joomla's Virtue Mart. Thanks
Don't believe Acadame features any categories in the header ...
Atheme Support Forum
Well please look at http://www.coachingfilms.com and tell me what the links are underneath my header. There are too many links and they cover up my shopping cart. Can I turn them off. I'm using IE to look at it. If you use FF then they work but the look bad. I want to remove them.
I'd really like to use your super nice template but I am running into some problems.
Any suggestions on how to fix them?
Thanks!
I don't what it is called but the language icon is showing up in two places. I sent you the link. If you have a moment can you take a peek?
Thanks.
Languages in header..
add new language, flag added correctly
BUT word/text "Languages:" then appears twice,
which alters alignment...
:oops:
I'm just working on the template, but the prices showing on the site is different to what I have set up in admin.
Hi, i just installed your wonderful template in my zen-cart and everything worked well except one thing. I added a sud sub level (3rd level) into a sub level (2nd level) and it messed it up. When you press onto the 2nd level, it makes the 2nd level only a line (not a box as before) and the 3rd level as a box and not as a line.
Can anyone help me with that?
Thank you very very much
P.S: In other words i need an interface
with three levels (top --> sub --> sub-sub)
Check to make sure that if you have attributes attached to a specific product that it doesn't show as "Add to Base Price" ... think it's a purple button.
Have you tried the Acadame Template Readme?
-
IS there away to move the shopping cart over to the right i nthe header
http://www.haydenshomedecor.com/
i dont use the language or currency option
Try that ... edit the existing class in your stylesheet! You may also need to edit the right padding ... ie padding: top right bottom left <~format ...Code:#cart_header{
background:url(../images/cart_bg.gif) 5em 0 no-repeat;
padding:.2em 0 0 11em;
float:right;
}
-
that worked thanks
another question in the information box the color is gray how can i change that to the blue of the categories box
also where is the my account its not anywhere to be found
Add this to your stylesheet:
----------------------------------------------------Code:#searchHeading, #informationHeading{
background:#5D7FA4 url(../images/centerboxHeadingbg.gif) repeat-x;
}
You need to configure the EZ-Pages Header, view the installation readme found at http://zencart.ichoze.net for more information.
-
i have it on
EZ-Pages Display Status - HeaderBar 1
EZ-Pages Display Status - FooterBar 1
sideboxes/ezpages.php ON RIGHT 1 1 ON