chrometweaks.org

Which is the cheapest and most reliable iPage hosting service in India?

Click Here To View All Answers...


First question I got is Which is the cheapest and most reliable iPage hosting service in India? Hoping for any answer. Second question.. I have installed the all_products contribution, and got the link on my shop..

But when pressing the link, i'm just returned to the front page ? .

Can anybody give a hint on what I did wrong ? .

If you need any other info, please say so...

Comments (51)

Good question... I dunno what is the answer to that question. I'll do some research and get back to you if I discover an good answer. You should email the people at iPage as they probably can help you..

Comment #1

It goes to the root of my shop:.

Http://www.hstrading.dk/catalog/.

- Any good hints ? :-)..

Comment #2

Hi,.

If I try the link "Forside" (.

Http://www.hstrading.dk/.

), then I do see:.

'ALL_PRODUCTS_LINK''; ?>.

Displayed, so that means there is no opening:.

<?php.

Or if there is, then there has already been a closing statement passed like:.

?>.

Edit:.

.. and I can now see in the 'body' of the html ........

<?php.

  echo '<a href="'tep_href_link(FILENAME_ALL_PRODUCTS)'">'ALL_PRODUCTS_LINK'</a>';.

  ?>.

But the first part "php echo ..." is in a different colour, seems to be there as a comment ??.

Peter.

This post has been edited by.

Peterr.

: 30 August 2004, 09:51..

Comment #3

Hi Peterr,.

Thx for trying to help me out..

Http://www.hstrading.dk/index.html.

Is 'only' a redirect page to my shop..

The all_products_link in the redirect page has been moved now, it was actually only an experiment, that I putted the link there..

If you go to my homepage (.

Http://www.hstrading.dk/catalog/.

) you will see the link 'all products' in the top left box called 'varegrupper'..

When pressing this link, you are returned to the front page (.

Http://www.hstrading.dk/catalog/.

).

I'm not quite sure where to put the the information that is described in # 3 of the install file:.

3. Place Links to the new page as you want. Look this:.

<?php.

Echo '<a href="'tep_href_link(FILENAME_ALL_PRODUCTS)'">'ALL_PRODUCTS_LINK'</a>';.

?>.

Where should I put this code ? As I read it, this code is not neccesary for the all_products contrib to work ? So if I have misunderstood this, maybe the error lies here ? .

Any help is greatly appreciated..

Plz let me know if you need more info to help me out...

Comment #4

Hi,.

If, for example, you wanted to place the link in the "information" box, change these lines in /catalog/includes/boxes/information.php.

 $info_box_contents[] = array('text' => '<a href="'tep_href_link(FILENAME_SHIPPING)'">'BOX_INFORMATION_SHIPPING'</a><br>' ..

                                        '<a href="'tep_href_link(FILENAME_PRIVACY)'">'BOX_INFORMATION_PRIVACY'</a><br>' ..

                                        '<a href="'tep_href_link(FILENAME_CONDITIONS)'">'BOX_INFORMATION_CONDITIONS'</a><br>' ..

                                        '<a href="'tep_href_link(FILENAME_CONTACT_US)'">'BOX_INFORMATION_CONTACT'</a>');.

To .......................

 $info_box_contents[] = array('text' => '<a href="'tep_href_link(FILENAME_SHIPPING)'">'BOX_INFORMATION_SHIPPING'</a><br>' ..

                                        '<a href="'tep_href_link(FILENAME_PRIVACY)'">'BOX_INFORMATION_PRIVACY'</a><br>' ..

                                        '<a href="'tep_href_link(FILENAME_CONDITIONS)'">'BOX_INFORMATION_CONDITIONS'</a><br>' ..

                                        '<a href="'tep_href_link(FILENAME_CONTACT_US)'">'BOX_INFORMATION_CONTACT'</a><br>' ..

                                        '<a href="'tep_href_link(FILENAME_ALL_PRODUCTS)'">'ALL_PRODUCTS_LINK'</a>');.

I think most people put it in the "categories" box, so the same rules apply..

Peter..

Comment #5

Yes I have chosen to put it in the categories box, as the install file said:.

3.1 Make a link in the categoriesbox:.

Find the following 2 lines code near bottom of catalog/includes/boxes/categories.php:.

$info_box_contents = array();.

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

And now add this directly before:.

