Zen Cart Logo
Forums / Addon Templates / Apple Zen Support Thread

Apple Zen Support Thread

Views: 855,296

Results 1,401 to 1,420 of 3,042
04 Nov 2007, 16:10
#1401
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Apple Zen Support Thread

srturner47:

By the way, jettrue, did you have a chance to look at my post about the <li> tags on the category menu and their effect on ie6? It would be nice if I could fix this for the category menu. If not, I can always just have the main categories listed, but I would prefer them to slide out. That is one of the neatest parts of your dropdown menu mod. Thanks!

I'm not really following what you're trying to fix, and the method you're doing is causing the menu to actually be incorrect in HTML coding, though I guess it still works in other browsers by the blessing of a quirk. The includes/classes/categories_ul_generator.php controls the drop down categories portion, though its such a complicated bit of machinery, that I fear removing <li>'s in it will break it all together.

04 Nov 2007, 16:13
#1402
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Apple Zen Support Thread

srturner47:

Quick update: After a little more testing, I have realized that one of the fixes for IE5.5 actually doesn't do anything. Plus, it slows down the menus in all browsers. The other ie5.5 fix still seems to help.
So.... for fix #3 above I changed it as follows:

div#dropMenu li {
position:relative;
list-style:none;
margin:0;
float:left;
THIS STILL NEEDS TO BE CHANGED - /line-height:1em;/
width:16.667%;
*width:16.649%;
}

div#dropMenu ul.level1 {
width:70em;
margin:0 auto;
text-align:center;
background:#006699; /*background color of top menu when NOT selected. */
z-index:1000;
float:left;
}

KEEP THIS LINE AS IS!!!! - div#dropMenu li:hover {}
/*div#dropMenu li.submenu {background: url(../images/dropmenu.gif) 95% 50% no-repeat;} */
div#dropMenu li.submenu:hover {}

Thanks for all your time on this, there were certain things that I had not the time to figure out... I truly appreciate it! I'll give them a try on my test site soon~

04 Nov 2007, 18:32
#1403
srturner47 avatar

srturner47

Zen Follower

Join Date:
Oct 2007
Posts:
385
Plugin Contributions:
0

Re: Apple Zen Support Thread

No problem! It was fun to tweak with, and I learned a ton. I'd never even heard of CSS before I started working on these problems, and my knowledge of html was limited. Things have sure changed a lot with html! My last experience was a few years back writing a website as an assignment for a class. I keep having to check and see if my site validates because of the new xhtml rules. :)

04 Nov 2007, 19:14
#1404
srturner47 avatar

srturner47

Zen Follower

Join Date:
Oct 2007
Posts:
385
Plugin Contributions:
0

Re: Apple Zen Support Thread

Woo hoo!!! I figured out how to fix the problem with the blank menus in IE7!!!

The bug in IE7 is documented here: http://murphy.cz/ie7-hover-ghosts-bug/

I couldn't have done this without this website.

Here's how to fix it:

div#dropMenu li a.noLine {border:none;}
div#dropMenu>ul a {width: auto; z-index:1000;}
CHANGE THIS:div#dropMenu ul ul {display: none;}
div#dropMenu ul ul li {border-bottom: 1px solid #CCC; width:12em;z-index:1000;}
/*div#dropMenu li.submenu li.submenu {background: url(../images/submenu.gif) 95% 50% no-repeat;} /
div#dropMenu ul.level1 li.submenu:hover ul.level2,
div#dropMenu ul.level2 li.submenu:hover ul.level3,
div#dropMenu ul.level3 li.submenu:hover ul.level4,
div#dropMenu ul.level4 li.submenu:hover ul.level5,
div#dropMenu ul.level5 li.submenu:hover ul.level6,
div#dropMenu ul.level6 li.submenu:hover ul.level7,
CHANGE THIS:div#dropMenu ul.level7 li.submenu:hover ul.level8 {display:block;z-index:1000;position: absolute; width: 12em;}
div#dropMenu ul.level2 {background:#4f4f4f;z-index:1000;position:absolute;left:0;}
div#dropMenu ul.level3,
div#dropMenu ul.level4,
div#dropMenu ul.level5,
div#dropMenu ul.level6,
div#dropMenu ul.level7,
div#dropMenu ul.level8{top: 0; left: 12em; background:#4f4f4f}
div#dropMenu ul.level2 a {padding: 0.5em 0 0.5em 0.25em; color: white; text-transform:none;} /
this is text color on drop-down submenu */
div#dropMenu ul.level2 a:hover {color:#4f4f4f;}

