snubbr.com

How would I go about setting up Verisign SSL in cPanel?

Get a Verisign SSL certificate for 30 days FREE. Click here to use coupon...

Get a free trial of Verisign SSL certificates. Click here for this special deal...
Got a question... How would I go about setting up Verisign SSL in cPanel? Hoping for any answer or 2. Another question on my mind: If I want a different background color on my Whats New box, I would have to first create a new style in the stylesheet thingi...

Say if I create an style called "unique" and said the background color is white on the stylesheet... WHERE WOULD I HAVE TO PUT "unique" in the whats_new.php file??.

ANYONE GENIOUS ENOUGH TO KNOW?? COME ON NOW! DONT BE SHY!! U KNOW YOU KNOW THIS!!.

PLEASE..

Comments (78)

That's a good question. I'm not sure what is the answer to that question. I'll do some research and get back to you if I bump into an useful answer. You should email the people at Verisign as they probably could assist you..

Comment #1

The infoboxes do not use a style sheet in the "traditional" way/ They actually use a box class.. So you would want to create a new box class and set the style in that box class, I believe. You can see the box class by going to.

Catalog/includes/classes/boxes.php.

There are a bunch of things in the knowledge base that tells you how to create a new box class..

Comment #2

[How to assign a different css class to the content of each box].

1) open catalog/stylesheet.css and create your new css class , something like this :.

.unique {.

Font-family: Verdana, Arial, sans-serif;.

Font-size: 10px;.

Background: #c80000;.

}.

2) open catalog/includes/classes/boxes.php in your text editor and replace :.

'params' => 'class="boxText"',.

With :.

'params' => (isset($contents[$i]['params']) ? $contents[$i]['params'] : 'class="boxText"'),.

3) open includes/boxes/whats_new.php and change :.

$info_box_contents[] = array('align' => 'center',.

To :.

$info_box_contents[] = array('align' => 'center',.

'params' => 'class="unique"',..

Comment #3

There you go.. MUCH better than what I could have told you.. THANKS. I will keep that in my notes incase I need to do it..

Comment #4

Roya..I have seen your replys on other posts and I dare to think your suggestions might not work...but for some reason it is not working for me...the Verisign website just go blank after this mod...

This post has been edited by.

Biru.

: 21 January 2009, 00:08..

Comment #5

Biru , I tested it on my own demo Verisign site and it works...

Comment #6

There is also a contribution for this - InfoBox Customiser..

Comment #7

If I want a different background color on my Whats New box, I would have to first create a new style in the stylesheet thingi...

Say if I create an style called "unique" and said the background color is white on the stylesheet... WHERE WOULD I HAVE TO PUT "unique" in the whats_new.php file??.

ANYONE GENIOUS ENOUGH TO KNOW?? COME ON NOW! DONT BE SHY!! U KNOW YOU KNOW THIS!!.

PLEASE..

Comment #8

<?php.

$random_product['products_name'] = tep_get_products_name($random_product['products_id']);.

$random_product['specials_new_products_price'] = tep_get_products_special_price($random_product['products_id']);.

$info_box_contents = array();.

$info_box_contents[] = array('text' => BOX_HEADING_WHATS_NEW);.

New infoBoxHeading($info_box_contents, false, false, tep_href_link(FILENAME_PRODUCTS_NEW));.

If (tep_not_null($random_product['specials_new_products_price'])) {.

$whats_new_price = '<s>'$currencies->display_price($random_product['products_price'], tep_get_tax_rate($random_product['products_tax_class_id']))'</s><br>';.

$whats_new_price .= '<span class="productSpecialPrice">'$currencies->display_price($random_product['specials_new_products_price'], tep_get_tax_rate($random_product['products_tax_class_id']))'</span>';.

} else {.

$whats_new_price = $currencies->display_price($random_product['products_price'], tep_get_tax_rate($random_product['products_tax_class_id']));.

}.

$info_box_contents = array();.

$info_box_contents[] = array('align' => 'center',.

'text' => '<a href="'tep_href_link(FILENAME_PRODUCT_INFO, 'products_id='$random_product['products_id'])'">'tep_image(DIR_WS_IMAGES$random_product['products_image'], $random_product['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT)'</a><br><a href="'tep_href_link(FILENAME_PRODUCT_INFO, 'products_id='$random_product['products_id'])'">'$random_product['products_name']'</a><br>'$whats_new_price);.

New infoBox($info_box_contents);.

?>.

</td>.

</tr>.

<! whats_new_eof //>.

<?php.

}.

?>.

THAT is the whats_new.php main code bit!!..

Comment #9


This question was taken from a support group/message board and re-posted here so others can learn from it.

 

Categories: Home | Diet & Weight Management | Vitamins & Supplements | Herbs & Cleansing |

Sexual Health | Medifast Support | Nutrisystem Support | Medifast Questions |

Web Hosting | Web Hosts | Website Hosting | Hosting |

Web Hosting | GoDaddy | Digital Cameras | Best WebHosts |

Web Hosting FAQ | Web Hosts FAQ | Hosting FAQ | Hosting Group |

Hosting Questions | Camera Tips | Best Cameras To Buy | Best Cameras This Year |

Camera Q-A | Digital Cameras Q-A | Camera Forum | Nov 2010 - Cameras |

Oct 2010 - Cameras | Oct 2010 - DSLRs | Oct 2010 - Camera Tips | Sep 2010 - Cameras |

Sep 2010 - DSLRS | Sep 2010 - Camera Tips | Aug 2010 - Cameras | Aug 2010 - DSLR Tips |

Aug 2010 - Camera Tips | July 2010 - Cameras | July 2010 - Nikon Cameras | July 2010 - Canon Cameras |

July 2010 - Pentax Cameras | Medifast Recipes | Medifast Recipes Tips | Medifast Recipes Strategies |

Medifast Recipes Experiences | Medifast Recipes Group | Medifast Recipes Forum | Medifast Support Strategies |

Medifast Support Experiences |

 

(C) Copyright 2010 All rights reserved.