Jump to content

littleolemedesigns

Members
  • Posts

    11
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

littleolemedesigns's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thank-You so much for helping me with this... I'm sorry it's taken so long to get back in touch with you.. I've been looking this over that you suggest.. and looking things up online... and this is just going 100% over my head... :-\ What I've got now: Index page of the store: http://www.loveyoudivine.com with this code at the top of the page: <?PHP if (!$_COOKIE["ageauth"]) {header("Location: splash.php");} ?> Splash page: http://www.loveyoudivine.com/splash.php with this code at the top of the page: Does that code you suggest go at the top of the page like these do, or is it acting as the button?? Sorry for the newbie questions... I keep trying to figure out php.. and it's just not making sense to me like html, css, and such did. I'm very confused.
  2. We would definitely be putting the full URL to the product in any adverts we do... what I can't figure out or find any information about is how to make the Enter button where it gets the URL they were trying to get to and then on clicking Enter sends them to it. Php can do this I think, I just don't know how. I'm still really really new to php programming.
  3. I'm hoping someone can help me... I have a php script that does a splash page on http://www.loveyoudivine.com The splash page works like it should, except for one thing, whenever we try to advertise a particular product in the store, and we link directly to the product, the person that clicks the link goes to the store and hits the splash page, which is good, but on clicking Enter, they go directly to the home page, which is how it's programmed right this moment... What I need help trying to figure it out is how to make it where when they click Enter they get forwarded into the store to the item they were trying to get to, not just into the store to the home page. Does anyone have any idea how to make this happen?
  4. Ah... well I guess that actually makes sense. I hadn't even thought of that before. Thank-You for explaining it to me and for helping me figure this out. That's all we were waiting on to get her store live and I couldn't figure it out. THANK-YOU!!!
  5. YOU ARE MY NEW FAVORITE PERSON IN THE WHOLE WIDE WORLD budimir... THANK-YOU THANK-YOU THANK-YOU THANK-YOU i don't understand it though.. why does <br /> work and not <br>
  6. I'm trying both of your suggestions right now.. I'll let you know how it goes. THANK-YOU guys for replying so quickly!!
  7. I'm probably being a stupid newbie here... but if I can't use echo inside a define.. then how is your solution supposed to work since I have to do this text as a define to make the whole spiderweb of files that call files that call other files still function? This paragraph has to be defined as 'EMAIL_TEXT' And yeah.. revraz... I noticed that about the break command not showing in there.. sorry about that.. I don't use forums very often if at all.. but i need to start using them.. lol.. this stuff is complicated. I didn't have anywhere near as much trouble picking up on html and css and AutoLisp by myself... php is like a whole other ball game.
  8. What I was afraid of with the echo command was whether or not it would work while still using the defines in the PHP? This file is actually called by an HTML file to send the email when a user creates an account with the store. Is it possible to do it like this: define('EMAIL_TEXT', echo"<br><br>We’ve dedicated ourselves to improving the functions .......
  9. Are you suggesting just using a normal return when typing like this? I tried that already.. that's what the other guy suggested and that didn't work at all. And doesn't solve the fact that I need to control spacing between bits of text contained within three different variable and in three different places in the file. I'm going to include the rest of the code in that file so you guys can see what I mean about the three different variables. I didn't include it before since I assumed that if I found something to help with spacing in the main part I could use it in the other parts. <?php /** * @package languageDefines * @copyright Copyright 2003-2006 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 * @version $Id: create_account.php 5745 2007-02-01 00:52:06Z ajeh $ */ define('NAVBAR_TITLE', 'Create an Account'); define('HEADING_TITLE', 'My Account Information'); define('TEXT_ORIGIN_LOGIN', '<strong class="note">NOTE:</strong> If you already have an account with us, please login at the <a href="%s">login page</a>.'); // greeting salutation define('EMAIL_SUBJECT', 'Happy New Year from Memory Lane Designs!'); define('EMAIL_GREET_MR', "\n\nDear Mr. %s," . "\n\n"); define('EMAIL_GREET_MS', "\n\nDear Ms. %s," . "\n\n"); define('EMAIL_GREET_NONE', "\n\nDear %s" . "\n\n"); // First line of the greeting define('EMAIL_WELCOME', "\n\nWelcome to the New Memory Lane Designs’ site!<strong>" ); define('EMAIL_SEPARATOR', '--------------------'); define('EMAIL_COUPON_INCENTIVE_HEADER', 'Congratulations! To make your next visit to our online shop a more rewarding experience, listed below are details for a Discount Coupon created just for you!' . "\n\n"); // your Discount Coupon Description will be inserted before this next define define('EMAIL_COUPON_REDEEM', 'To use the Discount Coupon, enter the ' . TEXT_GV_REDEEM . ' code during checkout: <strong>%s</strong>' . "\n\n"); define('TEXT_COUPON_HELP_DATE', '<p>The coupon is valid between %s and %s</p>'); define('EMAIL_GV_INCENTIVE_HEADER', 'Just for stopping by today, we have sent you a ' . TEXT_GV_NAME . ' for %s!' . "\n"); define('EMAIL_GV_REDEEM', 'The ' . TEXT_GV_NAME . ' ' . TEXT_GV_REDEEM . ' is: %s ' . "\n\n" . 'You can enter the ' . TEXT_GV_REDEEM . ' during Checkout, after making your selections in the store. '); define('EMAIL_GV_LINK', ' Or, you may redeem it now by following this link: ' . "\n"); // GV link will automatically be included before this line define('EMAIL_GV_LINK_OTHER','Once you have added the ' . TEXT_GV_NAME . ' to your account, you may use the ' . TEXT_GV_NAME . ' for yourself, or send it to a friend!' . "\n\n"); define('EMAIL_TEXT',"\n\nWe’ve dedicated ourselves to improving the functions and features to make your experience even better when you visit. Now we have:\n\n<li><strong>A brand new look</strong>\n<li><strong>More products than ever before</strong>\n<li><strong>Additional features to make your shopping experience more efficient</strong>\n\n<li><strong>Added resources for photo lovers, including an interactive Forum and a behind the scenes blog</strong>As friends of Memory Lane Designs, we are offering you a special discount to try out our new store. We hope you will enjoy your visit and will take advantage of 10% off your purchase as our thanks to you. And for those of you who have purchased before, we welcome your reviews for the products you have purchased.\n\nFor your convenience, we’ve established your account in the new store. To sign in:\n\nStore User Name: Your email address (where this message was sent)\nPassword: 1234\nForum User Name: Your First Name and last initial (example: Bob_S)\n\n<li>You can create a unique password and even change your email address by signing in to the store and clicking “My Account.”\n<li>To change your Forum user name, click “Forum” on the left side of the site, sign in to the forum using the same password as your store account, and then click “Profile” to change your information.\n\nTo enjoy the 10% discount, just enter MLDFRIENDS, at checkout now through the end of February. <strong>Consider giving an inspiring gift to the special people in your life for Valentine’s Day!</strong> A Premium Photo Book with photos of your loved ones or custom designed Photo Art that reminds them of what makes them smile.\n\nWith your account, you can now take part in the <strong>various services</strong> we have to offer you. Including:\n\n<li><strong>Permanent Cart</strong> - Any products added to your online cart remain there until you remove them, or check them out.\n<li><strong>Address Book</strong> - We can now deliver your products to another address other than yours! This is perfect to send birthday gifts direct to the birthday-person themselves.\n<li><strong>Order History</strong> - View your history of purchases that you have made with us.\n<li><strong>Products Reviews</strong> - Share your opinions on products with our other customers.\n<li><strong>Discussion Forum</strong> – This is a great place to get advice and share ideas on all things Photo." ); define('EMAIL_CONTACT', 'For help with any of our online services, please email the store-owner: <a href="mailto:' . STORE_OWNER_EMAIL_ADDRESS . '">'. STORE_OWNER_EMAIL_ADDRESS ." </a>\n\n");define('EMAIL_GV_CLOSURE',"\n\nSincerely," . STORE_OWNER . "\nMemory Lane Designs\nBe Inspired By Your Life\n". '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'.HTTP_SERVER . DIR_WS_CATALOG ."</a>\n800-717-4511 "); // email disclaimer - this disclaimer is separate from all other email disclaimers define('EMAIL_DISCLAIMER_NEW_CUSTOMER', "\n\nThis email address was given to us by you or by one of our customers. If you did not signup for an account, or feel that you have received this email in error, please send an email to %s "); //moved definitions to english.php //define('TABLE_HEADING_PRIVACY_CONDITIONS', 'Privacy Statement'); //define('TEXT_PRIVACY_CONDITIONS_DESCRIPTION', 'Please acknowledge you agree with our privacy statement by ticking the following box. The privacy statement can be read <a href="' . zen_href_link(FILENAME_PRIVACY, '', 'SSL') . '"><span class="pseudolink">here</span></a>.'); //define('TEXT_PRIVACY_CONDITIONS_CONFIRM', 'I have read and agreed to your privacy statement.'); //define('TABLE_HEADING_ADDRESS_DETAILS', 'Address Details'); //define('TABLE_HEADING_PHONE_FAX_DETAILS', 'Additional Contact Details'); //define('TABLE_HEADING_DATE_OF_BIRTH', 'Verify Your Age'); //define('TABLE_HEADING_LOGIN_DETAILS', 'Login Details'); //define('TABLE_HEADING_REFERRAL_DETAILS', 'Were You Referred to Us?'); ?>
  10. I tried that already and it didn't make any difference. I've also tried substituting the \n for <br> and that didn't have any effect of it at all either. Even if that would have worked, I would still have this same issue since the Greeting (Dear Customer Name) and the Welcome (Welcome to the New Memory Lane Designs) are in a different place and assigned to different variables from the main body of the text. Thank-You for trying to help me and replying so quickly though. I'm sure someone can help me figure this out. I've been at it non-stop since last night tweaking and researching everything and haven't had any luck so far.
  11. I am very new to php, but I have experience in html and css and I'm trying to learn php. I'm am desperately trying to customize the welcome email for a client for a Zen Cart shopping cart and I cannot figure out what I'm doing wrong displaying the line breaks in this code so it will display properly in the email. I've spent hours and hours searching online trying to figure it.. and I'm hoping someone could please take the time to help me here as I know it's probably something very simple that I just don't understand. I thank-you in advance for your help!! This is the bit of code I'm dealing with: define('EMAIL_TEXT',"\n\nWe’ve dedicated ourselves to improving the functions and features to make your experience even better when you visit. Now we have:\n\n<li><strong>A brand new look</strong>\n<li><strong>More products than ever before</strong>\n<li><strong>Additional features to make your shopping experience more efficient</strong>\n\n<li><strong>Added resources for photo lovers, including an interactive Forum and a behind the scenes blog</strong>As friends of Memory Lane Designs, we are offering you a special discount to try out our new store. We hope you will enjoy your visit and will take advantage of 10% off your purchase as our thanks to you. And for those of you who have purchased before, we welcome your reviews for the products you have purchased.\n\nFor your convenience, we’ve established your account in the new store. To sign in:\n\nStore User Name: Your email address (where this message was sent)\nPassword: 1234\nForum User Name: Your First Name and last initial (example: Bob_S)\n\n<li>You can create a unique password and even change your email address by signing in to the store and clicking “My Account.”\n<li>To change your Forum user name, click “Forum” on the left side of the site, sign in to the forum using the same password as your store account, and then click “Profile” to change your information.\n\nTo enjoy the 10% discount, just enter MLDFRIENDS, at checkout now through the end of February. <strong>Consider giving an inspiring gift to the special people in your life for Valentine’s Day!</strong> A Premium Photo Book with photos of your loved ones or custom designed Photo Art that reminds them of what makes them smile.\n\nWith your account, you can now take part in the <strong>various services</strong> we have to offer you. Including:\n\n<li><strong>Permanent Cart</strong> - Any products added to your online cart remain there until you remove them, or check them out.\n<li><strong>Address Book</strong> - We can now deliver your products to another address other than yours! This is perfect to send birthday gifts direct to the birthday-person themselves.\n<li><strong>Order History</strong> - View your history of purchases that you have made with us.\n<li><strong>Products Reviews</strong> - Share your opinions on products with our other customers.\n<li><strong>Discussion Forum</strong> – This is a great place to get advice and share ideas on all things Photo." ); define('EMAIL_CONTACT', 'For help with any of our online services, please email the store-owner: <a href="mailto:' . STORE_OWNER_EMAIL_ADDRESS . '">'. STORE_OWNER_EMAIL_ADDRESS ." </a>\n\n");define('EMAIL_GV_CLOSURE',"\n\nSincerely," . STORE_OWNER . "\nMemory Lane Designs\nBe Inspired By Your Life\n". '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'.HTTP_SERVER . DIR_WS_CATALOG ."</a>\n800-717-4511 "); // email disclaimer - this disclaimer is separate from all other email disclaimers define('EMAIL_DISCLAIMER_NEW_CUSTOMER', "\n\nThis email address was given to us by you or by one of our customers. If you did not signup for an account, or feel that you have received this email in error, please send an email to %s "); This is my output: This is what I desperately need my output to be:
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.