Zen Cart Logo
Forums / Addon Templates / Comstock Template

Comstock Template

Views: 132,193

Results 481 to 500 of 722
29 Aug 2009, 6:44 PM
#481
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Comstock Template

damiantaylor:

Just saved the code offline again and moved the <head> before the <div> as you stated and when trying it again it still renders left adjusted in IE8, however it does render correctly centered in Firefox so it looks like an IE8 problem. I'll see if I can make it work in IE8 and let you know, then it's just how to get the header_bg.jpg to show in both browsers......both jobs for tomorrow though......I need a drink :yes:

Thanks for your help so far Clyde and thanks again for the template :smile:

The view source still shows up as I indicated in my previous post.

I've also attached a screenshot of the site: It is not rendering the css correctly. Unless the large text is intentional.

[Attachment no longer available]

29 Aug 2009, 7:19 PM
#482
damiantaylor avatar

damiantaylor

Zen Follower

Join Date:
Aug 2009
Posts:
244
Plugin Contributions:
0

Re: Comstock Template

Sorry Clyde, when I moved the code I just tried it offline.
It's not to do with the template, it must be my installation of zen cart. As you mentioned, the text is too large and I've just changed back to the classic template and it also renders laft adjusted in IE8 and centered in Firefox.

I used Softaculous in my web host control panel to do the install for me.
I'll have to try a different host.

Thanks for all your help!!

31 Aug 2009, 12:07 PM
#483
damiantaylor avatar

damiantaylor

Zen Follower

Join Date:
Aug 2009
Posts:
244
Plugin Contributions:
0

Re: Comstock Template

Hi again Clyde,
I've signed up to a new web host and things look much better in both IE8 and Firefox.
I still can't get the heading backgroud image to appear though. Have you got any ideas?

New location:

http://snow.byethost8.com/shop/

Thanks!

31 Aug 2009, 1:09 PM
#484
damiantaylor avatar

damiantaylor

Zen Follower

Join Date:
Aug 2009
Posts:
244
Plugin Contributions:
0

Re: Comstock Template

It's ok, I've sorted it!
Just realised the image code was commented out of the stylesheet by default :blush:

31 Aug 2009, 1:18 PM
#485
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Comstock Template

damiantaylor:

It's ok, I've sorted it!
Just realised the image code was commented out of the stylesheet by default :blush:

admin -> configuration -> EZ-Pages Settings -> EZ-Pages Display Status - HeaderBar (set to 1)

Then you'll need to create some internal links using EZ-pages

admin -> tools -> EZ-pages

5 Sep 2009, 9:58 AM
#486
damiantaylor avatar

damiantaylor

Zen Follower

Join Date:
Aug 2009
Posts:
244
Plugin Contributions:
0

Re: Comstock Template

Hi Clyde!
I'm not sure if this is a problem with zen cart or the template....

If you look at my shop: http://snow.byethost8.com/shop/
the page doesn't look quite right because the center of the page is too high. The black bar at the center that contains the words 'This text can be changed in inludes/languages/english/comstock/header.php' is lined up with the red bar on the background.