$categories_string .= '<br><a href="'tep_href_link(FILENAME_ALL_PRODUCTS)'"><b>'ALL_PRODUCTS_LINK"</b></a>\n";.

This I have done, and the link appears corretly in my categories box. But the link does not bring up a page with all my products......

Any good suggestions as to how I can solve this problem ?

Comment #6

If you mouseover the link it only shows.

Http://www.hstrading.dk/catalog/.

In the status bar.

Try this code.

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

                              'text'  => '<a href="'tep_href_link(FILENAME_ALLPRODS, '', 'NONSSL')'">'BOX_INFORMATION_ALLPRODS'</a>');..

Comment #7

I've tried inserting your code so my categories.php file now looks like this:.

<?php.

/*.

$Id: categories.php,v 1.25 2003/07/09 01:13:58 hpdl Exp $.

OsCommerce, Open Source E-Commerce Solutions.

Http://www.oscommerce.com.

Copyright © 2003 osCommerce.

Released under the GNU General Public License.

Changed August 2003, by Nils Petersson.

Contribution "Category Box Enhancement", version 1.1.

*/.

Function tep_show_category($counter) {.

// BoF - Contribution Category Box Enhancement 1.1.

Global $tree, $categories_string, $cPath_array, $cat_name;.

For ($i=0; $i<$tree[$counter]['level']; $i++) {.

$categories_string .= "&nbsp;&nbsp;";.

}.

$cPath_new = 'cPath='$tree[$counter]['path'];.

$categories_string .= '<a href="';.

$categories_string .= tep_href_link(FILENAME_DEFAULT, $cPath_new)'">';.

If (tep_has_category_subcategories($counter)) {.

$categories_string .= tep_image(DIR_WS_IMAGES'pointer_blue.gif', '');.

}.

Else {.

$categories_string .= tep_image(DIR_WS_IMAGES'pointer_blue_light.gif', '');.

}.

If (isset($cPath_array) && in_array($counter, $cPath_array)) {.

$categories_string .= '<b>';.

}.

If ($cat_name == $tree[$counter]['name']) {.

$categories_string .= '<span class="errorText">';.

}.

// display category name.

$categories_string .= $tree[$counter]['name'];.

If ($cat_name == $tree[$counter]['name']) {.

$categories_string .= '</span>';.

}.

If (isset($cPath_array) && in_array($counter, $cPath_array)) {.

$categories_string .= '</b>';.

}.

// EoF Category Box Enhancement.

$categories_string .= '</a>';.

If (SHOW_COUNTS == 'true') {.

$products_in_category = tep_count_products_in_category($counter);.

If ($products_in_category > 0) {.

$categories_string .= '&nbsp;('$products_in_category')';.

}.

}.

$categories_string .= '<br>';.

If ($tree[$counter]['next_id'] != false) {.

Tep_show_category($tree[$counter]['next_id']);.

}.

}.

?>.

<! categories //>.

<tr>.

<td>.

<?php.

// BoF - Contribution Category Box Enhancement 1.1.

If (isset($cPath_array)) {.

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

$categories_query = tep_db_query("select categories_name from "TABLE_CATEGORIES_DESCRIPTION" where categories_id = '"(int)$cPath_array[$i]"' and language_id = '"(int)$languages_id"'");.

If (tep_db_num_rows($categories_query) > 0).

$categories = tep_db_fetch_array($categories_query);.

}.

$cat_name = $categories['categories_name'];.

}.

// EoF Category Box Enhancement.

// display category name.

$info_box_contents = array();.

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

New infoBoxHeading($info_box_contents, true, false);.

$categories_string = '';.

$tree = array();.

$categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.parent_id from "TABLE_CATEGORIES" c, "TABLE_CATEGORIES_DESCRIPTION" cd where c.parent_id = '0' and c.categories_id = cd.categories_id and cd.language_id='"(int)$languages_id ."' order by sort_order, cd.categories_name");.

While ($categories = tep_db_fetch_array($categories_query)) {.

$tree[$categories['categories_id']] = array('name' => $categories['categories_name'],.

'parent' => $categories['parent_id'],.

'level' => 0,.

'path' => $categories['categories_id'],.

'next_id' => false);.

If (isset($parent_id)) {.

$tree[$parent_id]['next_id'] = $categories['categories_id'];.

}.

$parent_id = $categories['categories_id'];.

If (!isset($first_element)) {.

$first_element = $categories['categories_id'];.

}.

}.

