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.