Zen Cart Logo
Forums / Addon Templates / Comstock Template

Comstock Template

Views: 132,163

Results 301 to 320 of 722
5 Feb 2009, 2:23 AM
#301
ivogue avatar

ivogue

New Zenner

Join Date:
Nov 2008
Posts:
16
Plugin Contributions:
0

Comstock Template

clydejones, I love your layout. I am using comstock. I want to make the left nav a little wider. I know I will have to edit the images / coding. I have no problem with the images.

But for the coding, can you point me to the right direction?

like in the css, which section to edit. I want to -20px from the center and +20px to the left nav.

It would save me ALOT of time looking all over in the codes.

Thank you.

5 Feb 2009, 3:02 AM
#302
clydejones avatar

clydejones

Deceased

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

Re: Comstock Template

ivogue:

clydejones, I love your layout. I am using comstock. I want to make the left nav a little wider. I know I will have to edit the images / coding. I have no problem with the images.

But for the coding, can you point me to the right direction?

like in the css, which section to edit. I want to -20px from the center and +20px to the left nav.

It would save me ALOT of time looking all over in the codes.

Thank you.

No need to mess with the coding:
go to admin -> coniguration -> layout settings
and adjust these settings to whatever you need.

That way you only need to re-do the graphics for the sideboxes.

Column Width - Left Boxes 150px
Column Width - Left 160px

5 Feb 2009, 11:13 PM
#303
ivogue avatar

ivogue

New Zenner

Join Date:
Nov 2008
Posts:
16
Plugin Contributions:
0

Re: Comstock Template

wow it's easier than I thought. (I used another template that is much difficult.) Thank you for all your help.:thumbsup:

6 Feb 2009, 2:27 AM
#304
ivogue avatar

ivogue

New Zenner

Join Date:
Nov 2008
Posts:
16
Plugin Contributions:
0

Re: Comstock Template

Another question to bug you with. I notice that when I go to a product page or a category page. The left nav and the footer is gone. Is there's a way to add them back in so it looks like the front page?

6 Feb 2009, 3:43 AM
#305
clydejones avatar

clydejones

Deceased

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

Re: Comstock Template

ivogue:

Another question to bug you with. I notice that when I go to a product page or a category page. The left nav and the footer is gone. Is there's a way to add them back in so it looks like the front page?

open includes/templates/comstock/templates/tpl_product_info_display.php

find and delete this section of code:

<!-- BOF: Cross-Sell information -->
<?php
// THIS CODE WOULD BE ADDED INTO YOUR TPL_PRODUCT_INFO_DISPLAY.PHP WHEREVER YOU WANT TO DISPLAY THE CROSS_SELL BOX:
  require($template->get_template_dir('tpl_modules_xsell_products.php', DIR_WS_TEMPLATE, $current_page_base,'templates'). '/' . 'tpl_modules_xsell_products.php');
?>
<!-- EOF: Cross-Sell information -->

save the edited file and upload to your server.

9 Feb 2009, 11:43 PM
#306
ivogue avatar

ivogue

New Zenner

Join Date:
Nov 2008
Posts:
16
Plugin Contributions:
0

Re: Comstock Template

Thank you so much for your help. Without you I would spend hrs finding the codes. One last question (hopefully XD)

On the front page where it says:

New Customer? Create Account Returning Customers? Log In.

The LOG IN LINK, links to (I think your website)

https://mysticmountainnaturals.com/login.html

How to fix that?

10 Feb 2009, 1:20 AM
#307
ivogue avatar

ivogue

New Zenner

Join Date:
Nov 2008
Posts:
16
Plugin Contributions:
0

Re: Comstock Template

One last question, Should've ask this one first.

On my product page, I have Attributes...

I am trying to switch Options Comment with Option Name.

Example:

Please choose one:
Size

I want to be:

Size
Please choose one:

I been playing with tpl_modules_attributes.php but I can't get it right...

10 Feb 2009, 2:00 AM
#308
clydejones avatar

clydejones

Deceased

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

Re: Comstock Template

ivogue:

Thank you so much for your help. Without you I would spend hrs finding the codes. One last question (hopefully XD)

On the front page where it says:

New Customer? Create Account Returning Customers? Log In.

The LOG IN LINK, links to (I think your website)

https://mysticmountainnaturals.com/login.html

How to fix that?

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

replace line 94 with the following:

    <li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a></li>
10 Feb 2009, 2:15 AM
#309
clydejones avatar

clydejones

Deceased

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

Re: Comstock Template

ivogue:

One last question, Should've ask this one first.

On my product page, I have Attributes...

I am trying to switch Options Comment with Option Name.

I been playing with tpl_modules_attributes.php but I can't get it right...

This is not template specific and should really be addressed in the appropriate forum thread.

12 Feb 2009, 12:47 PM
#310
ivogue avatar

ivogue

New Zenner

