snubbr.com

Does any1 know an HTTPS/Verisign SSL proxy that can allow me to download from megaupload?

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 quick question: Does any1 know an HTTPS/Verisign SSL proxy that can allow me to download from megaupload? Thanks in advance for any comment. Another question I got... Hi there,.

I have 2 issues of embedded coding that I need to pay attention to:.

1) The first is related to the product info. On the product preview and the full product display there is some text stating Model ID. I dont want this in either instance but cannot find the correct code to remove..

For an example please visit.

HERE.

And note the the model ID, then if you click on one fo the items the model ID actuyally changes? I need to remove both instances of this..

2) The second I have addressed previously but am now doing in a more formatted detail. My Verisign website is based on a template, from which I cannot recall where from and there is no code snippets to confirm within the website. The issue I have is the left column is basically 2 menus (brands & Catagories). I want to use the oprion of a drop down menu for the brands as there are too many for the current format..

I have used the admin to alter this but it does not work, I have since found the embedded code that is causing this but do not know how to change this. When removed the whole menu is removed. The code is located in the header.php and is as follows:.

<? // MANUFACTURERS STRING OUTPUT.

$manufacturers_query = tep_db_query("select manufacturers_id, manufacturers_name from "TABLE_MANUFACTURERS" order by manufacturers_name");.

If ($number_of_rows = tep_db_num_rows($manufacturers_query)) {.

$manufacturers_array = array();.

While ($manufacturers = tep_db_fetch_array($manufacturers_query)) {.

$output .= $output ? '<tr><td height=1></td></tr>' : '';.

$output .= '<tr><td><img src=images/m12.gif width=19 height=19></td><td bgcolor=#E7DCCB width=220 height=19 class=ch5><a class=ml2 href=';.

$manufacturers_name = ((strlen($manufacturers['manufacturers_name']) > MAX_DISPLAY_MANUFACTURER_NAME_LEN) ? substr($manufacturers['manufacturers_name'], 0, MAX_DISPLAY_MANUFACTURER_NAME_LEN)'..' : $manufacturers['manufacturers_name']);.

$output .= tep_href_link('index.php', 'manufacturers_id='.$manufacturers['manufacturers_id']). '>'.$manufacturers_name;.

$output .= '</a></td></tr>';.

}.

Echo $output;.

}.

?>.

I would appreciate any help offered on these coding issues..

Comments (128)

Yup, although you might want to make sure and wait for another commenter to confirm my answer as I am not completely sure. Better yet, why don't you email the Verisign guys because they can answer you better...

Comment #1

If it helps I am on my knees in the begging position....lol.

Just really need to allow OSc to use the dropdown menu option..

Comment #2

/includes/languages/english/product_info.php bt I would remove the code that displays the title and model no..

The default code for manu drop down is.

If ((USE_CACHE == 'true') && empty($SID)) {.

//echo tep_cache_manufacturers_box();.

} else {.

//include(DIR_WS_BOXES'manufacturers.php');.

}..

Comment #3

I like the general layout of your site. How did you customise that?..

Comment #4

Thanks for your input I have tried the following.

/includes/languages/english/product_info.php mine reads s follows:.

<?php.

/*.

$Id: product_info.php,v 1.15 2002/11/19 01:48:08 dgw_ Exp $.

OsCommerce, Open Source E-Commerce Solutions.

Http://www.oscommerce.com.

Copyright (c) 2002 osCommerce.

Released under the GNU General Public License.

*/.

Define('TEXT_PRODUCT_NOT_FOUND', 'Product not found!');.

Define('TEXT_CURRENT_REVIEWS', 'Current Reviews:');.

Define('TEXT_MORE_INFORMATION', 'For more information, please visit this products <a href="%s" target="_blank"><u>webpage</u></a>.');.

Define('TEXT_DATE_ADDED', 'This product was added to our catalog on %s.');.

Define('TEXT_DATE_AVAILABLE', '<font color="#ff0000">This product will be in stock on %s.</font>');.

Define('TEXT_ALSO_PURCHASED_PRODUCTS', 'Customers who bought this product also purchased');.

Define('TEXT_PRODUCT_OPTIONS', 'Available Options:');.

Define('TEXT_CLICK_TO_ENLARGE', 'Click to enlarge');.

?>.

So there is no model ID to delete, I have looked in the catalog/product_info.php but that seems too busy to delete anything?.