Essentially, all I did was move "position: absolute; width: 12em;" to a new spot. Problem solved!!! :)

05 Nov 2007, 15:59
#1405
dezinejunkie avatar

dezinejunkie

New Zenner

Join Date:
Jan 2007
Posts:
49
Plugin Contributions:
0

Re: Apple Zen Support Thread

I would like to change the name MANUFACTURES to DESIGNERS.
Throughout the site. How do i do this?

Is the main_template_vars.php the place to make the change?
}
// create column list
$define_list = array('PRODUCT_LIST_MODEL' => PRODUCT_LIST_MODEL,
'PRODUCT_LIST_NAME' => PRODUCT_LIST_NAME,
'PRODUCT_LIST_MANUFACTURER' => PRODUCT_LIST_MANUFACTURER,
'PRODUCT_LIST_PRICE' => PRODUCT_LIST_PRICE,
'PRODUCT_LIST_QUANTITY' => PRODUCT_LIST_QUANTITY,
'PRODUCT_LIST_WEIGHT' => PRODUCT_LIST_WEIGHT,
'PRODUCT_LIST_IMAGE' => PRODUCT_LIST_IMAGE);

/* ,
'PRODUCT_LIST_BUY_NOW' => PRODUCT_LIST_BUY_NOW);
*/
asort($define_list);
reset($define_list);
$column_list = array();
foreach ($define_list as $key => $value)
{
if ($value > 0) $column_list[] = $key;
}

$select_column_list = '';

for ($i=0, $n=sizeof($column_list); $i<$n; $i++)
{
switch ($column_list[$i])
{
case 'PRODUCT_LIST_MODEL':
$select_column_list .= 'p.products_model, ';
break;
case 'PRODUCT_LIST_NAME':
$select_column_list .= 'pd.products_name, ';
break;
case 'PRODUCT_LIST_MANUFACTURER':
$select_column_list .= 'm.manufacturers_name, ';
break;
case 'PRODUCT_LIST_QUANTITY':
$select_column_list .= 'p.products_quantity, ';
break;
case 'PRODUCT_LIST_IMAGE':
$select_column_list .= 'p.products_image, ';
break;
case 'PRODUCT_LIST_WEIGHT':
$select_column_list .= 'p.products_weight, ';
break;
}
}
// always add quantity regardless of whether or not it is in the listing for add to cart buttons
if (PRODUCT_LIST_QUANTITY < 1) {
$select_column_list .= 'p.products_quantity, ';
:lamo:

06 Nov 2007, 01:05
#1406
srturner47 avatar

srturner47

Zen Follower

Join Date:
Oct 2007
Posts:
385
Plugin Contributions:
0

Re: Apple Zen Support Thread

I noticed that my fix for the bottom shadow line moving around had some unintended consequences. The "Home Link" in the footer started to move around. It seems that the drop-down menu doesn't play nice with anything in the same <div>! So, here is my new fix which solves this problem:

Add to stylesheet.css:

#bottomLineWrapper {
width:100%;
margin:0 auto;
margin-top:-6px;
*float:left;
position:relative;
top:2.18em;
}

#bottomLine {
margin:0 auto;
text-align:center;
width:70.3em;
padding-top:1em;
}

