snubbr.com

Can anyone help me with Verisign SSL,what is it in Apache exactly?If you can explain me?

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...
My first question is Can anyone help me with Verisign SSL,what is it in Apache exactly?If you can explain me? Looking forward for any answer. My 2nd question... Hi.

I have been working on my 3rd oscommerce theme for a clients site, it's a bit more unusual than my normal type..

My issue is on the main page the " IMAGE_BUTTON_DETAILS" and "IMAGE_BUTTON_" graphics will not show and for the life of me I cant find where to fix this!.

I "think" every other aspect of the store works ok across the browsers and in multiple resolutions. (if anyone sees anything else I would be extremely grateful.

).

Link:.

Http://tropicaweb.co.uk/osc/index.php.

Thanks in advance..

Comments (88)

Yes sir! but... you might want to make sure and wait for another member to confirm it as I am not sure. Better yet, why don't you e-mail the Verisign guys because they can assist you better...

Comment #1

Thanks dickysolo, I checked the directory and the buttons are in place..

I checked english.php and the "IMAGE_BUTTON_DETAILS" and "IMAGE_BUTTON_BY_NOW" and they were not defined, so I added a few lines and defined them both, so as you can see the buttons now have the correct text, but still no images..

I checked filenames and my stylesheets but still cant find them?.

Thanks..

Comment #2

Do one thing... Check in the "catalog/includes/modules/new_products.php" see if you include the image path. Or can you post the new_products.php code??..

Comment #3

<?php.

/*.

$Id: new_products.php 1806 2008-01-11 22:48:15Z hpdl $.

OsCommerce, Open Source E-Commerce Solutions.

Http://www.oscommerce.com.

Copyright (c) 2008 osCommerce.

Released under the GNU General Public License.

*/.

?>.

<! new_products //>.

<?php.

$info_box_contents = array();.

$info_box_contents[] = array('text' => sprintf(TABLE_HEADING_NEW_PRODUCTS, strftime('%B')));.

New contentBoxHeading($info_box_contents);.

If ( (!isset($new_products_category_id)) || ($new_products_category_id == '0') ) {.

$new_products_query = tep_db_query("select p.products_id, p.products_image, p.products_tax_class_id, pd.products_name, pd.products_description, if(s.status, s.specials_new_products_price, p.products_price) as products_price from "TABLE_PRODUCTS" p left join "TABLE_SPECIALS" s on p.products_id = s.products_id, "TABLE_PRODUCTS_DESCRIPTION" pd where p.products_status = '1' and p.products_id = pd.products_id and pd.language_id = '"(int)$languages_id"' order by p.products_date_added desc limit "MAX_DISPLAY_NEW_PRODUCTS);.

} else {.

$new_products_query = tep_db_query("select distinct p.products_id, p.products_image, p.products_tax_class_id, pd.products_name, pd.products_description, if(s.status, s.specials_new_products_price, p.products_price) as products_price from "TABLE_PRODUCTS" p left join "TABLE_SPECIALS" s on p.products_id = s.products_id, "TABLE_PRODUCTS_DESCRIPTION" pd, "TABLE_PRODUCTS_TO_CATEGORIES" p2c, "TABLE_CATEGORIES" c where p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and c.parent_id = '"(int)$new_products_category_id"' and p.products_status = '1' and p.products_id = pd.products_id and pd.language_id = '"(int)$languages_id"' order by p.products_date_added desc limit "MAX_DISPLAY_NEW_PRODUCTS);.

}.

$row = 0;.

$col = 0;.

$info_box_contents = array();.

