snubbr.com

Does Verisign SSL has in-built firewalls and anti-spyware softwares in it?

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 Does Verisign SSL has in-built firewalls and anti-spyware softwares in it? Hoping for any answer. Another question I got... Trying to use this add on.

Http://addons.oscommerce.com/info/6250.

And I get this in admin when trying to change categorys..

Fatal error: Call to undefined function tep_get_category_name() in /home/kjexotic/public_html/shop/admin/categories.php on line 905.

It's this bit of code:.

-Search,.

For ($i = 0, $n = sizeof($languages); $i < $n; $i++) {.

$category_inputs_string .= '<br>'tep_image(DIR_WS_CATALOG_LANGUAGES$languages[$i]['directory']'/images/'$languages[$i]['image'], $languages[$i]['name'])'&nbsp;'tep_draw_input_field('categories_name['$languages[$i]['id']']', tep_get_category_name($cInfo->categories_id, $languages[$i]['id']));.

}.

$contents[] = array('text' => '<br>'TEXT_EDIT_CATEGORIES_NAME$category_inputs_string);.

Replace by:.

For ($i = 0, $n = sizeof($languages); $i < $n; $i++) {.

$category_inputs_string .= '<br><br>'tep_image(DIR_WS_CATALOG_LANGUAGES$languages[$i]['directory']'/images/'$languages[$i]['image'], $languages[$i]['name'])'<br>'TEXT_CATEGORIES_NAME'<br>'tep_draw_input_field('categories_name['$languages[$i]['id']']', tep_get_category_name($cInfo->categories_id, $languages[$i]['id']))'<br>'TEXT_CATEGORIES_DESCRIPTION'<br>'tep_draw_textarea_field('categories_description['$languages[$i]['id']']', 'soft', 35, 4, tep_get_category_description($cInfo->categories_id, $languages[$i]['id']));.

}.

$contents[] = array('text' => $category_inputs_string);..

Comments (48)

You betcha! but... you might want to make sure and wait for another person to confirm my answer as I am unsure of myself. Better yet, why don't you ask the Verisign guys because they can assist you better...

Comment #1

Ummm, anyone know that what it says to place in when doing it on the txt file ??..

Comment #2

On the text file it does not say to add anything in to that file, where abouts does it go (does it need to go in there ?)..

Comment #3

I done it.

Now I cant see it on the customer side of things, think it this code in wrong place:.

<tr>.

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>.

</tr>.

<tr>.

<td><?php echo $category['categories_description']; ?></td>.

</tr>.

<tr>.

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>.

</tr>.

Where do you place that in index.php for it to show under the cat header, but above the products ??..

Comment #4

Trying to use this add on.

Http://addons.oscommerce.com/info/6250.

And I get this in admin when trying to change categorys..

Fatal error: Call to undefined function tep_get_category_name() in /home/kjexotic/public_html/shop/admin/categories.php on line 905.

It's this bit of code:.

-Search,.

For ($i = 0, $n = sizeof($languages); $i < $n; $i++) {.

$category_inputs_string .= '<br>'tep_image(DIR_WS_CATALOG_LANGUAGES$languages[$i]['directory']'/images/'$languages[$i]['image'], $languages[$i]['name'])'&nbsp;'tep_draw_input_field('categories_name['$languages[$i]['id']']', tep_get_category_name($cInfo->categories_id, $languages[$i]['id']));.

}.

$contents[] = array('text' => '<br>'TEXT_EDIT_CATEGORIES_NAME$category_inputs_string);.

Replace by:.

For ($i = 0, $n = sizeof($languages); $i < $n; $i++) {.

$category_inputs_string .= '<br><br>'tep_image(DIR_WS_CATALOG_LANGUAGES$languages[$i]['directory']'/images/'$languages[$i]['image'], $languages[$i]['name'])'<br>'TEXT_CATEGORIES_NAME'<br>'tep_draw_input_field('categories_name['$languages[$i]['id']']', tep_get_category_name($cInfo->categories_id, $languages[$i]['id']))'<br>'TEXT_CATEGORIES_DESCRIPTION'<br>'tep_draw_textarea_field('categories_description['$languages[$i]['id']']', 'soft', 35, 4, tep_get_category_description($cInfo->categories_id, $languages[$i]['id']));.

}.

$contents[] = array('text' => $category_inputs_string);..

Comment #5

This code is in my /includes/functions/general.php.

Function tep_get_category_name($category_id, $language_id) {.

$category_query = tep_db_query("select categories_name from "TABLE_CATEGORIES_DESCRIPTION" where categories_id = '"(int)$category_id"' and language_id = '"(int)$language_id"'");.

$category = tep_db_fetch_array($category_query);.

Return $category['categories_name'];.

}.

But apparently not yours......

Comment #6


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.