Join Date:
Nov 2008
Posts:
16
Plugin Contributions:
0

Re: Comstock Template

Dear Clyde,

thx for pointing me to the right direction.

I tried to edit my header but the code is the same.

I have this also:

      <li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a></li>   
12 Feb 2009, 4:34 PM
#311
clydejones avatar

clydejones

Deceased

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

Re: Comstock Template

ivogue:

Dear Clyde,

thx for pointing me to the right direction.

I tried to edit my header but the code is the same.

I have this also:

  <li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a></li>   

check includes/languages/english/comstock/index.php

lines 25 to 29 should read as follows:
```php
if (STORE_STATUS == '0') {
  define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s">log yourself in</a>?');
} else {
  define('TEXT_GREETING_GUEST', 'Welcome, please enjoy our online showcase.');
}
27 Feb 2009, 10:33 AM
#312
cougar avatar

cougar

New Zenner

Join Date:
Feb 2009
Posts:
8
Plugin Contributions:
0

Re: Comstock Template

Gday
Have just installed CSS dropdown mod on comstock template.

It works fine in FF but when viewing in IE7 the dropdown menu doesn't display on top layer and displays behind description page.

http://901.com.au/index.php test site to see in action (View in IE 7)

Posted question in CSS mod forum which gave

AnswerHave you tried giving the menu a higher z-index than the content?

I adjusted the z-index for the dropdown menu but am still having the same problem as seen here http://901.com.au/images/ie7page.jpg Where would i adjust the z-index for the content for comstock template to have it appear behind the dropdown menu ?

27 Feb 2009, 2:51 PM
#313
clydejones avatar

clydejones

Deceased

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

Re: Comstock Template

cougar:

Gday
Have just installed CSS dropdown mod on comstock template.

It works fine in FF but when viewing in IE7 the dropdown menu doesn't display on top layer and displays behind description page.

http://901.com.au/index.php test site to see in action (View in IE 7)

Posted question in CSS mod forum which gave

AnswerHave you tried giving the menu a higher z-index than the content?

I adjusted the z-index for the dropdown menu but am still having the same problem as seen here http://901.com.au/images/ie7page.jpg Where would i adjust the z-index for the content for comstock template to have it appear behind the dropdown menu ?

Try adding it to this declaration: (in stylesheet.css

.centerColumn {
padding: 0.8em 0.8em 40px 0.8em;
background: #fff;
font-size: 1.2em;

}

28 Feb 2009, 3:20 AM
#314
cougar avatar

cougar

New Zenner

Join Date:
Feb 2009
Posts:
8
Plugin Contributions:
0

Re: Comstock Template

clydejones:

Try adding it to this declaration: (in stylesheet.css

.centerColumn {
padding: 0.8em 0.8em 40px 0.8em;
background: #fff;
font-size: 1.2em;

}

Cheers for the reply clyde

Have inserted z-index: 850; in the area you suggested as above,
in the stylesheet_header_menu.css (for dropdown menu) is z-index: 1025;
yet menu is still appearing behind the center area...Any other suggestions?

Thanks

28 Feb 2009, 4:37 AM
#315
clydejones avatar

clydejones

Deceased

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

Re: Comstock Template

cougar:

Cheers for the reply clyde

Have inserted z-index: 850; in the area you suggested as above,
in the stylesheet_header_menu.css (for dropdown menu) is z-index: 1025;
yet menu is still appearing behind the center area...Any other suggestions?

Thanks

This seems to be (as usual) an IE bug

For more information do a google search for z-index ie

You can try this to see if it helps. add the highlighted portion.
.centerColumn {
padding: 0.8em 0.8em 40px 0.8em;
background: #fff;
font-size: 1.2em;
z-index:800;
position:relative;
}

3 Mar 2009, 9:27 AM
#316
cougar avatar

cougar

New Zenner

Join Date:
Feb 2009
Posts:
8
Plugin Contributions:
0

Re: Comstock Template

clydejones:

This seems to be (as usual) an IE bug

For more information do a google search for z-index ie

You can try this to see if it helps. add the highlighted portion.
.centerColumn {
padding: 0.8em 0.8em 40px 0.8em;
background: #fff;
font-size: 1.2em;
z-index:800;
position:relative;
}

Thanks clydejones

the position:relative; didn't seem to make any difference,
i have noticed it works correctly on beta version IE 8 so perhaps they have fixed this IE bug in the latest version.

Until then...if everything i have read with my limited understanding is this error occurs because the menu is called to be displayed before the main content.
This causes the main content to display over the top regardless of z-index.
Would it be possible to move the callup of main index (or dropdown menu)?
if so which files would i need to fiddle around with to test or would it be like opening a can of worms and best leaving it alone.

Cheers
Cougar

3 Mar 2009, 4:19 PM
#317
clydejones avatar

clydejones

Deceased

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

Re: Comstock Template

cougar:

Thanks clydejones

the position:relative; didn't seem to make any difference,
i have noticed it works correctly on beta version IE 8 so perhaps they have fixed this IE bug in the latest version.

Until then...if everything i have read with my limited understanding is this error occurs because the menu is called to be displayed before the main content.
This causes the main content to display over the top regardless of z-index.
Would it be possible to move the callup of main index (or dropdown menu)?
if so which files would i need to fiddle around with to test or would it be like opening a can of worms and best leaving it alone.

Cheers
Cougar

Try this to give you a small amount of space between the menu and the main content area.

add the highlighted portion to the following declaration in
includes/templates/comstock/css/stylesheet.css

#mainWrapper {
margin: 0 auto;
margin-top:5px;
padding: 0;
background: #fff;
border: 1px solid #000;

text-align: left;
width: 90%;
vertical-align: top;
}
6 Mar 2009, 3:33 AM
#318
edn_inc avatar

edn_inc

New Zenner

Join Date:
Jan 2009
Posts:
13
Plugin Contributions:
0

Re: Comstock Template

I know this is a major forum faux pas, but this thread is WAY too long to read for my 2 issues. So, please forgive me!

I've just installed the comstock template pckg into my cart on a test server (a friend's server, she allowed me to host my stuff there until I get this up and running) and it appears that the center box looks as if it's just slapped on top of the red/black header bar that goes across. I thought it was my browser, so I used a different one to check it out, but that's not the issue. (I used Firefox and Safari.) I'm not sure why it's showing up this way, am I alone in this? If you want to see what I'm talking about you can look at it here. I'm still editing everything but that is just driving me nuts, esp. since it's not what it's supposed to look like, based on the other images I've seen of comstock!

The second issue, I cannot for the life of me get rid of the "Welcome to Vacuum Warehouse" thing I put in there before I uploaded comstock. And I don't know how to get rid of it! Help!

6 Mar 2009, 4:02 AM
#319
edn_inc avatar

edn_inc

New Zenner

Join Date:
Jan 2009
Posts:
13
Plugin Contributions:
0

Re: Comstock Template

Oops, I lied, I have other issues that have come up in the oh, 30 minutes since i posted ^ that.

In the Contact Us section, our store address is showing up at the top here. It's not in the define pages editor and I think it's specific to this template, since I didn't have this issue before I uploaded it.

Also, the same address is on the bottom left of every page. Where can I edit that out, and maybe rebalance that with some of what's on the right by movign that to the left?

6 Mar 2009, 5:12 AM
#320
clydejones avatar

clydejones

Deceased

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

Re: Comstock Template

EDN-inc:

I know this is a major forum faux pas, but this thread is WAY too long to read for my 2 issues. So, please forgive me!

I've just installed the comstock template pckg into my cart on a test server (a friend's server, she allowed me to host my stuff there until I get this up and running) and it appears that the center box looks as if it's just slapped on top of the red/black header bar that goes across. I thought it was my browser, so I used a different one to check it out, but that's not the issue. (I used Firefox and Safari.) I'm not sure why it's showing up this way, am I alone in this? If you want to see what I'm talking about you can look at it here. I'm still editing everything but that is just driving me nuts, esp. since it's not what it's supposed to look like, based on the other images I've seen of comstock!

The second issue, I cannot for the life of me get rid of the "Welcome to Vacuum Warehouse" thing I put in there before I uploaded comstock. And I don't know how to get rid of it! Help!

1st - turn on the EZ-Pages header: admin -> configuration -> EZ-Pages Settings -> EZ-Pages Display Status - HeaderBar (set to 1)

2nd - open includes/languages/english/comstock/index.php

find and edit the following lines of code indicated by the highlight

  define('HEADING_TITLE', 'Welcome to ' .STORE_NAME); /*Replace this line with the headline you would like for your shop. For example: Welcome to My SHOP!*/
} elseif ($category_depth == 'nested') {
  // this will also be used on Top Level
  define('HEADING_TITLE', 'Welcome to ' .STORE_NAME); /*Replace this line with the headline you would like for your shop. For example: Welcome to My SHOP!*/
}

EDN-inc:

Oops, I lied, I have other issues that have come up in the oh, 30 minutes since i posted ^ that.

In the Contact Us section, our store address is showing up at the top here. It's not in the define pages editor and I think it's specific to this template, since I didn't have this issue before I uploaded it.

Also, the same address is on the bottom left of every page. Where can I edit that out, and maybe rebalance that with some of what's on the right by movign that to the left?

1st - no its not template specific: go to admin -> configuration -> e-mail options -> Contact Us - Show Store Name and Address (set to 0)

2nd - open includes/templates/comstock/common/footer.php

find the following section of code indicated by the highlight and edit/change it to suit you.

<div id="shopinfoBox">
<address><?php echo nl2br(STORE_NAME_ADDRESS); ?></address>
</div>