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

Apple Zen Support Thread

Views: 855,615

Results 1,061 to 1,080 of 3,042
3 Aug 2007, 9:24 PM
#1061
hrm avatar

hrm

New Zenner

Join Date:
Oct 2005
Posts:
95
Plugin Contributions:
0

Apple Zen Support Thread

I'm trying to add Featured Products to my drop down menu and I'm having a little trouble. I was able to get the link to show up in the menu, but I'm not sure what the link should be.

This is what I added to tpl_drop_menu.php:

<li><a href="<?php echo zen_href_link(FILENAME_PRODUCTS_FEATURED); ?>"><?php echo HEADER_TITLE_FEATURED_PRODUCTS; ?></a></li>

That link didn't work (although, with an added language define, the menu item shows up just fine), so I tried:

<li><a href="<?php echo zen_href_link(FILENAME_FEATURED_PRODUCTS_MODULE); ?>"><?php echo HEADER_TITLE_FEATURED_PRODUCTS; ?></a></li>

which doesn't work either.

Can anyone tell me how to code this link? Thanks a bunch.

3 Aug 2007, 10:07 PM
#1062
jettrue avatar

jettrue

Totally Zenned

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

Re: Apple Zen Support Thread

hrm:

I'm trying to add Featured Products to my drop down menu and I'm having a little trouble. I was able to get the link to show up in the menu, but I'm not sure what the link should be.

This is what I added to tpl_drop_menu.php:

