Zen Cart Logo
Forums / Addon Templates / Cold Steel Template Support Thread

Cold Steel Template Support Thread

Views: 132,851

Results 21 to 40 of 691
10 Dec 2008, 4:31 PM
#21
clydejones avatar

clydejones

Deceased

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

Cold Steel Template Support Thread

Decostyle:

Great! Thank you so much!!! :clap:

Can I trouble you for something else? I'm wondering if the product info page you have on your demo site is a module you have for download?

Product Info (across)

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

11 Dec 2008, 7:12 PM
#22
decostyle avatar

decostyle

Zen Follower

Join Date:
Mar 2008
Posts:
336
Plugin Contributions:
0

Re: Cold Steel Template Support Thread

Hi Clyde,

On the product info module across, the review, tell a friend, ask a question buttons do not show.

I also tried to move the "product date added" line below the qty discount and it does not show up.

The lines have not been commented out on tpl_product_info_display.php so I'm wondering where it went? Am I doing something wrong?

Thanks!

11 Dec 2008, 10:25 PM
#23
clydejones avatar

clydejones

Deceased

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

Re: Cold Steel Template Support Thread

Decostyle:

Hi Clyde,

On the product info module across, the review, tell a friend, ask a question buttons do not show.

I also tried to move the "product date added" line below the qty discount and it does not show up.

The lines have not been commented out on tpl_product_info_display.php so I'm wondering where it went? Am I doing something wrong?

Thanks!

Make sure these options are turned on in

admin -> catalog -> product types -> product general -> edit layout

Show Product Reviews Button
Show Date Available
Show Date Added
Show Product Tell a Friend button

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

12 Dec 2008, 1:15 PM
#24
decostyle avatar

decostyle

Zen Follower

Join Date:
Mar 2008
Posts:
336
Plugin Contributions:
0

Re: Cold Steel Template Support Thread

Hi Clyde,

Yes these are all enabled. I did a series of disabling the files used for this module and it seems that something on the tpl_product_info_display.php is breaking the code. If I disable this and use the original tpl_product_info_display.php, all the buttons show up.

I noticed that on your demosite using this module and template, you also do not show the buttons review and tell a friend, has this been disabled in yours?

12 Dec 2008, 3:13 PM
#25
clydejones avatar

clydejones

Deceased

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

Re: Cold Steel Template Support Thread

Decostyle:

Hi Clyde,

Yes these are all enabled. I did a series of disabling the files used for this module and it seems that something on the tpl_product_info_display.php is breaking the code. If I disable this and use the original tpl_product_info_display.php, all the buttons show up.

I noticed that on your demosite using this module and template, you also do not show the buttons review and tell a friend, has this been disabled in yours?

Yes, I've turned them off via the admin switches.

Are you receiving any type of error message?

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

15 Dec 2008, 3:20 PM
#26
decostyle avatar

decostyle

Zen Follower

Join Date:
Mar 2008
Posts:
336
Plugin Contributions:
0

Re: Cold Steel Template Support Thread

Hi Clyde,

No there are no error messages. The buttons just don't show up.

On other things, I'm trying to integrate COWOA into the template. On another site I was able to enter the COWOA code into tpl_login_default with the split login screen false section. On the cold steel template I was doing the same thing but for some reason the COWOA login does not show up on the login page.

These are what I did:

On login.css added:

.cowoa {
margin: 0 auto;
padding: 0;
width: 50%;
}

On tpl_login_default.php added just after the BOF normal login code:

<!--bof cowoa--> <div class="cowoa"> <?php if ($_SESSION['cart']->count_contents() > 0) { ?> <br class="clearBoth" /> <hr id="catBoxDivider" /> <br class="clearBoth" /> <fieldset class="main"> <legend><?php echo TEXT_RATHER_COWOA; ?></legend> <div class="buttonRow forward"> <?php echo "<a href=\"" . zen_href_link(FILENAME_NO_ACCOUNT, '', 'SSL') . "\">"; ?> <?php echo zen_image_button(BUTTON_IMAGE_CONTINUE, BUTTON_CONTINUE_ALT); ?></a></div> <?php } ?> </fieldset> </form> </div> <!--eof cowoa-->

I'm not sure if I am missing anything but when I tried copying and pasting it on the split login true screen, it also does not show up. Any ideas?

:wacko:

15 Dec 2008, 3:38 PM
#27
clydejones avatar

clydejones

Deceased

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

Re: Cold Steel Template Support Thread

Decostyle:

Hi Clyde,

No there are no error messages. The buttons just don't show up.

On other things, I'm trying to integrate COWOA into the template. On another site I was able to enter the COWOA code into tpl_login_default with the split login screen false section. On the cold steel template I was doing the same thing but for some reason the COWOA login does not show up on the login page.

These are what I did:

On login.css added:

.cowoa {
margin: 0 auto;
padding: 0;
width: 50%;
}