//.

If (tep_not_null($cPath)) {.

$new_path = '';.

Reset($cPath_array);.

While (list($key, $value) = each($cPath_array)) {.

Unset($parent_id);.

Unset($first_id);.

$categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.parent_id from "TABLE_CATEGORIES" c, "TABLE_CATEGORIES_DESCRIPTION" cd where c.parent_id = '"(int)$value"' and c.categories_id = cd.categories_id and cd.language_id='"(int)$languages_id ."' order by sort_order, cd.categories_name");.

If (tep_db_num_rows($categories_query)) {.

$new_path .= $value;.

While ($row = tep_db_fetch_array($categories_query)) {.

$tree[$row['categories_id']] = array('name' => $row['categories_name'],.

'parent' => $row['parent_id'],.

'level' => $key+1,.

'path' => $new_path'_'$row['categories_id'],.

'next_id' => false);.

If (isset($parent_id)) {.

$tree[$parent_id]['next_id'] = $row['categories_id'];.

}.

$parent_id = $row['categories_id'];.

If (!isset($first_id)) {.

$first_id = $row['categories_id'];.

}.

$last_id = $row['categories_id'];.

}.

$tree[$last_id]['next_id'] = $tree[$value]['next_id'];.

$tree[$value]['next_id'] = $first_id;.

$new_path .= '_';.

} else {.

Break;.

}.

}.

}.

Tep_show_category($first_element);.

$categories_string .= '<br><a href="'tep_href_link(FILENAME_ALL_PRODUCTS)'"><b>'ALL_PRODUCTS_LINK"</b></a>\n";.

$info_box_contents[] = array('align' => 'center" valign="top','text' => '<a href="'tep_href_link(FILENAME_ALLPRODS, '', 'NONSSL')'">'BOX_INFORMATION_ALLPRODS'</a>');.

$info_box_contents = array();.

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

New infoBox($info_box_contents);.

?>.

</td>.

</tr>.

<! categories_eof //>.

It did not change the 'misbehavior' unfortunately :-) There is no difference, but I wouldn't be surpriced, it I just used your code wrong..

How and where should I try inserting your code ?

Comment #8

This is how I have it.

Tep_show_category($first_element);.

$info_box_contents = array();.

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

'text' => $categories_string);.

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

'text' => '<hr><a href="'tep_href_link(FILENAME_ALLPRODS, '', 'NONSSL')'">'BOX_INFORMATION_ALLPRODS'</a>');.

New infoBox($info_box_contents);.

?>.

This post has been edited by.

241.

: 30 August 2004, 12:08..

Comment #9

I don't know how I happened, but now the link 'all_products' is in danish - which is GOOD - and it looks good too with a separator line (see www.hstrading.dk to see it yourself)..

BUT - on mouse over, it STILL points to.

Http://www.hstrading.dk/catalog/.

- so no page shows with all my products, I still come back to the 'welcome' page on my shop..

My Categories file looks like yours:.

Tep_show_category($first_element);.

$info_box_contents = array();.

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

$info_box_contents[] = array('align' => 'center" valign="top','text' => '<hr><a href="'tep_href_link(FILENAME_ALLPRODS, '', 'NONSSL')'">'BOX_INFORMATION_ALLPRODS'</a>');.

New infoBox($info_box_contents);.

?>.

Any more suggestions ? .

(i am a complete novice on this php so i'm afraid i'm not able to help myself, thus I hope one of you guys can)...

Comment #10

My apologies for the line I forgot to take out the <hr> tag prior to posting..

You can also add the same image as you are using for the categories, if you so wish.

Language should never be a barrier.

More a poor excuse..

What is the line of code that you have for the filename define in includes/filenames.php.

Define('FILENAME_ALLPRODS', 'allprods.php');.

This post has been edited by.

241.

: 30 August 2004, 12:54..

Comment #11

Silly me don't understand the <hr> - thing - is the <hr> something I should delete ? .

The include/filenames.php line looks like this:.

Define('FILENAME_ALL_PRODUCTS', 'all_products.php'); // all products and used categories.

So it does not look like yours..... ?

Comment #12

Hi,.