<li><a href="<?php echo zen_href_link(FILENAME_PRODUCTS_FEATURED); ?>"><?php echo HEADER_TITLE_FEATURED_PRODUCTS; ?></a></li> ``` > > That link didn't work (although, with an added language define, the menu item shows up just fine), so I tried: > ``` <li><a href="<?php echo zen_href_link(FILENAME_FEATURED_PRODUCTS_MODULE); ?>"><?php echo HEADER_TITLE_FEATURED_PRODUCTS; ?></a></li> ``` > which doesn't work either. > > Can anyone tell me how to code this link? Thanks a bunch.

You have the wrong define for the filename. You can find ALL the pages' defines in includes/filenames.php for the featured products you'll see this:

define('FILENAME_FEATURED_PRODUCTS','featured_products');

4 Aug 2007, 4:06 PM
#1063
linux avatar

linux

Zen Follower

Join Date:
Apr 2004
Posts:
173
Plugin Contributions:
0

Re: Apple Zen Support Thread

jettrue:

What's the error, and could I see a link?

Have you defined BUTTON_IMAGE_WISHLIST and BUTTON_WISHLIST_ALT? Where did you get "YOUR_PRODUCTS_ID" from? As far as I know, that is not even used at all in zen cart.

jettrue: I was just trying to replace the link (Add To Wishlist) with an image and just gave up on it. No biggie I will just keep the link. I am not a programmer and was trying different things to see if it worked. Thanks so much for helping out.

8 Aug 2007, 6:31 PM
#1064
davidt avatar

davidt

New Zenner

Join Date:
Aug 2007
Posts:
8
Plugin Contributions:
0

Re: Apple Zen Support Thread

Hey,

First of all, I would like to thank you for sharing this cool template.

I changed the header to narrow as advised in stylesheet.css and changed the background image a bit.

BUT I would like the background image to begin right at the top, not under the menu. Hope it is not so complicated, but I am really no good at CSS.

Thanks for your advice

8 Aug 2007, 6:32 PM
#1065
davidt avatar

davidt

New Zenner

Join Date:
Aug 2007
Posts:
8
Plugin Contributions:
0

Re: Apple Zen Support Thread

PS. see shop.linealight.cz for details

8 Aug 2007, 6:46 PM
#1066
jettrue avatar

jettrue

Totally Zenned

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

Re: Apple Zen Support Thread

davidt:

Hey,

First of all, I would like to thank you for sharing this cool template.

I changed the header to narrow as advised in stylesheet.css and changed the background image a bit.

BUT I would like the background image to begin right at the top, not under the menu. Hope it is not so complicated, but I am really no good at CSS.

Thanks for your advice

Not complicated at all.

Just change this:

body {
background:url(../images/site-bg-blue.gif) 0 9em repeat;
}

to this:

body {
background:url(../images/site-bg-blue.gif) repeat;
}

8 Aug 2007, 7:13 PM
#1067
davidt avatar

davidt

New Zenner

Join Date:
Aug 2007
Posts:
8
Plugin Contributions:
0

Re: Apple Zen Support Thread

I did this, but it doesnt work.. I mean, there are still white places. Because I changed header to narrow.

8 Aug 2007, 7:29 PM
#1068
davidt avatar

davidt

New Zenner

Join Date:
Aug 2007
Posts:
8
Plugin Contributions:
0

Re: Apple Zen Support Thread

This didnt work.. I also changed header to narrow, so there are white places now (instead of background image)

see shop.linealight.cz

8 Aug 2007, 7:51 PM
#1069
jettrue avatar

jettrue

Totally Zenned

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

Re: Apple Zen Support Thread

davidt:

This didnt work.. I also changed header to narrow, so there are white places now (instead of background image)

see shop.linealight.cz

You also need to remove the background color from #headerWrapper

ETA: The reason why your site is messed up is that your comments are messed up in the stylesheet. You need to change this:

#dropMenuWrapper {
width:70em; /* change to width:70em; for narrow header*/
/float:left;//* remove float:left; for narrow header
margin:0 auto;
text-align:center;
height:2.18em;
}

to this:

#dropMenuWrapper {
width:70em; /* change to width:70em; for narrow header*/
/float:left;//* remove float:left; for narrow header */
margin:0 auto;
text-align:center;
height:2.18em;
}

9 Aug 2007, 12:22 AM
#1070
davidt avatar

davidt

New Zenner

Join Date:
Aug 2007
Posts:
8
Plugin Contributions:
0

Re: Apple Zen Support Thread

Thanks, now it works.

Just two more things.. :-) I uploaded the stylesheet.css again and changed only few things to have narrow header and to repeat background. but..

  1. There is a line or more likely a gap between the log-in part and the logo part. How do I get rid of it?

  2. the header is set a little bit to the left. How can I center it?

Thank you again for your great template and especially for such a support and sorry for bothering with such a stupid questions, but I really dont know much about css.

9 Aug 2007, 2:02 AM
#1071
jettrue avatar

jettrue

Totally Zenned

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

Re: Apple Zen Support Thread

davidt:

Thanks, now it works.

Just two more things.. :-) I uploaded the stylesheet.css again and changed only few things to have narrow header and to repeat background. but..

  1. There is a line or more likely a gap between the log-in part and the logo part. How do I get rid of it?

  2. the header is set a little bit to the left. How can I center it?

Thank you again for your great template and especially for such a support and sorry for bothering with such a stupid questions, but I really dont know much about css.

  1. This must be in IE, as I don't see it in Firefox, but I think you just need to reduce the padding for that top search form. Change:

#navMainSearch input {
margin:0 auto;
text-align:right;
padding:2px 5px;
}

to:

#navMainSearch input {
margin:0 auto;
text-align:right;
padding:0 5px;
}

Let me know if that works for you.

  1. I'm not seeing this either. What browser are you using?
9 Aug 2007, 11:12 AM
#1072
davidt avatar

davidt

New Zenner

Join Date:
Aug 2007
Posts:
8
Plugin Contributions:
0

Re: Apple Zen Support Thread

I am using IE7. At least the shift to the left appeared later. Last change didnt help:-(

See this screenshot: www.linealight.cz/Image1.jpg

But it is not such a big problem, it looks good anyway:-)

12 Aug 2007, 9:43 PM
#1073
hellouk avatar

hellouk

New Zenner

Join Date:
Aug 2007
Posts:
31
Plugin Contributions:
0

Re: Apple Zen Support Thread

Your template is great but I would like to ask if it is possible to change back to 3 Column? Where can I change it?:lamo:

Thank you.

12 Aug 2007, 10:48 PM
#1074
jettrue avatar

jettrue

Totally Zenned

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

Re: Apple Zen Support Thread

helloUK:

Your template is great but I would like to ask if it is possible to change back to 3 Column? Where can I change it?:lamo:

Thank you.

No, unfortunately it is not possible, that is a big limitation of this template. However, there is a way to move it to side column to the left instead.

13 Aug 2007, 6:24 AM
#1075
hellouk avatar

hellouk

New Zenner

Join Date:
Aug 2007
Posts:
31
Plugin Contributions:
0

Re: Apple Zen Support Thread

jettrue:

No, unfortunately it is not possible, that is a big limitation of this template. However, there is a way to move it to side column to the left instead.

Than for your answer. So how can I move to left? Thanks again

13 Aug 2007, 9:40 PM
#1076
jettrue avatar

jettrue

Totally Zenned

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

Re: Apple Zen Support Thread

helloUK:

Than for your answer. So how can I move to left? Thanks again

If I remember correctly, all you have to do is change .centerColumn's float:left to float:right, then open includes/templates/YOUR_TEMPLATE/images/content_bg.gif in an image editing program, and flip it.

But there may be more to it than that, let me know if that doesn't look right.

14 Aug 2007, 11:55 AM
#1077
high2k avatar

high2k

Zen Follower

Join Date:
May 2006
Location:
Scotland
Posts:
198
Plugin Contributions:
0

Re: Apple Zen Support Thread

I have a work in progress at www.eers.co.uk/catalog. I've modified the template quite a bit through the style sheet, etc but am struggling to get rid of the white space between my main image and the horizontal menu above it. Any idea how I can move everything up a bit? I don't mind having a white space of around 2 pixels, but not this wide band of white.
Thanks in advance.

14 Aug 2007, 1:28 PM
#1078
a_anyday avatar

a_anyday

New Zenner

Join Date:
Aug 2007
Posts:
6
Plugin Contributions:
0

Re: Apple Zen Support Thread

Hi guys,
I have tried to be good and read this MASSIVE thread as well as reading the readme file but I can't find the reason why none of my activated boxes are showing up in the right hand column when using IE7.
When using Firefox it seems to simply ignore the right column, i.e. The text from the 'middle' page continues over to the grey right hand column as if it wasn't there.
I have done my best to avoid modding my site too much!!!
Thanks for a the great template!

14 Aug 2007, 3:26 PM
#1079
julie_t avatar

julie_t

New Zenner

Join Date:
Nov 2006
Posts:
29
Plugin Contributions:
0

Re: Apple Zen Support Thread

On the sub-category pages, I would like to:

  1. center the product image, title, description, attributes
  2. have the add to cart box right under the attributes
  3. write a review and tell a friend side by side under the add to cart boxBasically I want to bring everything closer in on the page and not so spread out. Can anyone tell me which file (s) I need to change? Thank you in advance.
14 Aug 2007, 3:35 PM
#1080
hrm avatar

hrm

New Zenner

Join Date:
Oct 2005
Posts:
95
Plugin Contributions:
0

Re: Apple Zen Support Thread

A-Anyday:

Hi guys,
I have tried to be good and read this MASSIVE thread as well as reading the readme file but I can't find the reason why none of my activated boxes are showing up in the right hand column when using IE7.
When using Firefox it seems to simply ignore the right column, i.e. The text from the 'middle' page continues over to the grey right hand column as if it wasn't there.
I have done my best to avoid modding my site too much!!!
Thanks for a the great template!

Look under Configuration -> Layout Settings and make sure that your global column settings look like this:
Column Left Status - Global 0
Column Right Status - Global 1

That should do it.