On tpl_login_default.php added just after the BOF normal login code:

<!--bof cowoa--> <div class="cowoa"> <?php if ($_SESSION['cart']->count_contents() > 0) { ?> <br class="clearBoth" /> <hr id="catBoxDivider" /> <br class="clearBoth" /> <fieldset class="main"> <legend><?php echo TEXT_RATHER_COWOA; ?></legend> <div class="buttonRow forward"> <?php echo "<a href=\"" . zen_href_link(FILENAME_NO_ACCOUNT, '', 'SSL') . "\">"; ?> <?php echo zen_image_button(BUTTON_IMAGE_CONTINUE, BUTTON_CONTINUE_ALT); ?></a></div> <?php } ?> </fieldset> </form> </div> <!--eof cowoa-->

I'm not sure if I am missing anything but when I tried copying and pasting it on the split login true screen, it also does not show up. Any ideas?

:wacko:

I'm not familiar with cowoa so I can't help you with this.

I might suggest that you delete the tpl_login.php that came with the template and use the one that comes with the cowoa module.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

17 Dec 2008, 5:40 PM
#28
decostyle avatar

decostyle

Zen Follower

Join Date:
Mar 2008
Posts:
336
Plugin Contributions:
0

Re: Cold Steel Template Support Thread

Hi Clyde,

Need your help again! On your test site using the cold steel template, you have a Donate Via Paypal button right below the search box on the header.

I'd like to do something similar except it will be a different image. How do I go about adding this?

Thanks for your help!:yes:

17 Dec 2008, 6:21 PM
#29
clydejones avatar

clydejones

Deceased

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

Re: Cold Steel Template Support Thread

Decostyle:

Hi Clyde,

Need your help again! On your test site using the cold steel template, you have a Donate Via Paypal button right below the search box on the header.

I'd like to do something similar except it will be a different image. How do I go about adding this?

Thanks for your help!:yes:

It will depend on how the "button" is implemented.

Mine is Java script based.

You'll need to add a declaration for the required div in the stylesheet.css.

.donate {
position: absolute;
top: 35px;
right: 0;
}

You'll also need to edit includes/templates/cold_steel/common/tpl_header.php

find the following section of code and add the highlighted portion:

<div id="navMainSearch"><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></div>
<div class="donate">The code for your donate button</div>
<div class="date"><?php echo strftime(DATE_FORMAT_LONG);?></div>

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

17 Dec 2008, 8:00 PM
#30
decostyle avatar

decostyle

Zen Follower

Join Date:
Mar 2008
Posts:
336
Plugin Contributions:
0

Re: Cold Steel Template Support Thread

Hi Clyde,

Many thanks! It is just an image I put up there but your how-to worked out just fine! :clap:

18 Dec 2008, 4:42 PM
#31
decostyle avatar

decostyle

Zen Follower

Join Date:
Mar 2008
Posts:
336
Plugin Contributions:
0

Re: Cold Steel Template Support Thread

Hi Clyde,

On the layout boxes control, the document_categories.php sidebox is under the cold_steel template and the document_categories on the template default is not found. When I try to have the document_category appear by creating a document_general product, it does not show up on the sidebox.

How do I make this appear? Thanks

18 Dec 2008, 4:50 PM
#32
clydejones avatar

clydejones

Deceased

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

Re: Cold Steel Template Support Thread

Decostyle:

Hi Clyde,

On the layout boxes control, the document_categories.php sidebox is under the cold_steel template and the document_categories on the template default is not found. When I try to have the document_category appear by creating a document_general product, it does not show up on the sidebox.

How do I make this appear? Thanks

just delete this file from your server
includes/modules/sideboxes/cold_steel/document_categories.php

After doing this things should revert to the default handling of this particular sidebox.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

18 Dec 2008, 6:52 PM
#33
decostyle avatar

decostyle

Zen Follower

Join Date:
Mar 2008
Posts:
336
Plugin Contributions:
0

Re: Cold Steel Template Support Thread

Hello again!

Thanks for all your help. I have another question. On the lower left side of the template, the store name and address appears. I would like to change this to something else, a logo of an organization we are part of, and some information about this.

I know I can "fake" the logo by just creating an image file and adding the logo to it however how do I remove the Store address and replace it with some other text or else just disable it all together?

18 Dec 2008, 7:45 PM
#34
clydejones avatar

clydejones

Deceased

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

Re: Cold Steel Template Support Thread

Decostyle:

Hello again!

Thanks for all your help. I have another question. On the lower left side of the template, the store name and address appears. I would like to change this to something else, a logo of an organization we are part of, and some information about this.

I know I can "fake" the logo by just creating an image file and adding the logo to it however how do I remove the Store address and replace it with some other text or else just disable it all together?

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

find the following section of code and delete the highlighted portion.

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

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

19 Dec 2008, 3:58 PM
#35
decostyle avatar

decostyle

Zen Follower

