dynamyt100 Posted December 9, 2008 Share Posted December 9, 2008 Does anyone know how to include an about us button on the header bar ? Is there a contribution for this ? Link to comment Share on other sites More sharing options...
mccdgxch Posted December 9, 2008 Share Posted December 9, 2008 Does anyone know how to include an about us button on the header bar ? Is there a contribution for this ? Hi, open up your includes/header.php and write this code. <a href="<?php echo tep_href_link(FILENAME_ABOUT_US, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_ABOUT_US; ?></a> place it between <table border="0" width="100%" cellspacing="0" cellpadding="5"> <tr class="headerNavigation"> <td align="right"> . . . </td> </tr> </table> then, go to includes/filenames.php and write this code. define('FILENAME_ABOUT_US', 'about_us.php'); (place anywhere you see "define") then, go to includes/languages/english.php and write this code. define('HEADER_TITLE_ABOUT_US', 'About Us'); Now, to write something about us, all you have to do is create a about_us.php and put it in the root file usually this go to catalog folder. Any problem, please let me and i'll help you out. Link to comment Share on other sites More sharing options...
dynamyt100 Posted December 9, 2008 Author Share Posted December 9, 2008 Hi, open up your includes/header.php and write this code. <a href="<?php echo tep_href_link(FILENAME_ABOUT_US, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_ABOUT_US; ?></a> place it between <table border="0" width="100%" cellspacing="0" cellpadding="5"> <tr class="headerNavigation"> <td align="right"> . . . </td> </tr> </table> then, go to includes/filenames.php and write this code. define('FILENAME_ABOUT_US', 'about_us.php'); (place anywhere you see "define") then, go to includes/languages/english.php and write this code. define('HEADER_TITLE_ABOUT_US', 'About Us'); Now, to write something about us, all you have to do is create a about_us.php and put it in the root file usually this go to catalog folder. Any problem, please let me and i'll help you out. Thats is what I call a response :-) Thank you :-) Link to comment Share on other sites More sharing options...
dynamyt100 Posted December 9, 2008 Author Share Posted December 9, 2008 Thats is what I call a response :-) Thank you :-) Worked beautifully however it has gone to the far right of the page. How do I get it in front of "my account " ? Dave Link to comment Share on other sites More sharing options...
mccdgxch Posted December 9, 2008 Share Posted December 9, 2008 Worked beautifully however it has gone to the far right of the page. How do I get it in front of "my account " ? Dave Hi Dave, Open includes/header.php and put this code: <a href="<?php echo tep_href_link(FILENAME_ABOUT_US, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_ABOUT_US; ?></a> | put it between "put your code here" below. <table border="0" width="100%" cellspacing="0" cellpadding="5"> <tr class="headerNavigation"> <td align="right"> . . . ...........put your code here.......................... . . . <a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a> | <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a> | <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a> </td> </tr> </table> Link to comment Share on other sites More sharing options...
dynamyt100 Posted December 9, 2008 Author Share Posted December 9, 2008 Hi Dave, Open includes/header.php and put this code: <a href="<?php echo tep_href_link(FILENAME_ABOUT_US, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_ABOUT_US; ?></a> | put it between "put your code here" below. <table border="0" width="100%" cellspacing="0" cellpadding="5"> <tr class="headerNavigation"> <td align="right"> . . . ...........put your code here.......................... . . . <a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a> | <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a> | <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a> </td> </tr> </table> You are GOOD :-) Thank you. One more question - How can I make sure the page opens inside the main body instead of a new page ie : with left and right columns still in tact ? I really appreciate your help so far. Thank you Dave Link to comment Share on other sites More sharing options...
FIMBLE Posted December 9, 2008 Share Posted December 9, 2008 why would you want your about us page to be SSL? nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions Link to comment Share on other sites More sharing options...
dynamyt100 Posted December 9, 2008 Author Share Posted December 9, 2008 why would you want your about us page to be SSL?nic SSL ? I am a novice ? At the moment my about page opens in a new window. I thought it would look nice opening in the main body and when a user is done they can simply continue shopping ! Link to comment Share on other sites More sharing options...
FIMBLE Posted December 9, 2008 Share Posted December 9, 2008 sorry was just being nosey! nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions Link to comment Share on other sites More sharing options...
dynamyt100 Posted December 9, 2008 Author Share Posted December 9, 2008 sorry was just being nosey!nic Be nosy pls. i like everyones opinion. Thats how I learn. Link to comment Share on other sites More sharing options...
mpratsa Posted December 9, 2008 Share Posted December 9, 2008 Let me search... Ok take a look at http://www.oscommerce.com/forums/index.php?showtopic=31019 Link to comment Share on other sites More sharing options...
mccdgxch Posted December 9, 2008 Share Posted December 9, 2008 You are GOOD :-) Thank you. One more question - How can I make sure the page opens inside the main body instead of a new page ie : with left and right columns still in tact ? I really appreciate your help so far. Thank you Dave Hi Dave, Open your contact_us.php, located in your root folder, and go down to the code i pasted there. ----------------------------------------------------------------------------------------------- <?php /* $Id: contact_us.php 1739 2007-12-20 00:52:16Z hpdl $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CONTACT_US); $error = false; if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'send')) { $name = tep_db_prepare_input($HTTP_POST_VARS['name']); $email_address = tep_db_prepare_input($HTTP_POST_VARS['email']); $enquiry = tep_db_prepare_input($HTTP_POST_VARS['enquiry']); if (tep_validate_email($email_address)) { tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_SUBJECT, $enquiry, $name, $email_address); tep_redirect(tep_href_link(FILENAME_CONTACT_US, 'action=success')); } else { $error = true; $messageStack->add('contact', ENTRY_EMAIL_ADDRESS_CHECK_ERROR); } } $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_CONTACT_US)); ?> <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html <?php echo HTML_PARAMS; ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE; ?></title> <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> <link rel="stylesheet" type="text/css" href="stylesheet.css"> </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"><?php echo tep_draw_form('contact_us', tep_href_link(FILENAME_CONTACT_US, 'action=send')); ?><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_contact_us.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> <tr><td> <p> . . --------type your text here . . </p></td></tr> </td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php if ($messageStack->size('contact') > 0) { ?> <tr> <td><?php echo $messageStack->output('contact'); ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php } if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'success')) { ?> <tr> <td class="main" align="center"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_man_on_board.gif', HEADING_TITLE, '0', '0', 'align="left"') . TEXT_SUCCESS; ?></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> <?php } else { ?> <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 class="main"><?php echo ENTRY_NAME; ?></td> </tr> <tr> <td class="main"><?php echo tep_draw_input_field('name'); ?></td> </tr> <tr> <td class="main"><?php echo ENTRY_EMAIL; ?></td> </tr> <tr> <td class="main"><?php echo tep_draw_input_field('email'); ?></td> </tr> <tr> <td class="main"><?php echo ENTRY_ENQUIRY; ?></td> </tr> <tr> <td><?php echo tep_draw_textarea_field('enquiry', 'soft', 50, 15); ?></td> </tr> </table></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 tep_image_submit('button_continue.gif', IMAGE_BUTTON_CONTINUE); ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> </tr> </table></td> </tr> <?php } ?> </table></form></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'); ?> .............................................................................. Now, you look for some code on top for (FILENAME_CONTACT_US...) and change it to (FILENAME_ABOUT_US....) and also change the contact_us.php to about_us.php and that is. Use the find and replace on the edit menu for easy manage. Make sure you SAVE AS about_us.php to your root folder. By the way Dave, this is just an example. When you're familiar with it, you will know what to do. Link to comment Share on other sites More sharing options...
dynamyt100 Posted December 10, 2008 Author Share Posted December 10, 2008 Hi Dave, Open your contact_us.php, located in your root folder, and go down to the code i pasted there. ----------------------------------------------------------------------------------------------- <?php /* $Id: contact_us.php 1739 2007-12-20 00:52:16Z hpdl $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CONTACT_US); $error = false; if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'send')) { $name = tep_db_prepare_input($HTTP_POST_VARS['name']); $email_address = tep_db_prepare_input($HTTP_POST_VARS['email']); $enquiry = tep_db_prepare_input($HTTP_POST_VARS['enquiry']); if (tep_validate_email($email_address)) { tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_SUBJECT, $enquiry, $name, $email_address); tep_redirect(tep_href_link(FILENAME_CONTACT_US, 'action=success')); } else { $error = true; $messageStack->add('contact', ENTRY_EMAIL_ADDRESS_CHECK_ERROR); } } $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_CONTACT_US)); ?> <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html <?php echo HTML_PARAMS; ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE; ?></title> <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> <link rel="stylesheet" type="text/css" href="stylesheet.css"> </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"><?php echo tep_draw_form('contact_us', tep_href_link(FILENAME_CONTACT_US, 'action=send')); ?><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_contact_us.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> <tr><td> <p> . . --------type your text here . . </p></td></tr> </td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php if ($messageStack->size('contact') > 0) { ?> <tr> <td><?php echo $messageStack->output('contact'); ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php } if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'success')) { ?> <tr> <td class="main" align="center"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_man_on_board.gif', HEADING_TITLE, '0', '0', 'align="left"') . TEXT_SUCCESS; ?></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> <?php } else { ?> <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 class="main"><?php echo ENTRY_NAME; ?></td> </tr> <tr> <td class="main"><?php echo tep_draw_input_field('name'); ?></td> </tr> <tr> <td class="main"><?php echo ENTRY_EMAIL; ?></td> </tr> <tr> <td class="main"><?php echo tep_draw_input_field('email'); ?></td> </tr> <tr> <td class="main"><?php echo ENTRY_ENQUIRY; ?></td> </tr> <tr> <td><?php echo tep_draw_textarea_field('enquiry', 'soft', 50, 15); ?></td> </tr> </table></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 tep_image_submit('button_continue.gif', IMAGE_BUTTON_CONTINUE); ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> </tr> </table></td> </tr> <?php } ?> </table></form></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'); ?> .............................................................................. Now, you look for some code on top for (FILENAME_CONTACT_US...) and change it to (FILENAME_ABOUT_US....) and also change the contact_us.php to about_us.php and that is. Use the find and replace on the edit menu for easy manage. Make sure you SAVE AS about_us.php to your root folder. By the way Dave, this is just an example. When you're familiar with it, you will know what to do. Confusing to me ! I understand that you are making use of an existing temple "contact us". Now whe you say "Open your contact_us.php, located in your root folder, and go down to the code i pasted there" what code are you referring to ? I found the code in the contact us file but after that I am stuck Do I paste in the code that you have placed in this reply ! Also, will this modified file display in the header or in the left_column ? Dave Link to comment Share on other sites More sharing options...
lmjacques Posted December 10, 2008 Share Posted December 10, 2008 Confusing to me ! I understand that you are making use of an existing temple "contact us". Now whe you say "Open your contact_us.php, located in your root folder, and go down to the code i pasted there" what code are you referring to ? I found the code in the contact us file but after that I am stuck Do I paste in the code that you have placed in this reply ! Also, will this modified file display in the header or in the left_column ? Dave What he is saying is basically find the coding he mentions in your Contact_us.php and copy it in to about_us.php and then look for the code in your about_us.php FILENAME_CONTACT_US and replace with FILENAME_ABOUT_US this should then mean that it will open as you want it to. Link to comment Share on other sites More sharing options...
dynamyt100 Posted December 11, 2008 Author Share Posted December 11, 2008 What he is saying is basically find the coding he mentions in your Contact_us.php and copy it in to about_us.php and then look for the code in your about_us.php FILENAME_CONTACT_US and replace with FILENAME_ABOUT_US this should then mean that it will open as you want it to. Thank you, BUT, in the middle of the page he says, place your code here.......what code is this ? Dave Link to comment Share on other sites More sharing options...
mccdgxch Posted December 11, 2008 Share Posted December 11, 2008 Thank you, BUT, in the middle of the page he says, place your code here.......what code is this ? Dave Hi Dave, Just type your text (about us) where I indicated "put your text here." Link to comment Share on other sites More sharing options...
dynamyt100 Posted December 11, 2008 Author Share Posted December 11, 2008 Hi Dave, Just type your text (about us) where I indicated "put your text here." Aaaahhhhh, easy when you know how :-) Thank you :-) Link to comment Share on other sites More sharing options...
dynamyt100 Posted December 11, 2008 Author Share Posted December 11, 2008 Aaaahhhhh, easy when you know how :-) Thank you :-) I FOLLOWED YOUR STEPS AND HAVE DEFINATELY INSTALLED IT IN MY ROOT FOLDER WHICH IS /CATALOG, HOWEVER i GET THE FOLLOWING MESSAGE......HELP ! PHP Warning: require(includes/languages/english/about_us.php) [function.require]: failed to open stream: No such file or directory in C:\Domains\hartsphoto.co.za\wwwroot\catalog\ABOUT_US.php on line 15 PHP Fatal error: require() [function.require]: Failed opening required 'includes/languages/english/about_us.php' (include_path='.;C:\Apps\PHP5\Pear') in C:\Domains\hartsphoto.co.za\wwwroot\catalog\ABOUT_US.php on line 15 Link to comment Share on other sites More sharing options...
mccdgxch Posted December 12, 2008 Share Posted December 12, 2008 I FOLLOWED YOUR STEPS AND HAVE DEFINATELY INSTALLED IT IN MY ROOT FOLDER WHICH IS /CATALOG, HOWEVER i GET THE FOLLOWING MESSAGE......HELP ! PHP Warning: require(includes/languages/english/about_us.php) [function.require]: failed to open stream: No such file or directory in C:\Domains\hartsphoto.co.za\wwwroot\catalog\ABOUT_US.php on line 15 PHP Fatal error: require() [function.require]: Failed opening required 'includes/languages/english/about_us.php' (include_path='.;C:\Apps\PHP5\Pear') in C:\Domains\hartsphoto.co.za\wwwroot\catalog\ABOUT_US.php on line 15 Hi Dave, Sorry for my mistake, you need to save about_us.php in includes/languagues/english/..... NOT in the catalog. it should be fine. Link to comment Share on other sites More sharing options...
dynamyt100 Posted December 12, 2008 Author Share Posted December 12, 2008 Hi Dave, Sorry for my mistake, you need to save about_us.php in includes/languagues/english/..... NOT in the catalog. it should be fine. I have done this and I get a message saying "cannot find page " ugh.......this is frustrating Link to comment Share on other sites More sharing options...
lmjacques Posted December 12, 2008 Share Posted December 12, 2008 I have done this and I get a message saying "cannot find page " ugh.......this is frustrating Ok. You need the one that you have in the English Language section. You also need one in the catalog section as well. I would copy the Contact_us.php as above and modify it so it is a About Us.php Obviously you will need to find any reference to Contact Us and change to About Us. Hope this helps. Link to comment Share on other sites More sharing options...
dynamyt100 Posted December 12, 2008 Author Share Posted December 12, 2008 Ok. You need the one that you have in the English Language section. You also need one in the catalog section as well. I would copy the Contact_us.php as above and modify it so it is a About Us.php Obviously you will need to find any reference to Contact Us and change to About Us. Hope this helps. Are you saying that I need the same file duplicated ? What I have is the english.php modified, header.php and filenames all modified according to your help. Then I have the about_us.php in /catalog/languages/english... which kicks out the above error ! Link to comment Share on other sites More sharing options...
lmjacques Posted December 12, 2008 Share Posted December 12, 2008 No sorry, you need to duplicate the Contact_us.php from the main catalogue section and rename it about_us.php and then modify it so that inside instead of referring to Contact Us it refers About Us. Hope this helps, if not I'll copy my copy from my About Us that is in the main section on here for you to copy. Link to comment Share on other sites More sharing options...
♥14steve14 Posted December 12, 2008 Share Posted December 12, 2008 Axnd dont forget to add your file to the filenames or it wont find the page REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
dynamyt100 Posted December 13, 2008 Author Share Posted December 13, 2008 Axnd dont forget to add your file to the filenames or it wont find the page Still the same error !!!!! What I have in the root folder is an about_us file which I created. When this is in my root folder it works fine, BUT does not open in the main body ( only in a new window ) when I change this file and replace it with the contact_us file ( modified ) it gives me the error messages. I still have the modified english,header and filenam.php in place too. Apart from changing any names from contact_us to about_us in the contact_us file, is there any other changes I need to make ????? Thanks for all your patience Dave Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.