chrometweaks.org

Is there a free website iPage hosting service for advanced users who are good at HTML?

Click Here To View All Answers...


My 1st question is: Is there a free website iPage hosting service for advanced users who are good at HTML? Hoping for any comment. Another quick question... Hi I finally found the right all products for my version of osC however I am having problems adding the code to my footer.php file to add a link the link is in the footer but it is up against the osC copyright and I cant seem to change it from All_Products_Link to iPage site Map without making the footer vanish..

Here is the footer.php file.

<?php.

/*.

 $Id: footer.php,v 1.26 2003/02/10 22:30:54 hpdl Exp $.

 osCommerce, Open Source E-Commerce Solutions.

 http://www.oscommerce.com.

 Copyright (c) 2003 osCommerce.

 Released under the GNU General Public License.

*/.

// require(DIR_WS_INCLUDES'counter.php');.

?>.

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

 <tr class="footer">.

   <td class="footer">&nbsp;&nbsp;<?php echo strftime(DATE_FORMAT_LONG); ?>&nbsp;&nbsp;</td>.

   <td align="right" class="footer">&nbsp;&nbsp;<?php echo $counter_now' 'FOOTER_TEXT_REQUESTS_SINCE' '$counter_startdate_formatted; ?>&nbsp;&nbsp;</td>.

 </tr>.

</table>.

<br>.

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

 <tr>.

   <td align="center" class="smallText">.

[/B]I added the three lines below[B].

<?php.

  echo '<a href="'tep_href_link(allprods)'">'ALL_PRODUCTS_Link'</a>';.

  ?>.

<?php.

/*.

 The following copyright announcement can only be.

 appropriately modified or removed if the layout of.

 the iPage site theme has been modified to distinguish.

 itself from the default osCommerce-copyrighted.

 theme..

 For more information please read the following.

 Frequently Asked Questions entry on the osCommerce.

 support site:.

 http://www.oscommerce.com/community.php/faq,26/q,50.

 Please leave this comment intact together with the.

 following copyright announcement..

*/.

 echo FOOTER_TEXT_BODY.

?>.

   </td>.

 </tr>.

</table>.

<?php.

 if ($banner = tep_banner_exists('dynamic', '468x50')) {.

?>.

<br>.

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

 <tr>.

   <td align="center"><?php echo tep_display_banner('static', $banner); ?></td>.

 </tr>.

</table>.

  <?php.

 }.

?>.

To see what it looks like now look at.

Http://www.linuxdist.com.

And look at the copyright on the bottom..

Comments (78)

Ye, however you might want to make sure and wait for someone else here to confirm it as I am on the fence. Better yet, why don't you ask the iPage guys because they can answer your iPage question better...

Comment #1

The choices are to give it it's own table or tr and td or add a br.

Echo '<a href="'tep_href_link(allprods)'">'ALL_PRODUCTS_Link'</a>';.

Change to.

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

The missing text will be due to a missing language file or define in the language file..

This post has been edited by.

241.

: 21 August 2004, 16:16..

Comment #2

Thank you 241;.

Looks much better now!.

Sorry for the multi post..

Frank..

Comment #3