As for the drop down menu I have tried to replace the ermbedded code with the default nd it shows the code, so I then tried with the code wrapped in the <php tags and it was just blank..

Any further help would be much appreicted..

Comment #5

Sorry I lied and took the code from a live site, where sneakily I had commented out the bit you want..

Try this in includes/column_left.php.

If ((USE_CACHE == 'true') && empty($SID)) {.

Echo tep_cache_manufacturers_box();.

} else {.

Include(DIR_WS_BOXES'manufacturers.php');.

}.

Note the missing //s..

HTH..

Comment #6

Just before I do this, do I also remove the manfucturers output in the header which seems to be the forcing of the current menu? I.E the only place the menu's icons are referred to?..

Comment #7

I'd do it one step at a time..

Get the drop downs working so you can see how it looks/works and then remove the current menu...

Comment #8

Hi Geoff,.

My column_left.php is already as follows:.

<?php.

/*.

$Id: column_left.php,v 1.15 2003/07/01 14:34:54 hpdl Exp $.

OsCommerce, Open Source E-Commerce Solutions.

Http://www.oscommerce.com.

Copyright (c) 2003 osCommerce.

Released under the GNU General Public License.

*/.

If ((USE_CACHE == 'true') && empty($SID)) {.

Echo tep_cache_categories_box();.

} else {.

Include(DIR_WS_BOXES'categories.php');.

}.

If ((USE_CACHE == 'true') && empty($SID)) {.

Echo tep_cache_manufacturers_box();.

} else {.

Include(DIR_WS_BOXES'manufacturers.php');.

}.

Require(DIR_WS_BOXES'whats_new.php');.

Require(DIR_WS_BOXES'search.php');.

Require(DIR_WS_BOXES'information.php');.

?>..

Comment #9

Looks like you are using a template and that code is not used..

Try putting the snippet in header.php...

Comment #10

That will be one big PINT I owe you Geoff....

Am I allowed to ask if you have any other ideas on the model ID issue?.

Got to admit I am now dancin the JIG at my desk, been tryin to sort that menu for ages.......

Comment #11

My local is The Cherry Tree, just put one behind the bar next time you are in the area..

:-).

Would think the model link is in index.php...

Comment #12

Hi there,.

I have 2 issues of embedded coding that I need to pay attention to:.

1) The first is related to the product info. On the product preview and the full product display there is some text stating Model ID. I dont want this in either instance but cannot find the correct code to remove..

For an example please visit.

HERE.

And note the the model ID, then if you click on one fo the items the model ID actuyally changes? I need to remove both instances of this..

2) The second I have addressed previously but am now doing in a more formatted detail. My Verisign website is based on a template, from which I cannot recall where from and there is no code snippets to confirm within the website. The issue I have is the left column is basically 2 menus (brands & Catagories). I want to use the oprion of a drop down menu for the brands as there are too many for the current format..

I have used the admin to alter this but it does not work, I have since found the embedded code that is causing this but do not know how to change this. When removed the whole menu is removed. The code is located in the header.php and is as follows:.

<? // MANUFACTURERS STRING OUTPUT.

$manufacturers_query = tep_db_query("select manufacturers_id, manufacturers_name from "TABLE_MANUFACTURERS" order by manufacturers_name");.

If ($number_of_rows = tep_db_num_rows($manufacturers_query)) {.

$manufacturers_array = array();.

While ($manufacturers = tep_db_fetch_array($manufacturers_query)) {.

$output .= $output ? '<tr><td height=1></td></tr>' : '';.

$output .= '<tr><td><img src=images/m12.gif width=19 height=19></td><td bgcolor=#E7DCCB width=220 height=19 class=ch5><a class=ml2 href=';.

$manufacturers_name = ((strlen($manufacturers['manufacturers_name']) > MAX_DISPLAY_MANUFACTURER_NAME_LEN) ? substr($manufacturers['manufacturers_name'], 0, MAX_DISPLAY_MANUFACTURER_NAME_LEN)'..' : $manufacturers['manufacturers_name']);.

$output .= tep_href_link('index.php', 'manufacturers_id='.$manufacturers['manufacturers_id']). '>'.$manufacturers_name;.

$output .= '</a></td></tr>';.

}.

Echo $output;.

}.

?>.

I would appreciate any help offered on these coding issues..

Comment #13

No PHP Guru's knockin about, mind you against me if you can spell PHP you probably better than me....lol..

Comment #14


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.