You haven't stated what contribution number this is (there are 2 versions of all products, basically) , and we would need to know what file you downloaded. I'm assuming the contrib. is:.

Http://www.oscommerc...ntributions,137.

And the file you downloaded is:.

Http://www.oscommerce.com/community/contri.../mirror,sunsite.

So if you have the link description, but not the actual URL, then you need to add this line:.

Define('FILENAME_ALL_PRODUCTS', 'all_products.php');   // all products and used categories.

To /catalog/includes/filenames.php.

Edit:.

Step 3.1 (following on from my assumption) of the install 'readme'.

Peter.

This post has been edited by.

Peterr.

: 30 August 2004, 13:05..

Comment #13

The <hr> tag is what gives the horixontal line divider.

Yes but if you do not have the define for the filename in the code that I have given then your link should show as.

Http://www.hstrading...LENAME_ALLPRODS.

This post has been edited by.

241.

: 30 August 2004, 13:14..

Comment #14

Yes it is the "22 May 2004 - all products page modified to work with BTS v1.3" contribution, so you are right in your assumption..

I have done this:.

Define('FILENAME_ALL_PRODUCTS', 'all_products.php'); // all products and used categories.

To /catalog/includes/filenames.php.

My \catalog\includes\boxes\categories.php lookes like this:.

Tep_show_category($first_element);.

$info_box_contents = array();.

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

$categories_string .= '<br><a href="'tep_href_link(FILENAME_ALL_PRODUCTS)'"><b>'ALL_PRODUCTS_LINK"</b></a>\n";.

$info_box_contents[] = array('align' => 'center" valign="top','text' => '<hr><a href="'tep_href_link(FILENAME_ALLPRODS, '', 'NONSSL')'">'BOX_INFORMATION_ALLPRODS'</a>');.

New infoBox($info_box_contents);.

?>.

But I still return to my welcome page when pressing the link. On mouse over, the adresse.

Http://www.hstrading/catalog/.

Is still displayed, and it is this adress that the all_catagoris link, links to :-( and not the page that should contain all my products......

Comment #15

Nice detail on the <hr> :-) I didn't know that..

I do have the file all_products.php in my /Catalog/ folder.

I'm afraid I might not have what I takes to make this work - I feel like you guys are telling med the solution, but I don't understand what I need to do......

Am I not doing what you are suggesting ? (maybe my english isn't good enough to understand you thoroughly)..

Comment #16

Hi,.

Although I use the same contribution number, it is the earlier release, the one that displays product name, image, etc, page by page. Here is the code I have in /catalog/includes/boxes/categories.php.

 tep_show_category($first_element);.

 $info_box_contents = array();.

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

//Begin - Mod for all products.

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

                              'text'  => '<font size=-2><a href="'tep_href_link(FILENAME_ALLPRODS, '', 'NONSSL')'">'BOX_INFORMATION_ALLPRODS'</a></font>');.

//End - Mod for all products.

 new infoBox($info_box_contents);.

Therefore, using the instructions for the version you have, shouldn't your code be ? .

 tep_show_category($first_element);.

//Begin - Mod for all products.

$categories_string .= '<br><a href="'tep_href_link(FILENAME_ALL_PRODUCTS)'"><b>'ALL_PRODUCTS_LINK"</b></a>\n";.

//End - Mod for all products.

 $info_box_contents = array();.

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

 new infoBox($info_box_contents);.

Peter..

Comment #17

I have altered my code so that it looks like this:.

Tep_show_category($first_element);.

//Begin - Mod for all products.

$categories_string .= '<br><a href="'tep_href_link(FILENAME_ALL_PRODUCTS)'"><b>'ALL_PRODUCTS_LINK"</b></a>\n";.

//End - Mod for all products.

$info_box_contents = array();.

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

New infoBox($info_box_contents);.

?>.

But it doesn't change anything, it still links to.

Http://www.hstrading/catalog/.

And not a page listing all my products..

(see for yourself: www.hstrading.dk).

... wonder where I did something wrong......

Comment #18

Hi,.

I don't think you have added this line:.

Define('FILENAME_ALL_PRODUCTS', 'all_products.php');   // all products and used categories.

To the file /catalog/includes/filenames.php.

And, because I get a "404" on this:.

Http://www.hstrading...ll_products.php.

