What are the best free web site iPage hosting services from your experience?

Click Here To View All Answers...

Quick question... What are the best free web site iPage hosting services from your experience? Thanks in advance for any answer. Another question I got... Hi,.

Does anyone know how to make a link on your iPage site that will give the customer an option to load less/fewer graphics? Mainly for people with dialup connections, that way the page will load faster..


Comments (17)

I would like to know the answer too. Anyone here know what is the answer to that question. I'll do some investigation and get back to you if I find an decent answer. You should email the people at iPage as they probably could help you..

Comment #1

Alright forget that idea.

That sound like WAAAAYYYY too much work..


Comment #2

I think I've done what you're looking for. I implemented it on my site, and it really wasn't all that nightmarish. It was a little work, though. Check out my iPage website at.

Myriad Games.

, browse into any category, then click the "No Images" link at the top of the product listing. I think that's the kind of thing you're after..

How comfortable are you with diving into the code?..

Comment #3

Great idea! Now the 2 dollar question. How did you do it?? And also how did you make the dropdown to display more or less items. Another great idea!..

Comment #4

I got the $3 questions. Will please post the code on how to implement this? That's exactly what I was after..

Is this the line that does it?.

For starters at least??.

Thanks for the help..

Comment #5



, where you you create the sort heading for each column (around line 105), add the link to the Images column:.

   if ( ($column_list[$col] != 'PRODUCT_LIST_BUY_NOW') && ($column_list[$col] != 'PRODUCT_LIST_IMAGE') ) {.

     $lc_text = tep_create_sort_heading($HTTP_GET_VARS['sort'], $col+1, $lc_text);.

   } elseif($column_list[$col] == 'PRODUCT_LIST_IMAGE') {.

     if ( $show_pl_images == 'true') {.

       $lc_text = '<a href="'tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array( 'x', 'y','show_pl_images'))'show_pl_images=false')'" class="productListing-heading">'TEXT_IMAGES_OFF'</a>';.

     } else {.

       $lc_text = '<a href="'tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('x', 'y','show_pl_images'))'show_pl_images=true')'" class="productListing-heading">'TEXT_IMAGES_ON'</a>';.