I was just experimenting with ez-page links (I've got a link labelled 'Book a service' in the left column) and noticed when I configured that link to be in the header, the page rendered correctly.
It's as though you need to have at least 1 ez-page link in the header for the page to look right.

I hope this helps in some way and if it's a problem with zen cart, not the template let me know and I'll report it to the creators.

Regards,
Damian

5 Sep 2009, 2:19 PM
#487
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Comstock Template

damiantaylor:

Hi Clyde!
I'm not sure if this is a problem with zen cart or the template....

If you look at my shop: http://snow.byethost8.com/shop/
the page doesn't look quite right because the center of the page is too high. The black bar at the center that contains the words 'This text can be changed in inludes/languages/english/comstock/header.php' is lined up with the red bar on the background.

I was just experimenting with ez-page links (I've got a link labelled 'Book a service' in the left column) and noticed when I configured that link to be in the header, the page rendered correctly.
It's as though you need to have at least 1 ez-page link in the header for the page to look right.

I hope this helps in some way and if it's a problem with zen cart, not the template let me know and I'll report it to the creators.

Regards,
Damian

The fix posted here should solve this issue

6 Sep 2009, 7:19 PM
#488
damiantaylor avatar

damiantaylor

Zen Follower

Join Date:
Aug 2009
Posts:
244
Plugin Contributions:
0

Re: Comstock Template

That fixed it! Thanks Clyde.

Can I ask another question?
I've been trying to change the background colour of the categories in my categories sidebox but am having no luck at all.
I've searched the forums and found the colour is currently set to #9a9a9a so I searched all the css files and changed them whereever I found that colour but it had no effect.

Can you tell me where the category background colour is controlled? I'd like to change it to a background image if that's possible.

Thanks again for all your help Clyde!

6 Sep 2009, 8:03 PM
#489
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Comstock Template

damiantaylor:

That fixed it! Thanks Clyde.

Can I ask another question?
I've been trying to change the background colour of the categories in my categories sidebox but am having no luck at all.
I've searched the forums and found the colour is currently set to #9a9a9a so I searched all the css files and changed them whereever I found that colour but it had no effect.

Can you tell me where the category background colour is controlled? I'd like to change it to a background image if that's possible.

Thanks again for all your help Clyde!

Background color for the categories is set in stylesheet_betterCategoriesEzInfo.css and is set to #ccc

9 Sep 2009, 5:29 PM
#490
damiantaylor avatar

damiantaylor

Zen Follower

Join Date:
Aug 2009
Posts:
244
Plugin Contributions:
0

Re: Comstock Template

Hi Clyde, I'm getting quite far tweaking my site now but could you help me with a php question please?

I've highlighted which category was selected by the user by re-instating SPAN.category-subs-parent and SPAN.category-subs-selected into the style sheet and changing the colour of the selected category text.

However, the above spans don't effect special categories such as 'New Products' and 'All Products' so I'm trying to add that functionality.
In tpl_categories.php you can tell which category or subcategory was selected by the user with the code:
if ($box_categories_array[$i]['current'])

Is there an equivalent method to tell which special category was selected?

Thanks again!

Regards,
Damian

9 Sep 2009, 6:23 PM
#491
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Comstock Template

damiantaylor:

Hi Clyde, I'm getting quite far tweaking my site now but could you help me with a php question please?

I've highlighted which category was selected by the user by re-instating SPAN.category-subs-parent and SPAN.category-subs-selected into the style sheet and changing the colour of the selected category text.

However, the above spans don't effect special categories such as 'New Products' and 'All Products' so I'm trying to add that functionality.
In tpl_categories.php you can tell which category or subcategory was selected by the user with the code:
if ($box_categories_array[$i]['current'])

Is there an equivalent method to tell which special category was selected?

Thanks again!

Regards,
Damian

in tpl_categories.php the handling of New, Special, ALL and Featured products is handled on lines 75 - 117.

That is the section(s) where you will need to make whatever edits you are working.

10 Sep 2009, 11:04 AM
#492
damiantaylor avatar

damiantaylor

Zen Follower

Join Date:
Aug 2009
Posts:
244
Plugin Contributions:
0

Re: Comstock Template

I've found the code you mentioned thanks, but I'm still not sure how I can tell if the user has clicked any of the special categories.
Is there a variable I can test to check if, for example, the user has just clicked 'New Products'?

Thank you!

10 Sep 2009, 1:23 PM
#493
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Comstock Template

damiantaylor:

I've found the code you mentioned thanks, but I'm still not sure how I can tell if the user has clicked any of the special categories.
Is there a variable I can test to check if, for example, the user has just clicked 'New Products'?

Thank you!

I'm not sure I understand exactly what it is you're trying to accomplish.

You might want to ask in the better categories sudebox support thread

4 Dec 2009, 10:22 PM
#494
sara_s_soaps avatar

sara_s_soaps

New Zenner

Join Date:
Apr 2008
Posts:
45
Plugin Contributions:
0

Re: Comstock Template

Using ZC version 1.3.8a and the Comstock template. Web address: www.SarasSoapsnSuch.com.

Question: In the footer, there's a graphic for the credit cards I (supposedly) take, listing MC, Visa, Discover and AmEx, plus Paypal. I don't take AmEx or PP, so how do I change that graphic? I looked in /public_html/includes/templates/comstock/common/tpl_footer.php, but couldn't see anything that looked like the line I'd need to edit for that. I need this to be more accurate. I honestly didn't realize it listed all of them (or I'd have troubleshot this earlier), and now I've got to contact a customer about her AmEx payment that I can't accept.

Thanks!

~Sara

5 Dec 2009, 12:41 AM
#495
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Comstock Template

Sara's Soaps:

Using ZC version 1.3.8a and the Comstock template. Web address: www.SarasSoapsnSuch.com.

Question: In the footer, there's a graphic for the credit cards I (supposedly) take, listing MC, Visa, Discover and AmEx, plus Paypal. I don't take AmEx or PP, so how do I change that graphic? I looked in /public_html/includes/templates/comstock/common/tpl_footer.php, but couldn't see anything that looked like the line I'd need to edit for that. I need this to be more accurate. I honestly didn't realize it listed all of them (or I'd have troubleshot this earlier), and now I've got to contact a customer about her AmEx payment that I can't accept.