I tried to define the HEADING_TITLE for the allprods page to say All Products by adding this code to the bottom of my /httpdocs/includes/languages/english/default file:.

} elseif ($category_depth == 'allprods') {.

 define('HEADING_TITLE', 'All Products');.

And this produced nothing the allprods page still reads HEADING_TITLE.

The code in the default.php file is at the bottom as follows:.

<?php.

/*.

 $Id: default.php,v 1.20 2003/02/14 12:51:58 dgw_ Exp $.

 osCommerce, Open Source E-Commerce Solutions.

 http://www.oscommerce.com.

 Copyright (c) 2003 osCommerce.

 Released under the GNU General Public License.

*/.

Define('TEXT_MAIN', '<h3>Want linux cds? We have them, and at some of the best prices on the net!</h3><h2>This Months Special</h2><b>Order any two sets of linux cds and receive</b> <a href="/product_info?products_id=34"><FONT COLOR="blue">SUSE 9.0 Live Evaluation Cd</FONT></a> <b>absolutely free!</b> This is our second best seller at the moment, and for a limited time we are giving it away! Do not add the SUSE cd to your cart or you will be charged. Enter the following code during check-out in the comments section to receive your free cd. <u>SUSE9.0FREECD</u><h2>LinuxDist News August</h2>It has been an exciting summer here at LinuxDist! It is not over yet! To Prove it we are kicking off August in a big way! <br><h2>We are looking for a WINNER!</h2> That is right. We want you to write a review on our iPage site about your favorite Linux distro. (to write the review click on the distro you want to write about, then Reviews, then Write Review. At this point you will have to login, or create an account if you do not already have one, as we will need this info to send the winner their package) We at LinuxDist know that you are all busy (having some summer fun, we hope) but we will make it worth your while.

Our staff will read your reviews and vote. We will then be notifying the winner via email. That lucky person can then be watching for a package from us!<p>***CDs added after that August 1st 2004 will not be included in the contest.*** <h2>New Products</h2><p><a href="/product_info?products_id=43"><FONT COLOR="blue">Mandrake 10</FONT></a><br> Just Released! Be sure to order your copy today.<br>Mandrake Linux 10.0 is based on Linux kernel 2.6.3 and offers the most advanced Linux features currently available in terms of technology as well as the most up-to-date software. New features include higher performance and scalability for servers, greater interoperability with the Windows world, plus numerous improvements & refinements to the user interface.<p><a href="/product_info?products_id=34"><FONT COLOR="blue">SUSE Linux 9.0</FONT></a><br> This is the technology preview from SUSE. SUSE 9.0 installs easily, the default desktop is very attractive.

Check out this new release from SUSE you wont regret it!<h2>About LinuxDist</h2>All of our linux cds are burned on quality CD-R disk. And are then verified against the master iso images. We take pride in offering a quality product at a reasonable price.We are constantly striving to improve our service.<p>.

For mail inquires we can be reached @ <br>LinuxDist<br>P.O. Box 453<br>Corinth, Vermont 05039.

<p>Have a favorite linux cd distro? please take a moment to write a review. Your review could.

Be very helpful to someone just starting out with linux.<p>Questions, comments, please feel.

Free to contact me. Your email will be answered. Just click on Contact Us under Information..

<p><b>New to Linux? </b><a href="info.php"><FONT COLOR="blue">Click here</FONT></a> to learn.

More about this amazing operating system.<p>Pay securely with any major credit card or check.

Through PayPal!<br>Pay us direct with a Money order or Cashiers Check <! Begin Official PayPal.

Seal ><a href="https://www.paypal.com/us/verified/pal=fgruhn%40linuxdist.com" target="_blank"><img src="http://www.paypal.com/en_US/i/icon/verification_seal.gif" border="0" alt="Official PayPal Seal"></A><! End Official PayPal Seal >');.

Define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');.

Define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');.

Define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');.

If ( ($category_depth == 'products') || ($HTTP_GET_VARS['manufacturers_id']) ) {.

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

 define('TABLE_HEADING_IMAGE', '');.

 define('TABLE_HEADING_MODEL', 'Model');.

 define('TABLE_HEADING_PRODUCTS', 'Product Name');.

 define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');.

 define('TABLE_HEADING_QUANTITY', 'Quantity');.

 define('TABLE_HEADING_PRICE', 'Price');.

 define('TABLE_HEADING_WEIGHT', 'Weight');.

 define('TABLE_HEADING_BUY_NOW', 'Buy Now');.

 define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');.

 define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');.

 define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');.

 define('TEXT_SHOW', '<b>Show:</b>');.

 define('TEXT_BUY', 'Buy 1 \'');.

 define('TEXT_NOW', '\' now');.

 define('TEXT_ALL', 'All');.

} elseif ($category_depth == 'top') {.

 define('HEADING_TITLE', 'Welcome to LinuxDist!');.

} elseif ($category_depth == 'nested') {.

 define('HEADING_TITLE', 'Categories');.

} elseif ($category_depth == 'allprods') {  .

 define('HEADING_TITLE', 'All Products');.

}.

?>.

As I have stated before I am just starting to wade into php and probaly have this all screwed up..

All I am looking for is when they click on the all products link the allprods page will display the heading title as All Products..

Comment #4

Hi again.

I now have most of this allprods mod woked out I was able to correct the heading title on my own!.

Now I have an odd problem though, I have added a link that reads 'View All of Our Products' to the bottom of the Categories box this link displays properly on the allprods page, but on the 'top' or 'catalog' page it reads as BOX_INFORMATION_ALLPRODS.

Anyone have any idea why it would display properly on one page and not the other?..

Comment #5

Yes..

BOX_INFORMATION_ALLPRODS is defined in the wrong place. It should be defined in /catalog/incldues/languages/english.php.

It is probably currently defined in /catalog/allprods.php (or whatever the page is called)..

Comment #6

Thank you Steve and Todd;.

I have it all ironed out and working great now!.

I even think I learned something in the process!.

Frank..

Comment #7

Hi I finally found the right all products for my version of osC however I am having problems adding the code to my footer.php file to add a link the link is in the footer but it is up against the osC copyright and I cant seem to change it from All_Products_Link to iPage site Map without making the footer vanish..

Here is the footer.php file.

<?php.

/*.

 $Id: footer.php,v 1.26 2003/02/10 22:30:54 hpdl Exp $.

 osCommerce, Open Source E-Commerce Solutions.

 http://www.oscommerce.com.

 Copyright (c) 2003 osCommerce.

 Released under the GNU General Public License.

*/.

// require(DIR_WS_INCLUDES'counter.php');.

?>.

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

 <tr class="footer">.

   <td class="footer">&nbsp;&nbsp;<?php echo strftime(DATE_FORMAT_LONG); ?>&nbsp;&nbsp;</td>.

   <td align="right" class="footer">&nbsp;&nbsp;<?php echo $counter_now' 'FOOTER_TEXT_REQUESTS_SINCE' '$counter_startdate_formatted; ?>&nbsp;&nbsp;</td>.

 </tr>.

</table>.

<br>.

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

 <tr>.

   <td align="center" class="smallText">.

[/B]I added the three lines below[B].

<?php.

  echo '<a href="'tep_href_link(allprods)'">'ALL_PRODUCTS_Link'</a>';.

  ?>.

<?php.

/*.

 The following copyright announcement can only be.

 appropriately modified or removed if the layout of.

 the iPage site theme has been modified to distinguish.

 itself from the default osCommerce-copyrighted.

 theme..

 For more information please read the following.

 Frequently Asked Questions entry on the osCommerce.

 support site:.

 http://www.oscommerce.com/community.php/faq,26/q,50.

 Please leave this comment intact together with the.

 following copyright announcement..

*/.

 echo FOOTER_TEXT_BODY.

?>.

   </td>.

 </tr>.

</table>.

<?php.

 if ($banner = tep_banner_exists('dynamic', '468x50')) {.

?>.

<br>.

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

 <tr>.

   <td align="center"><?php echo tep_display_banner('static', $banner); ?></td>.

 </tr>.

</table>.

  <?php.

 }.

?>.

To see what it looks like now look at.

Http://www.linuxdist.com.

And look at the copyright on the bottom..

Comment #8

Also if you could tell me why the Header text doesnt display on the allprods page that would be helpfull as I am lost when it comes to reading php code...

Comment #9


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