And where you display the image (around line 204), check whether or not it should actually be displayed:.

         case 'PRODUCT_LIST_IMAGE':.

           $lc_align = 'center';.

           if ($show_pl_images == 'true') {.

             if (isset($HTTP_GET_VARS['manufacturers_id'])) {.

               $lc_text = '<a href="'tep_href_link(FILENAME_PRODUCT_INFO, 'manufacturers_id='$HTTP_GET_VARS['manufacturers_id']'&products_id='$listing['products_id'])'">'tep_image(DIR_WS_IMAGES$listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT)'</a>';.

             } else {.

               $lc_text = '&nbsp;<a href="'tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath='$cPath'&' : '')'products_id='$listing['products_id'])'">'tep_image(DIR_WS_IMAGES$listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT)'</a>&nbsp;';.


           } else {.

             // alternatively, put some placeholder text here..

             $lc_text = '&nbsp;';.



That should get the images to show or not. Now, you have to go into.


And create a session variable to remeber if someone wants the images or not. I put this around line 320, after setting the default language:.

// set display images in product listings.

 if (isset($HTTP_GET_VARS['show_pl_images']) && $HTTP_GET_VARS['show_pl_images'] != '' ) {.

   $show_pl_images = $HTTP_GET_VARS['show_pl_images'];.


 } elseif (!tep_session_is_registered('show_pl_images')) {.

   $show_pl_images = 'true';.




Hopefully you can dig through that enough to make it work for you. You'll probably have to modify it some..

That was a bit trickier. Well, a lot tricker, actually. I had to modify the split_page_results.php class. It was the same basic idea, though..

Hope this helps!..

Comment #6

Thanks for the post. I'll try that tomorrow, too late for me now..

Can I email you if I get stuck??.


Comment #7


On my line 64 it has this:.

Is the red text the correct spot to place this:.

Thanks for the help..

Comment #8


Maybe I'm missing something but I get this error on my product pages....

It also erases the item name, price, etc....

Any ideas??.

This post has been edited by.


: 26 May 2004, 02:29..

Comment #9

OK, I got the pictures on/off to work correctly, but....... It says "TEXT_IMAGES_OFF" or "TEXT_IMAGES_ON" instead of the way your looks. Do I need to add something else to the english.php file??? Do I have to add something to the english.php file??.


Sweet I rule!!!!!!!!!.

You have to add the lines in red anywhere in the english.php file..

Thanks for the code and help.


Also do you know how to make this work for the main page? (catalog).

This post has been edited by.


: 26 May 2004, 02:49..

Comment #10

Add defines in english.php.

Define('TEXT_IMAGES_OFF', 'Images Off');.

Define('TEXT_IMAGES_ON', 'Images On');.

How did you finally get it to work?.

This post has been edited by.


: 26 May 2004, 02:51..

Comment #11

Are you talking about just the "New Items For..." box? Or your header / title bar and specials boxes as well?.

Basically anywhere you have images to toggle, make an if statement:.

If ( $show_pl_images == 'true') {.

 // code that shows the image.

} else {.

 // code that doesn't show the image.


That should do it. If you would like code for a specific place, just let me know..

Glad you got it working!..

Comment #12

Well basically I want to have a link in my "top iPage site bar".

And have that link turn off the graphics for "New products for Month" box in the red above. I have it set for 12 pics and 56ker's complain that it takes too long to load for them..

Should I just put it in the catalog/products_new.php file?? i'll try it anyways but not sure where to put it..

Thanks for the help.

This post has been edited by.


: 26 May 2004, 03:30..

Comment #13

You'll want to modify header.php in the includes directory. I've modified my header.php quite a bit, so I'm not sure what line number to give you, maybe around line 80?.

     <?php if ( $show_pl_images == 'true') { ?>.

       <a href="<?php echo tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('show_pl_images'))'show_pl_images=false'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LESS_GRAPHICS; ?></a> &nbsp;|&nbsp;|&nbsp;.

     <?php } else { ?>.

       <a href="<?php echo tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('show_pl_images'))'show_pl_images=true'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MORE_GRAPHICS; ?></a> &nbsp;|&nbsp;|&nbsp;.

     <?php } ?>.

That should have the same effect as the link in the products_listing.php module, so both will toggle the images on and off..

Oh, and of course define HEADER_TITLE_LESS_GRAPHICS and HEADER_TITLE_MORE_GRAPHICS in your english.php file..

The images in the New Products for Month are actually in the new_products.php file in the modules directory. The products_new.php page is different. But it might not be a bad idea to toggle the images there, as well..

Good luck!..

Comment #14

Well so far no luck (10 minutes maybe) I'll try to get it tomorrow. I put it in the header.php and it will put the link in the page to turn on/off but it won't do anything. Just refreshes the page. I'm going to try and get it to work in just the "New Products" window tomorrow. That's where the pics are that slow 56k's down, I guess??..

Comment #15

Crap now my buy now button is gone?!?!?!?!? It puts the price under the button and under the "price".

This post has been edited by.


: 26 May 2004, 04:41..

Comment #16

This modification works great!.

Only 1 question though:.

Is this nifty trick also possible on the new products page [products_new.php] and how to do that if possible ? .

[Sorry, I saw the post above already asked for that, but I guess this still hasn't been done succesfully ????].

This post has been edited by.


: 18 June 2004, 16:49..

Comment #17


I got the less images switch to work in the header.php file.

This code will put the images on/off switch into the header if you have a navigation bar on top. You can still put it in the header without anav bar just put in the code around line 54 or just after the <TITLE> Tags.

Here's the stuff you have to change:.

In catalog/includes/headers.php.

The part in.


Puts the on/off switch in the nav bar..

In the catalog/includes/languages/english.php file you have to add this.

The part in red changes the header color, the part in black changes the products page box color. The color="#ffffff" I added because the stylesheet.css calls for a different class than the color I need..

Thanks again to.


, he thought of it I just tweaked the code to work on my site. As for the new_products.php and other module boxes I can't get it to work it only shows a parse error.

But it will turn on/off everything, like the product listing and all products pages. You can go to my iPage site and see how it works..

Switch on main page, no effect.

Switch on all products page, It works.

It may be redundant to have two switches but after weeks of fooling with it I can't bring myself to delete either..

Comment #18

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