Re: Apple Zen Template Support Thread
Quote:
Originally Posted by
jettrue
Add this to your css file:
#navMainWrapper {display:none;}
Thanks thats thats sorted now just to get the white gone near the top and make the site look more PRO.... thanks for the help im very new this!!
the site is live for a few hours while I do work on it then I use my other template during the day :)
www.temp-tattoos.co.uk
any suggestions just let me know thanks
also the site is all spaced nice at the top in FF but in explorer the drop down menu and width is smaller is there a fix for this ?
cheers
Symmo
thanks again
Re: Apple Zen Template Support Thread
Quote:
Originally Posted by
symmo
Thanks thats thats sorted now just to get the white gone near the top and make the site look more PRO.... thanks for the help im very new this!!
the site is live for a few hours while I do work on it then I use my other template during the day :)
www.temp-tattoos.co.uk
any suggestions just let me know thanks
also the site is all spaced nice at the top in FF but in explorer the drop down menu and width is smaller is there a fix for this ?
cheers
Symmo
thanks again
First of all, delete the stylesheet2.css from the server. If its in the css folder and online, zen cart will use it.
Re: Apple Zen Template Support Thread
Quote:
Originally Posted by
jettrue
First of all, delete the stylesheet2.css from the server. If its in the css folder and online, zen cart will use it.
its gone ive been updating certain files and changing the name of the original so I had a back up LOL my mistake thanks for BIG pionter
any more input gratefully recieved :)
Symmo
Re: Apple Zen Template Support Thread
Now just need to sort out the width in IE and I would like the white on all the page to be a lightish grey? dont know where to start?
Thanks again YOU ROCK
Re: Apple Zen Template Support Thread
Quote:
Originally Posted by
symmo
Now just need to sort out the width in IE and I would like the white on all the page to be a lightish grey? dont know where to start?
Thanks again YOU ROCK
Hi!
Well, for the background of the entire site, you can set that in the body tag, like this:
body {
background:#929292 url(../images/site-bg-grey.gif) 0 9em repeat-x;
}
for the white that's behind the products section, you'll need to edit the image that is used there, which is content_bg.gif. It's in the includes/templates/apple_zen/images folder.
Re: Apple Zen Template Support Thread
Thanks again for your pointers!
Another issue:
I have an image (centerbox_bg) in the content area of my page. Right now, my girl is missing her head (sad, but true!) and I would like to set the image so it that it starts just under the bar that has "HOME" in it on the homepage.
I tried adding a padding comment but to no avail. Any ideas?
Thanks again!
Tina
http://charmsandmore.charmedbytina.com
Re: Apple Zen Template Support Thread
Hi jettrue,
Thanks for all your help and sorry that I skim-read the readme file - I hadn't realised that the narrow header layout would give me the effect I was looking for.
I've added it now and it looks perfect on Firefox but is a bit out on IE. See http://www.keela.co.uk.tango.webhoster.co.uk/catalog/
The client also wants the search button replaced by their own graphic with 'go' on it. How can i swap the button for a graphic?
Re: Apple Zen Template Support Thread
Hi, thank you for this great template,
I wonder why this new created site About Us is not listed on Site Map, would you repair this or how to solve this problem?
Thank you
Re: Apple Zen Template Support Thread
Right im getting there now
just would like to know how some poeple get the links at the bottom of the main page along side home coz ive seen a few and the look kewl
thanks
symmo
www.temp-tattoos.co.uk
Re: Apple Zen Template Support Thread
I am trying to update my apple zen and when I did so (I'm using WinMerge) I am now getting an error
Quote:
Parse error: parse error, unexpected T_VARIABLE, expecting ',' or ';' in D:\hosting\member\admin\site1\includes\classes\categories_ul_generator.php on line 28
Any idea what is causing this? $data=array(), is line 28
Code:
Here is the file just incase it is needed...
// $Id: categories_ul_generator.php 2004-07-11 DrByteZen $
// based on site_map.php v1.0.1 by networkdad 2004-06-04
//
class zen_categories_ul_generator {
var $root_category_id = 0,
$max_level = 6
$data = array(),
$root_start_string = '',
$root_end_string = '',
$parent_start_string = '',
$parent_end_string = '',
$parent_group_start_string = '<ul%s>',
$parent_group_end_string = '</ul>',
$child_start_string = '<li%s>',
$child_end_string = '</li>',
$spacer_string = '
',
$spacer_multiplier = 1;
var $document_types_list = ' (3) ';// acceptable format example: ' (3, 4, 9, 22, 18) '
function zen_categories_ul_generator($load_from_database = true)
{
global $languages_id, $db;
$this->data = array();
$categories_query = "select c.categories_id, cd.categories_name, c.parent_id
from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd
where c.categories_id = cd.categories_id
and c.categories_status=1 " .
" and cd.language_id = '" . (int)$_SESSION['languages_id'] . "' " .
" order by c.parent_id, c.sort_order, cd.categories_name";
$categories = $db->Execute($categories_query);
while (!$categories->EOF) {
$this->data[$categories->fields['parent_id']][$categories->fields['categories_id']] = array('name' => $categories->fields['categories_name'], 'count' => 0);
$categories->MoveNext();
}
}
function buildBranch($parent_id, $level = 1, $submenu=false)
{
$result = sprintf($this->parent_group_start_string, ($submenu==true) ? ' class="level'. ($level+1) . '"' : '' );
if (($this->data[$parent_id])) {
foreach($this->data[$parent_id] as $category_id => $category) {
$category_link = $category_id;
if (($this->data[$category_id])) {
$result .= sprintf($this->child_start_string, ($submenu==true) ? ' class="submenu"' : '');
}
else {
if (($this->data[$category_id]) && ($submenu==false)) {
$result .= sprintf($this->parent_group_start_string, ($submenu==true) ? ' class="level'. ($level+1) . '"' : '');
$result .= sprintf($this->child_start_string, ($submenu==true) ? ' class="submenu"' : '');
} else {
$result .= sprintf($this->child_start_string, '');
}
}
if ($level == 0) {
$result .= $this->root_start_string;
}
$result .= str_repeat($this->spacer_string, $this->spacer_multiplier * $level) . '<a href="' . zen_href_link(FILENAME_DEFAULT, 'cPath=' . $category_link) . '">';
$result .= $category['name'];
$result .= '</a>';
if ($level == 0) {
$result .= $this->root_end_string;
}
if (($this->data[$category_id])) {
$result .= $this->parent_end_string;
}
if (($this->data[$category_id]) && (($this->max_level == '0') || ($this->max_level > $level+1))) {
$result .= $this->buildBranch($category_id, $level+1, $submenu);
}
$result .= $this->child_end_string;
}
}
$result .= $this->parent_group_end_string;
return $result;
}
function buildTree($submenu=false)
{
return $this->buildBranch($this->root_category_id, '', $submenu);
}
}
?>
I compared the old and new files and tried both of them, but I still get the same error. Thanks for your help!