dirtbikeworld Posted February 4, 2009 Share Posted February 4, 2009 Hi, I apologise if this has been asked before but I can't seem to find the answer. I want to add an about us page to my website and have a link to it in my information box. Can anyone please let me know how to do this? Best Regards Alex Link to comment Share on other sites More sharing options...
ELnew Posted February 4, 2009 Share Posted February 4, 2009 Hi, I apologise if this has been asked before but I can't seem to find the answer. I want to add an about us page to my website and have a link to it in my information box. Can anyone please let me know how to do this? Best Regards Alex Basically take a php page in your category and copy it and then use HTML if you want something simple. Here is my custom Aboutus page. There is significant white space to show where I added my html. which can be viewed here <?php /* $Id: aboutus.php,v 1.22 2003/06/05 23:26:23 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); // require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_ABOUTUS); // $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_ABOUTUS)); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <html <?php echo HTML_PARAMS; ?>> <head> <?php // BOF: Header Tag Controller v2.6.3 if ( file_exists(DIR_WS_INCLUDES . 'header_tags.php') ) { require(DIR_WS_INCLUDES . 'header_tags.php'); } else { ?> <title><?php echo TITLE; ?></title> <?php } // EOF: Header Tag Controller v2.6.3 ?> <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> <link rel="stylesheet" type="text/css" href="stylesheet.css"> <script language="JavaScript1.2"> var bookmarkurl="http://www.eleatherline.com" var bookmarktitle="ELeatherline.com - Your Online Source for the Finest Leather Goods" function addbookmark(){ if (document.all) window.external.AddFavorite(bookmarkurl,bookmarktitle) } </script> </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"> <!-- header //--> <?php require(DIR_WS_INCLUDES . 'header.php'); ?> <!-- header_eof //--> <!-- body //--> <table border="0" width="100%" cellspacing="3" cellpadding="3"> <tr> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- left_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?> <!-- left_navigation_eof //--> </table></td> <!-- body_text //--> <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> <td class="pageHeading" align="right"><?php echo // tep_image(DIR_WS_IMAGES . 'table_background_specials.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"> <center><img src="images/aboutus.png"><br> You can find virtually everything that's leather here, including many items<br> that you won't find elsewhere. Since 1995 our mission has been to bring<br> you the best value & quality.<br><br> <b>Shop in-store today for many specials!</b><br> We're open <b>7</b> days a week!<br> <b>Store hours</b><br><br> Monday-Friday 10am-7pm<br> Saturday 10am-6pm<br> Sunday 12am-6pm <br><br> Our warehouse and showroom is located at <br><br> 60½ N. Harrison<br> Enon, OH<sub>45323</sub><br><br> We have a large showroom with assorted biker apparel gear and accessories. <br>We carry all types of Western wear, fashion wear and accessories.<br><br> We also carry Leather hides, dyes, threads and all types of accessories<br> for Leather crafts and Leather repairs.<br><br> Take a look through our leather line, and if you don't happen to find what<br> you are looking for, please <a href="http://eleatherline.com/estellesleatherstop/contact_us.php"><b><u>contact us</u></b></a> and let us know. Chances are good<br> that we can get it for you - and at the best price anywhere!<br><br> Custom work available!<br><br> Thanks for taking your time and visiting eleatherline.com!<br> Please <a href="java script:addbookmark()"><b><u>bookmark us</u></b></a> and come back often<br> to get the best value in fine leather goods! <br><br> </center> </td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td align="right"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> </tr> </table></td> </tr> </table></td> <!-- body_text_eof //--> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- right_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?> <!-- right_navigation_eof //--> </table></td> </tr> </table> <!-- body_eof //--> <!-- footer //--> <?php require(DIR_WS_INCLUDES . 'footer.php'); ?> <!-- footer_eof //--> <br> </body> </html> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?> Link to comment Share on other sites More sharing options...
dirtbikeworld Posted February 4, 2009 Author Share Posted February 4, 2009 Hi, thanks for that. How do I add a link to my about us page in the information box? Best Regards Alex Link to comment Share on other sites More sharing options...
ELnew Posted February 4, 2009 Share Posted February 4, 2009 Hi, thanks for that. How do I add a link to my about us page in the information box? Best Regards Alex . '<a href="' . tep_href_link(BOX_INFORMATION_ABOUTUS) . '">' . BOX_INFORMATION_ABOUTUS_TWO . '</a>' This needs to be added after or whenever inside your information.php you'll see the other codes like the one above and understand what I mean. You find this file, in Catalog/includes/boxes Once that is done, you need to define what BOX_INFORMATION_ABOUTUS and BOX_INFORMATION_ABOUTUS_TWO means. Go to Define Languages and find english.php and find the section titled // information box text in includes/boxes/information.php AND THEN ADD define('BOX_INFORMATION_ABOUTUS', 'About Us'); <---This shows how it looks to the public inside the box define('BOX_INFORMATION_ABOUTUS_TWO', 'aboutus.php'); <---this is the link to the file Hope this helps. ~Parker Link to comment Share on other sites More sharing options...
knifeman Posted February 4, 2009 Share Posted February 4, 2009 http://www.oscommerce.info/kb/osCommerce/C...g_Area/Boxes/49 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.