Bushmaster Posted April 11, 2007 Posted April 11, 2007 You need to supply more information when asking for help. I am guessing that you want to know what it means to do. I would sugest you try to learn alittle about php before you did to much more. ?> is the closing php tag. what ever code there having you add needs to be above that tag. It will be the last line in the file. I am not saying you need to learn how to write php but learn what some of the tags are. Some of the contribs only say place before closing tag. You may find these helpful. http://us2.php.net/ http://www.phpsimple.net/php_tags.php
peterclementi Posted April 11, 2007 Author Posted April 11, 2007 Please could someone help. Cheers I fully admit to being an amateur at php but i've got no other option but to give it a try. I will provide a bit more info as i can see this will help. I am trying to install a birthday contribution and it requires me to insert new code in 3 different files. I am lost on the " ADD before: ?> " part below: admin/includes/filenames.php ADD before: ?> define('FILENAME_BIRTHDAY', 'birthday.php'); ================================================================================ ====================== admin/includes/languages/english.php ADD before: ?> // Text in birthday.php define('HEADING_BIRTHDAYS', 'Birthdays'); define('TEXT_BIRTHDAYS', 'Customer Birthdays'); define('BOX_CUSTOMERS_BIRTHDAY', 'Birthdays'); define('TEXT_BIRTHDAYS_NOWMONTH', ' This Month'); define('TEXT_BIRTHDAYS_NEXTMONTH', ' Next Month'); define('TEXT_BIRTHDAYS_NAME', ' Customers Name'); define('TEXT_BIRTHDAYS_EMAIL', ' Customers Email'); define('TEXT_BIRTHDAYS_DATE', ' Customers Birthday'); define('ICON_ORDERS', 'View All Orders'); // End Text for birthday.php Thanks for the links will have a look now.
Guest Posted April 11, 2007 Posted April 11, 2007 I fully admit to being an amateur at php but i've got no other option but to give it a try. I will provide a bit more info as i can see this will help. I am trying to install a birthday contribution and it requires me to insert new code in 3 different files. I am lost on the " ADD before: ?> " part below: admin/includes/filenames.php ADD before: ?> define('FILENAME_BIRTHDAY', 'birthday.php'); ================================================================================ ====================== admin/includes/languages/english.php ADD before: ?> // Text in birthday.php define('HEADING_BIRTHDAYS', 'Birthdays'); define('TEXT_BIRTHDAYS', 'Customer Birthdays'); define('BOX_CUSTOMERS_BIRTHDAY', 'Birthdays'); define('TEXT_BIRTHDAYS_NOWMONTH', ' This Month'); define('TEXT_BIRTHDAYS_NEXTMONTH', ' Next Month'); define('TEXT_BIRTHDAYS_NAME', ' Customers Name'); define('TEXT_BIRTHDAYS_EMAIL', ' Customers Email'); define('TEXT_BIRTHDAYS_DATE', ' Customers Birthday'); define('ICON_ORDERS', 'View All Orders'); // End Text for birthday.php Thanks for the links will have a look now. Just add the new text just before the final ?> in the language file.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.