It would appear you have not added the file called all_products.php to .../catalog/ path.

Peter.

This post has been edited by.

Peterr.

: 31 August 2004, 07:35..

Comment #19

I have installed the all_products contribution, and got the link on my shop..

But when pressing the link, i'm just returned to the front page ? .

Can anybody give a hint on what I did wrong ? .

If you need any other info, please say so...

Comment #20

What's the link it goes to when you click?..

Comment #21

Hi,.

I have just put the contribution online - so now you will not get the 404 error..

BUT I just tried the link, and I get an error:.

Fatal error: Failed opening required 'DIR_WS_TEMPLATESTEMPLATENAME_MAIN_PAGE' (include_path='.:/usr/share/pear:/usr/share/php/PEAR') in /customers/hstrading.dk/hstrading.dk/httpd.www/catalog/all_products.php on line 23.

Maybe this is where the error lies .. ? .

What does this error mean, and how do I correct it ? .

Thx for keeping on trying to help me :-)..

Comment #22

Hi,.

You need to download this file first:.

Http://www.oscommerce.com/community/contri.../mirror,sunsite.

And then ONLY download this file:.

Http://www.oscommerce.com/community/contri.../mirror,sunsite.

If you use BTS.

All the problems have been because the latest file is a 'fix', not a complete contribution..

Peter..

Comment #23

Oh crap..... my bad then :-).

I'll give the first file a go then, I do not know what BTS is ?

Comment #24

Okay, i'm getting somewhere now....

The link:.

Http://www.hstrading...ll_products.php.

Works (allthough the products are not listet in a very pretty way though)..

But the link in my products box STILL returns me to the.

Http://hstrading.dk/catalog/.

Page, and not the.

Http://www.hstrading...ll_products.php.

Page.. ? .

Any good suggestions ?

Comment #25

Hi,.

I'm testing this:.

Http://www.hstrading...ll_products.php.

And after 3 mins, it is still not displaying anything (the server does seem rather slow ??).

Anyway, the fix to the link problem is the same as before, that line:.

Define('FILENAME_ALL_PRODUCTS', 'all_products.php');   // all products and used categories.

Needs to be added to /catalog/includes/filenames.php.

Peter..

Comment #26

Hi peterr,.

Server is pretty slow, but I get at list of products after 5-10 sec....

The line of code you mention IS in my /catalog/includes/filenames.php file. Allthoug it is at the very end of the of the file, like this:.

<?php.

/*.

$Id: filenames.php,v 1.4 2003/06/11 17:38:00 hpdl Exp $.

OsCommerce, Open Source E-Commerce Solutions.

Http://www.oscommerce.com.

Copyright © 2003 osCommerce.

Released under the GNU General Public License.

*/.

// define the filenames used in the project.

Define('FILENAME_ACCOUNT', 'account.php');.

Define('FILENAME_ACCOUNT_EDIT', 'account_edit.php');.

Define('FILENAME_ACCOUNT_HISTORY', 'account_history.php');.

Define('FILENAME_ACCOUNT_HISTORY_INFO', 'account_history_info.php');.

Define('FILENAME_ACCOUNT_NEWSLETTERS', 'account_newsletters.php');.

Define('FILENAME_ACCOUNT_NOTIFICATIONS', 'account_notifications.php');.

Define('FILENAME_ACCOUNT_PASSWORD', 'account_password.php');.

Define('FILENAME_ADDRESS_BOOK', 'address_book.php');.

Define('FILENAME_ADDRESS_BOOK_PROCESS', 'address_book_process.php');.

Define('FILENAME_ADVANCED_SEARCH', 'advanced_search.php');.

Define('FILENAME_ADVANCED_SEARCH_RESULT', 'advanced_search_result.php');.

Define('FILENAME_ALSO_PURCHASED_PRODUCTS', 'also_purchased_products.php');.

Define('FILENAME_CHECKOUT_CONFIRMATION', 'checkout_confirmation.php');.

Define('FILENAME_CHECKOUT_PAYMENT', 'checkout_payment.php');.

Define('FILENAME_CHECKOUT_PAYMENT_ADDRESS', 'checkout_payment_address.php');.

Define('FILENAME_CHECKOUT_PROCESS', 'checkout_process.php');.

Define('FILENAME_CHECKOUT_SHIPPING', 'checkout_shipping.php');.