Join Date:
Mar 2008
Posts:
336
Plugin Contributions:
0

Re: Cold Steel Template Support Thread

Hello Clyde,

I am using the bettercategories file on my documents category and ezpages sidebox.

On firefox it looks fine but on internet explorer, it is looking for the image files that came with it.

I noticed on your version of the categories, all you had was a dot instead of an image and it looks okay on i.e too. Would you please let me know how I can do the same for my documents category and ez pages sidebox? Thanks again for all your help!!

:wink:

19 Dec 2008, 4:56 PM
#36
clydejones avatar

clydejones

Deceased

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

Re: Cold Steel Template Support Thread

Decostyle:

Hello Clyde,

I am using the bettercategories file on my documents category and ezpages sidebox.

On firefox it looks fine but on internet explorer, it is looking for the image files that came with it.

I noticed on your version of the categories, all you had was a dot instead of an image and it looks okay on i.e too. Would you please let me know how I can do the same for my documents category and ez pages sidebox? Thanks again for all your help!!

:wink:

open the file inludes/templates/cold_steel/sideboxes/tpl_document_categories.php

find the following section of code
  	//picking the appropriate pointer image:
  	switch ($categoryType) {
  		case "down":
  			$pointer = zen_image(DIR_WS_TEMPLATE_IMAGES . 'bc_doc_pointer_down.gif');
   			break;
  		case "right":
  			$pointer = zen_image(DIR_WS_TEMPLATE_IMAGES . 'bc_doc_pointer_right.gif');
  			break;
  		default:
  			$pointer = zen_image(DIR_WS_TEMPLATE_IMAGES . 'bc_doc_no_sub.gif');
  	}
And change it as follows:
  	//picking the appropriate pointer image:
  	switch ($categoryType) {
  		case "down":
  			$pointer = zen_image(DIR_WS_TEMPLATE_IMAGES . 'bc_cat_pointer_down.gif');
   			break;
  		case "right":
  			$pointer = zen_image(DIR_WS_TEMPLATE_IMAGES . 'bc_cat_pointer_right.gif');
  			break;
  		default:
  			$pointer = zen_image(DIR_WS_TEMPLATE_IMAGES . 'bc_cat_no_sub.gif');
  	}

Open the file inludes/templates/cold_steel/sideboxes/tpl_expages.php

find the following section of code:

  $pointer = zen_image(DIR_WS_TEMPLATE_IMAGES . 'bc_ezpages.gif');

and change it as follows:

  $pointer = zen_image(DIR_WS_TEMPLATE_IMAGES . 'bc_cat_no_sub.gif');

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

19 Dec 2008, 5:07 PM
#37
decostyle avatar

decostyle

Zen Follower

Join Date:
Mar 2008
Posts:
336
Plugin Contributions:
0

Re: Cold Steel Template Support Thread

Thank you!!!!! :clap:

19 Dec 2008, 7:35 PM
#38
decostyle avatar

decostyle

Zen Follower

Join Date:
Mar 2008
Posts:
336
Plugin Contributions:
0

Re: Cold Steel Template Support Thread

Hello Clyde,

We are currently using a GODaddy SSL and their site seal is slow to load. So what happens is everytime, anything is clicked on the main page the whole site reloads without the middle portion showing waiting for the sidebox godaddy seal to load (Btw, I used a banner ad to sidebox for this.) Once it is loaded the main page is shown.

On the other website I made, I prevented this by putting the seal site on the right hand bottom side so the loading flow would go from left sidebox, to mainpage and the right sidebox is last.

Is there a way to manipulate the flow of page load to make the sidebox godaddy seal be last?

Thanks again!! Your expertise is much appreciated!

19 Dec 2008, 10:24 PM
#39
clydejones avatar

clydejones

Deceased

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

Re: Cold Steel Template Support Thread

Decostyle:

Hello Clyde,

We are currently using a GODaddy SSL and their site seal is slow to load. So what happens is everytime, anything is clicked on the main page the whole site reloads without the middle portion showing waiting for the sidebox godaddy seal to load (Btw, I used a banner ad to sidebox for this.) Once it is loaded the main page is shown.

On the other website I made, I prevented this by putting the seal site on the right hand bottom side so the loading flow would go from left sidebox, to mainpage and the right sidebox is last.

Is there a way to manipulate the flow of page load to make the sidebox godaddy seal be last?

Thanks again!! Your expertise is much appreciated!

Without a URL I wouldn't be able to tell.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

22 Dec 2008, 4:24 PM
#40
royal avatar

royal

Zen Follower

Join Date:
Jun 2008
Location:
Canada
Posts:
261
Plugin Contributions:
0

Re: Cold Steel Template Support Thread

Re: Date displayed in the header

Hello Clyde,

How did you add the date in the header? I love that!:smile:

P.S. Great template

Pre-Owned Books and Second Hand Stuff: http://www.onlineyardsale.ca