Change in stylesheet.css by replacing navSupp with bottomLine:

  • html #centerColumnWrapper, * html #centerColumnWrapperb, * html #headerWrapperb, * html #headerWrapperc, * html #dropMenuWrapperc, * html #dropMenuWrapperd, * html #bottomLine {
    background:none!important; /* Hides the transparent shadows from older versions of IE */
    }

#bottomLine {
background:url(../images/shadowAlpha_bot.png) repeat-x top;
}

And change the following in stylesheet.css by adding bottomLine to all of these:

#navSupp ul, #bottomLine ul {
list-style-type:none;
text-align:center;
line-height:1.5em;
padding: 0.3em 0;
margin:0;
}

#navSupp li, #navCatTabs li, #navMainLinks li, #bottomLine li {
display:inline;
padding:0 0.5em;
margin:0;
}

#navSupp ul li a, #navCatTabs ul li a, #bottomLine ul li a {
text-decoration:none;
margin:0;
white-space:nowrap;
display:inline;
font-weight:bold;
width:0;
color:#4f4f4f;
}

#navSupp ul li a:hover, #navCatTabs ul li a:hover, #bottomLine ul li a:hover {
color:#0000FF;
text-decoration:underline;
}

Then, edit tpl_footer.php -- you should copy it to the apple_zen "common" overide directory first. Replace the section around "navigation display" with the following:

<!--bof-navigation display --> <div id="bottomLineWrapper"> <div id="bottomLine"> <ul> <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li> <?php if (EZPAGES_STATUS_FOOTER == '1' or (EZPAGES_STATUS_FOOTER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?> <li><?php require($template->get_template_dir('tpl_ezpages_bar_footer.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_footer.php'); ?></li> <?php } ?> </ul> </div></div> <div id="navSuppWrapper"> <div id="navSupp"> </div> </div> <!--eof-navigation display -->

That's it! It's not an easy fix, but it works. That drop-down menu just doesn't play nice unless it has its own div id (in this case navSupp & its wrapper).

06 Nov 2007, 01:19
#1407
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Apple Zen Support Thread

DezineJunkie:

I would like to change the name MANUFACTURES to DESIGNERS.
Throughout the site. How do i do this?

Is the main_template_vars.php the place to make the change?
No, any change like that would be done in a language file. Go to your admin, go to "Tools", "Developers Tool Kit", and search for "Manufacturers" to find out what language file its in.

06 Nov 2007, 01:45
#1408
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Apple Zen Support Thread

srturner47:

I noticed that my fix for the bottom shadow line moving around had some unintended consequences. The "Home Link" in the footer started to move around. It seems that the drop-down menu doesn't play nice with anything in the same <div>! So, here is my new fix which solves this problem:

That's it! It's not an easy fix, but it works. That drop-down menu just doesn't play nice unless it has its own div id (in this case navSupp & its wrapper).

Thanks again. My computer is in the shop (hard drive failure in my mac mini), so I'm using hubbies right now. I was all excited thinking that i could boot with my external drive with bootable backup on his iMac, but Dang Darn Dang, my mac mini is a PowerPC mac, while his is intel based, and I can't boot to my drive... wah! So, while I can get to my files, I can't run my software and such easily, so I'll be slower in getting your updates added.

Now that I'm done writing a book about it...

06 Nov 2007, 07:36
#1409
srturner47 avatar

srturner47

Zen Follower

Join Date:
Oct 2007
Posts:
385
Plugin Contributions:
0

Re: Apple Zen Support Thread

That's alright. I obviously have added these changes to my site already as I have been finding them. :)

Ouch! Hard drive failure.... I've always heard they tend to stop working after awhile, but I have always been lucky. Good thing you have a backup!!! I must admit, since I switched to Ubuntu Linux, I haven't taken the time to setup a backup routine. I should do that. :)

By the way, I found a small bug that doesn't affect your template unless you start messing around with the checkout progress bar -- which I have obviously been doing, or I wouldn't have run into this! :)

