chrometweaks.org

With iPage, Can you create a virtual pets website?

Click Here To View All Answers...


First question I got is With iPage, Can you create a virtual pets website? Looking forward for any answer or 2. Another question on my mind: I did an OsCommerce shop one time and I was able to change the "Let's see what we have here" to the name of the category. I have spent the last couple hours trying to find the post that told me how to do it without any luck. Can someone please re-enlighten me? Thank you!..

Comments (4)

Hmm... I need to find out myself. I don't know what is the right answer to your question. I'll do some Googling and get back to you if I got an decent answer. You should email the people at iPage as they probably could give you an answer..

Comment #1

If ($category_depth == 'nested') {.

$category_query = tep_db_query("select cd.categories_name, c.categories_image from "TABLE_CATEGORIES" c, "TABLE_CATEGORIES_DESCRIPTION" cd where c.categories_id = '"(int)$current_category_id"' and cd.categories_id = '"(int)$current_category_id"' and cd.language_id = '"(int)$languages_id"'");.

$category = tep_db_fetch_array($category_query);.

?>.

<td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0">.

<tr>.

<td><table border="0" width="100%" cellspacing="0" cellpadding="0">.

<tr>.

<td class="pageHeading"><?php echo HEADING_TITLE; ?></td>.

If ($category_depth == 'nested') {.

$category_query = tep_db_query("select cd.categories_name, c.categories_image from "TABLE_CATEGORIES" c, "TABLE_CATEGORIES_DESCRIPTION" cd where c.categories_id = '"(int)$current_category_id"' and cd.categories_id = '"(int)$current_category_id"' and cd.language_id = '"(int)$languages_id"'");.

$category = tep_db_fetch_array($category_query);.

?>.

<td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0">.

<tr>.

<td><table border="0" width="100%" cellspacing="0" cellpadding="0">.

<tr>.

<td class="pageHeading"><?php echo tep_get_category_name($current_category_id); ?></td>.

<?php.

If ($category_depth == 'nested') {.

$category_query = tep_db_query("select cd.categories_name, c.categories_image from "TABLE_CATEGORIES" c, "TABLE_CATEGORIES_DESCRIPTION" cd where c.categories_id = '"(int)$current_category_id"' and cd.categories_id = '"(int)$current_category_id"' and cd.language_id = '"(int)$languages_id"'");.

$category = tep_db_fetch_array($category_query);.

?>.

<td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0">.

<tr>.

<td><table border="0" width="100%" cellspacing="0" cellpadding="0">.

<tr>.

<td class="pageHeading"><?php echo $category['categories_name']; ?></td>..

Comment #2

Do it burt's way:.

Click me.

It's easier and just a better way to do it...

Comment #3

This post has been edited by.

Tinkerbell46325.

: 10 January 2009, 23:22..

Comment #4

I'm using v2.2 RC2. I also want to have the product category name replace the standard "Let's see..." text.

On pages like this.

I have main categories and subcategories listed on.

My site.

In catalog/includes/languages/english/index.php I tried changing:.

Define('HEADING_TITLE', 'Let\'s See What We Have Here');.

To this:.

Define('HEADING_TITLE', ucwords(strtolower($categories['categories_name'])));.

I also tried.

This method.

Either way the heading text is erased (just goes blank, and without errors). If I merely change the text from "Let's see..." to something else (like it is currently) it is fine..

My site's major contributions incude.

Ultimate SEO URLs (v2.1d UPDATED-23-NOV-2008) and (Header Tags SEO v3.1.0). Could they affect this issue?.

The.

Main category.

Heading displays fine, as does the.

Sub-category.

It is only on the.

Next level.

Where I'd like to see the category name listed. Any thoughts on how to achieve this?.

Ideally, I would like for it to grab the name from the category (which feeds the page title & meta tags title) and do some SEO at the same time, maybe by using code like this <h2><?php echo HEADING_TITLE; ?></h2> in place of the "Let's see...", but I just do not know how to write it. Besides I need for it to work first using either of the above mentioned methods before fooling around with this..

This post has been edited by.

Pchem.

: 12 January 2009, 01:54..

Comment #5


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