Define('FILENAME_CHECKOUT_SHIPPING_ADDRESS', 'checkout_shipping_address.php');.

Define('FILENAME_CHECKOUT_SUCCESS', 'checkout_success.php');.

Define('FILENAME_CONTACT_US', 'contact_us.php');.

Define('FILENAME_CONDITIONS', 'conditions.php');.

Define('FILENAME_COOKIE_USAGE', 'cookie_usage.php');.

Define('FILENAME_CREATE_ACCOUNT', 'create_account.php');.

Define('FILENAME_CREATE_ACCOUNT_SUCCESS', 'create_account_success.php');.

Define('FILENAME_DEFAULT', 'index.php');.

Define('FILENAME_DOWNLOAD', 'download.php');.

Define('FILENAME_INFO_SHOPPING_CART', 'info_shopping_cart.php');.

Define('FILENAME_LOGIN', 'login.php');.

Define('FILENAME_LOGOFF', 'logoff.php');.

Define('FILENAME_NEW_PRODUCTS', 'new_products.php');.

Define('FILENAME_PASSWORD_FORGOTTEN', 'password_forgotten.php');.

Define('FILENAME_POPUP_IMAGE', 'popup_image.php');.

Define('FILENAME_POPUP_SEARCH_HELP', 'popup_search_help.php');.

Define('FILENAME_PRIVACY', 'privacy.php');.

Define('FILENAME_DOWNLOADS', 'downloads.php');.

Define('FILENAME_PRODUCT_INFO', 'product_info.php');.

Define('FILENAME_PRODUCT_LISTING', 'product_listing.php');.

Define('FILENAME_PRODUCT_REVIEWS', 'product_reviews.php');.

Define('FILENAME_PRODUCT_REVIEWS_INFO', 'product_reviews_info.php');.

Define('FILENAME_PRODUCT_REVIEWS_WRITE', 'product_reviews_write.php');.

Define('FILENAME_PRODUCTS_NEW', 'products_new.php');.

Define('FILENAME_REDIRECT', 'redirect.php');.

Define('FILENAME_REVIEWS', 'reviews.php');.

Define('FILENAME_SHIPPING', 'shipping.php');.

Define('FILENAME_SHOPPING_CART', 'shopping_cart.php');.

Define('FILENAME_SPECIALS', 'specials.php');.

Define('FILENAME_SSL_CHECK', 'ssl_check.php');.

Define('FILENAME_TELL_A_FRIEND', 'tell_a_friend.php');.

Define('FILENAME_UPCOMING_PRODUCTS', 'upcoming_products.php');.

Define('FILENAME_ALL_PRODUCTS', 'all_products.php'); // all products and used categories.

?>.

Should the line be moved upwards ?

Comment #27

Just tried to move the line:.

Define('FILENAME_ALL_PRODUCTS', 'all_products.php'); // all products and used categories.

To the upwards in the file - made no difference.... :-(..

Comment #28

Yes, it looks like this:.

Tep_show_category($first_element);.

$categories_string .= '<br><a href="'tep_href_link(FILENAME_ALL_PRODUCTS)'"><b>'ALL_PRODUCTS_LINK"</b></a>\n";.

$info_box_contents = array();.

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

New infoBox($info_box_contents);.

?>..

Comment #29

Come to think of it, I have only added this contribution, because of the advantages that is gives with search engines....

So I do not need the link in the products box, I could just make a hidden link to the all_products.php file .. ? .

How does that sound ?

Comment #30

Hi,.

Try replacing one line to this ........

$categories_string .= '<br><a href="'tep_href_link(FILENAME_ALL_PRODUCTS, '', 'NONSSL')'"><b>'ALL_PRODUCTS_LINK'</b></a>\n');.

Peter.

This post has been edited by.

Peterr.

: 31 August 2004, 12:15..

Comment #31

There is an error:.

Parse error: parse error, unexpected ')' in /customers/hstrading.dk/hstrading.dk/httpd.www/catalog/includes/boxes/categories.php on line 155..

Comment #32

No change in function, but link in products box now looks like this:.

All products\n..

Comment #33

Got it working now..

Had to pull an old backup of my shop, integrate the all_prods contribution - and now it works..

Looks like I had a corrupt file somewhere.....

Comment #34


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