There is a <div> in tpl_checkout_success_default.php which doesn't get closed:

<!-- bof Order Steps (tableless) -->
<div id="order_steps">
        <div class="order_steps_text">
		<span class="order_steps_text2"><?php echo TEXT_ORDER_STEPS_1; ?></span><span class="order_steps_text3"><?php echo TEXT_ORDER_STEPS_2; ?></span><span class="order_steps_text4"><?php echo TEXT_ORDER_STEPS_3; ?></span><span id="active_step_text"><?php echo zen_image($template->get_template_dir(ORDER_STEPS_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . ORDER_STEPS_IMAGE, ORDER_STEPS_IMAGE_ALT); ?><br /><?php echo TEXT_ORDER_STEPS_4; ?></span>
        </div>
        <div class="order_steps_line_2">
            <span class="progressbar_active"> </span><span class="progressbar_active"> </span><span class="progressbar_active"> </span><span class="progressbar_active"> </span>

ADD: </div>
</div>

<!-- eof Order Steps (tableless) -->

I also found another little bug that affects the layout of the header in ie5.5. There is a semi-colon missing after width:19.1em in stylesheet.css:

#logo {

CHANGE: width:19.1em; /* To prevent the logo from resizing, simply delete or comment out this section */

}
06 Nov 2007, 10:01
#1410
bea avatar

bea

New Zenner

Join Date:
Nov 2007
Posts:
11
Plugin Contributions:
0

Re: Apple Zen Support Thread

Hi - I love apple zen :smile: but erm I'm a real newbie, I'm not sure if my problems are template based or just erm idiot based :blush: but I was wondering if anyone could help?

Firstly the bar at the very top of the page - I can't change its colour?

Also I tried to add a new category, and it popped up in th nav bar. not in the drop down category menu, and I can't work out how to get it there?

Sorry if these questions are eye roll worthy lol

here's my site so you can see what a mess I've been making https://www.beautybybea.co.uk

06 Nov 2007, 10:32
#1411
bea avatar

bea

New Zenner

Join Date:
Nov 2007
Posts:
11
Plugin Contributions:
0

Re: Apple Zen Support Thread

:huh: I just tried adding the 'About Us' page following the readme and I must have done that wrong too I got (when I tried to do define pages edit)

Error: I can not write to this file. Please set the right user permissions on: /home/beautyby/public_html/shop/includes/languages/english/html_includes/define_about_us.php

:frusty:

06 Nov 2007, 11:45
#1412
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Apple Zen Support Thread

bea:

Hi - I love apple zen :smile: but erm I'm a real newbie, I'm not sure if my problems are template based or just erm idiot based :blush: but I was wondering if anyone could help?

Firstly the bar at the very top of the page - I can't change its colour?

Also I tried to add a new category, and it popped up in th nav bar. not in the drop down category menu, and I can't work out how to get it there?

Sorry if these questions are eye roll worthy lol

here's my site so you can see what a mess I've been making https://www.beautybybea.co.uk

Hi!

The top grey color is controlled by the color here, in the css:

#navMainWrapper

It also looks like you need to use the newest template version. I don't think that's what is causing your drop down menu issue, but it could be the part of the problem. Specifically you should make sure includes/classes/categories_ul_generator.php is re-uploaded fresh, and includes/templates/YOUR_TEMPLATE/common/tpl_drop_menu.php, but since you're early in the design process, i'd upload the newest version of this template.

06 Nov 2007, 11:45
#1413
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Apple Zen Support Thread

bea:

:huh: I just tried adding the 'About Us' page following the readme and I must have done that wrong too I got (when I tried to do define pages edit)

Error: I can not write to this file. Please set the right user permissions on: /home/beautyby/public_html/shop/includes/languages/english/html_includes/define_about_us.php

