lindsayanng Posted July 8, 2008 Posted July 8, 2008 Ok, i THOUGHT this would be easy. I mean, i figured i would just look in the header code of the catalog/having_trouble.php file and it would be right there in all it's glory.> But NOPE. here is the code.. I see the <title> </title> tags, but i dont underrstand the php code that is between it. require('includes/application_top.php'); require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_HAVING_TROUBLE); $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_HAVING_TROUBLE)); ?> <!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"> <?php if ( defined('FWR_SUCKERTREE_MENU_ON') && FWR_SUCKERTREE_MENU_ON === 'true' ) echo '<link rel="stylesheet" type="text/css" href="fwr_suckertree_css_menu.php" />'; ?> </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"> <!-- header //--> <?php require(DIR_WS_INCLUDES . 'header.php'); ?> <!-- header_eof //--> Basically what I am doing is changing the having_trouble.php page into a donations.php page because i combined the having_trouble.php page with the contact_us.php page. I know i could just make a new page, but i figured it would be easy to just transform one to another.. The only issue I am having problems with is the stinkin page title! A great place for newbies to start Road Map to oscommerce File Structure DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways! HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you Proud Memeber of the CODE BREAKERS CLUB!!
germ Posted July 8, 2008 Posted July 8, 2008 In the language file: define('HEADING_TITLE', 'Having Trouble?'); I think... :blush: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
lindsayanng Posted July 8, 2008 Author Posted July 8, 2008 I already did that and still nothing.. this is what i have now in the donations.php language file define('NAVBAR_TITLE', 'Donations, People Helping Animals Any Way We Can'); define('HEADING_TITLE', 'Donations, People Helping Animals Any Way We Can'); A great place for newbies to start Road Map to oscommerce File Structure DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways! HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you Proud Memeber of the CODE BREAKERS CLUB!!
Bushmaster Posted July 8, 2008 Posted July 8, 2008 <title><?php echo TITLE; ?></title> echos what is in the english.php // page title define('TITLE', STORE_NAME); The default in most installs as far as I know. If you change file names you need to set a define for it in /includes/filenames.php define('FILENAME_ACCOUNT', 'account.php'); so you would add something like define('FILENAME_HAVING_TROUBLE','having_trouble.php');
lindsayanng Posted July 8, 2008 Author Posted July 8, 2008 so you're talking about the filenames.php file?? I changed that as well. A great place for newbies to start Road Map to oscommerce File Structure DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways! HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you Proud Memeber of the CODE BREAKERS CLUB!!
germ Posted July 8, 2008 Posted July 8, 2008 Post the contents of this file: require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_HAVING_TROUBLE); If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
lindsayanng Posted July 8, 2008 Author Posted July 8, 2008 I have a search option in my control panel. I searched having_trouble and having trouble and NOTHING came up. A great place for newbies to start Road Map to oscommerce File Structure DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways! HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you Proud Memeber of the CODE BREAKERS CLUB!!
lindsayanng Posted July 8, 2008 Author Posted July 8, 2008 you rock!!!!! I found it.. In the catalog/includes/languages/english/donations.php all the way at the top before the <?php was the <title>Having Trouble?</title> Changed it and all is well now.. THANKS SO MUCH!! I new it was something simple. i just needed to look UP a little A great place for newbies to start Road Map to oscommerce File Structure DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways! HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you Proud Memeber of the CODE BREAKERS CLUB!!
lindsayanng Posted July 8, 2008 Author Posted July 8, 2008 Oh yea.. and here is the code as it stands now, complete.. for those who also might need some help! <title>Donations</title><?php /* $Id: shipping.php,v 1.4 2002/11/19 01:48:08 dgw_ Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 osCommerce Released under the GNU General Public License */ define('NAVBAR_TITLE', 'Donations, People Helping Animals Any Way We Can'); define('HEADING_TITLE', 'Donations, People Helping Animals Any Way We Can'); define('TEXT_INFORMATION', 'Furry Family Supplies is not your average pet supplies retail. As the owner of Furry Family Supplies, I pride myself in trying to give back. Our company personally supports many animal welfare organizations. We want to give you the chance to as well. By simply choosing to round your purchase up to the nearest dollar, you can help a GREAT cause. The entire different will be donated to the organization, which you can read about here. Right now, we are in the process of finding an organization that is 501 3(c) organization that would be willing to work with us in showing our customers the progress that they have made. <br> <br> This page will hold all of the information for the organization that would will be donating to. Please check back for more details. '); ?> A great place for newbies to start Road Map to oscommerce File Structure DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways! HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you Proud Memeber of the CODE BREAKERS CLUB!!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.