Thanks!

~Sara

open includes/templates/comstock/common/tpl_footer.php

find and comment out/delete the following:

<div id="shopOptions"> </div>

If you want to modify the image

go to includes/templates/comstock/images/options.gif

Edit the file in your image editor.

30 Dec 2009, 7:52 PM
#496
jameshe avatar

jameshe

New Zenner

Join Date:
Dec 2009
Posts:
6
Plugin Contributions:
0

Re: Comstock Template

Hi Clydejones,

I am using ZC version 1.3.8a and the Comstock template.
But I met a problem like https://www.SarasSoapsnSuch.com. In the bestsellers sideboxes, the sidebox_header_bg pic and side_box_content_bg pic can't be juncture. Could help take a look?
How can fix this problem?

Thanks a lot in advance.

James

30 Dec 2009, 8:15 PM
#497
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Comstock Template

jamesHe:

Hi Clydejones,

I am using ZC version 1.3.8a and the Comstock template.
But I met a problem like https://www.SarasSoapsnSuch.com. In the bestsellers sideboxes, the sidebox_header_bg pic and side_box_content_bg pic can't be juncture. Could help take a look?
How can fix this problem?

Thanks a lot in advance.

James

link to your site?

31 Dec 2009, 1:04 AM
#498
jameshe avatar

jameshe

New Zenner

Join Date:
Dec 2009
Posts:
6
Plugin Contributions:
0

Re: Comstock Template

clydejones:

link to your site?

sorry, I build the web on my local host for testing, han't uploaded it on the internet. but effec looks likes the https://www.SarasSoapsnSuch.com. I have not installed any addone, only 1.3.8a and this template. pls help me. Thanks

31 Dec 2009, 1:47 AM
#499
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Comstock Template

jamesHe:

sorry, I build the web on my local host for testing, han't uploaded it on the internet. but effec looks likes the https://www.SarasSoapsnSuch.com. I have not installed any addone, only 1.3.8a and this template. pls help me. Thanks

That is a problem with the default Zen Cart Bestsellers sidebox.

The Comstock template does not include any modifications to this sidebox.

Without seeing your site I'm afraid I can't offer any useful information on solving this problem.

31 Dec 2009, 2:11 AM
#500
jameshe avatar

jameshe

New Zenner

Join Date:
Dec 2009
Posts:
6
Plugin Contributions:
0

Re: Comstock Template

clydejones:

That is a problem with the default Zen Cart Bestsellers sidebox.

The Comstock template does not include any modifications to this sidebox.

Without seeing your site I'm afraid I can't offer any useful information on solving this problem.

Thanks ! I will upload my site as soon as possible