:frusty:

You have to set the html_includes folder to 777 permissions, else you can't write to it. I should add that to my instructions! :smile: Though, this is in the zen cart install steps.

06 Nov 2007, 12:13
#1414
bea avatar

bea

New Zenner

Join Date:
Nov 2007
Posts:
11
Plugin Contributions:
0

Re: Apple Zen Support Thread

Ack I have an old one? Poo. I'll get the latest version - I won't be back to square one will I lol..

thank you! I have a grey bar now at least weeeeeee

I'll go get the newest one...

06 Nov 2007, 12:35
#1415
bea avatar

bea

New Zenner

Join Date:
Nov 2007
Posts:
11
Plugin Contributions:
0

Re: Apple Zen Support Thread

Might wait for husband to get home :unsure: that's not worked either (I was reading the readme too, I must be silly, just can't get new version to show up..)

:lamo:

06 Nov 2007, 15:09
#1416
hebbe avatar

hebbe

New Zenner

Join Date:
Sep 2007
Posts:
11
Plugin Contributions:
0

Re: Apple Zen Support Thread

Dear Sir,
Your design always popular.
Could you pls tell me how change my logo? I'd like to delete all the text in the right of the logo,and let my photo fill in full of the area where shows the logo and the text.
Looking forward your help.
Regards,
Hebbe

06 Nov 2007, 15:56
#1417
dezinejunkie avatar

dezinejunkie

New Zenner

Join Date:
Jan 2007
Posts:
49
Plugin Contributions:
0

Re: Apple Zen Support Thread

Jade, i have a question, do i need to ALSO change every instance of the word MANUFACTURER in sideboxes manufacturer_info.php and manufacturer.php and then change the file name to
**designer.php and designer_info.php?
I went into the language files and made the changes,but still have the problem of this reading **

now reads BOX_HEADING_DESIGNERS was BOX_HEADING_MANUFACTURERS

and on **advanced search filter results by **pull down
it reads TEXT_ALL_MANUFACTURES
even tho i made the changes in the english languages files and the index files.:lamo:

06 Nov 2007, 21:47
#1418
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Apple Zen Support Thread

hebbe:

Dear Sir,
Your design always popular.
Could you pls tell me how change my logo? I'd like to delete all the text in the right of the logo,and let my photo fill in full of the area where shows the logo and the text.
Looking forward your help.
Regards,
Hebbe

Save your logo over the old logo, in includes/templates/apple_zen/images

remove the header text in includes/languages/english/apple_zen/header.php

06 Nov 2007, 21:48
#1419
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Apple Zen Support Thread

DezineJunkie:

Jade, i have a question, do i need to ALSO change every instance of the word MANUFACTURER in sideboxes manufacturer_info.php and manufacturer.php and then change the file name to
**designer.php and designer_info.php?
I went into the language files and made the changes,but still have the problem of this reading **

now reads BOX_HEADING_DESIGNERS was BOX_HEADING_MANUFACTURERS

and on **advanced search filter results by **pull down
it reads TEXT_ALL_MANUFACTURES
even tho i made the changes in the english languages files and the index files.:lamo:

NO!

Go back to the language file, and LEAVE BOX_HEADING_MANUFACTURERS alone. Simply change the word "Manufacturers" to "Designers". You NEVER change the name of the define, ONLY its value.

07 Nov 2007, 08:44
#1420
triplemoons avatar

triplemoons

New Zenner

Join Date:
Oct 2006
Location:
Hanover, PA
Posts:
71
Plugin Contributions:
0

Re: Apple Zen Support Thread

I have a few questions regarding the Drop Down Menu section...

I want to put next to the drop down menus links to the pages from the "Define Pages Editor" (the 'Page 2,' Page 3,' etc.). How is this done?

I also want to change the names of those menus (CATEGORIES to AVAILABLE for example).

I believe those are my only questions at this time. :)