While ($new_products = tep_db_fetch_array($new_products_query)) {.

?>.

<? $info_box_contents[$row][$col] = array('align' => 'left',.

'params' => 'class="smallText" width="33%" valign="top"',.

'text' => '<table border="0" width="100%" cellspacing="0" style="border: 1px solid #e91c85;margin-top:5px;margin-bottom:5px;">.

<tr>.

<td align="center" class="smallText" width="120" valign="middle">.

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

</td>.

<td align="left" class="smallText" width="400" valign="top">.

<span class="pc_pname"><a href="'tep_href_link(FILENAME_PRODUCT_INFO, 'products_id='$new_products['products_id'])'">'$new_products['products_name']'</a></span>.

<br />.

<br />.

<span class="pc_description">'substr($new_products['products_description'],0, 200) .'<a href="'tep_href_link(FILENAME_PRODUCT_INFO, 'products_id='$new_products['products_id'])'">[...]</a></span>.

</td>.

</tr>.

<tr>.

<td align="center" class="smallText" width="120" valign="middle">.

<span class="pc_price">'$currencies->display_price($new_products['products_price'], tep_get_tax_rate($new_products['products_tax_class_id'])) .'</span>.

<br /><br />.

</td>.

<td align="left" class="smallText" valign="top" style="border-top:1px dashed #999999;">'. tep_draw_form('cart_quantity', tep_href_link(FILENAME_PRODUCT_INFO, tep_get_all_get_params(array('action'))'action=add_product')).'.

<table width="120" border="0" cellspacing="0" cellpadding="0">.

<tr> .

<td style="padding-top:1px; padding-right:1px;" ><a href="'.tep_href_link(FILENAME_PRODUCT_INFO, 'products_id='$new_products['products_id']).'">'.tep_image_button('button_details.gif', IMAGE_BUTTON_DETAILS).'</a></td><td style="padding-top:1px;">'.tep_draw_hidden_field('products_id', $new_products['products_id'])tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_BY_NOW).'</td>.

</tr>.

</table></form>.

</td>.

</tr>.

</table>.

');.

?>.

<?.

$col ++;.

If ($col > 0) {.

$col = 0;.

$row ++;.

}.

}.

New contentBox($info_box_contents);.

?>.

<! new_products_eof //>.

I have tried a few different paths but it doesnt seem to work?..

Comment #4

Please try this:.

Tep_image_button(DIR_WS_IMAGES'button_details.gif', IMAGE_BUTTON_DETAILS).

If the problem persists, open /includes/functions/html_output.php in a text editor and verify "tep_image_button" function. The problem comes probably from this function (I suppose that it has been modified)...

Comment #5

Take a peek at the HTML source..

<div class="cssButton" style="width: 154px;">&nbsp;IMAGE_BUTTON_DETAILS&nbsp;</div>.

The template is coded to use css buttons not images:.

.cssButton {.

Background: #000000;.

Color: #ffffff;.

Width: 100px;.

Height: 20px;.

Vertical-align: top;.

Font-weight: normal;.

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

Font-size: 12px;.

Cursor: pointer;.

Text-align: center;.

Text-decoration: none;.

Border: 1px;.

Border-style: solid;.

Border-color: #282828;.

Border-spacing: 1px;.

}..

Comment #6

Probably defined in his html_output.php/tep_image_button or tep_image function with an error, something like.

'CONSTANT'.

Instead of.

.CONSTANT..

(je parie 1 twix que j'ai raison)..

Comment #7

I think I got it, the buttons were not defined and I forgot it was a css button used, so that sorted that one out!.

Thanks for all your help and input, really appreciate it..

Comment #8

Hi.

I have been working on my 3rd oscommerce theme for a clients site, it's a bit more unusual than my normal type..

My issue is on the main page the " IMAGE_BUTTON_DETAILS" and "IMAGE_BUTTON_" graphics will not show and for the life of me I cant find where to fix this!.

I "think" every other aspect of the store works ok across the browsers and in multiple resolutions. (if anyone sees anything else I would be extremely grateful.

).

Link:.

Http://tropicaweb.co.uk/osc/index.php.

Thanks in advance..

Comment #9

I think you misplaced the button images........

It should be under "catalog/includes/languages/english/images" plz just check once again..

Comment #10


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.