SpinerC Posted March 4, 2007 Posted March 4, 2007 Hello! :) Can anyone tell me where I can find the codes that determind the time in the bottom of the page? I do like having the time on the site, I know many have removed it but, I want to have it set to my time zone for orders/shipping issues. Thank you! Sincerely Char :) Still rebuilding!
zhexiang Posted March 4, 2007 Posted March 4, 2007 It will be helpful if you paste the code as well Try delete for code that has php function for date... like date((), or remove the timestamp()
SpinerC Posted March 4, 2007 Author Posted March 4, 2007 It will be helpful if you paste the code as well Try delete for code that has php function for date... like date((), or remove the timestamp() Thanks for the reply but, that's the part of the problem, I don't know where the code is located that operates the time stamp. I be a Newbie very much :D Thanks! Sincerely Charlene :) http://www.diamondsahara.ca
d4funky1 Posted March 4, 2007 Posted March 4, 2007 catalog/includes/footer.php is where you can edit what appears on the bottom of the page ie: Powered By Oscommerce etc
SpinerC Posted March 4, 2007 Author Posted March 4, 2007 catalog/includes/footer.php is where you can edit what appears on the bottom of the page ie: Powered By Oscommerce etc Thanks Philip but, that doesn't alter or change time, I have installed my certificate (icon) and paypal in the footer but, that is not where time/date etc... can be adjusted and I would need to know what to look for exactly but, thank you for posting a response :) Sincerely Char :)
jonquil Posted March 4, 2007 Posted March 4, 2007 Your footer information date, copyright info, etc., is changed here. :) From the stock osC includes/language/english.php, last 2 lines [b]define('FOOTER_TEXT_BODY'[/b], 'Copyright © ' . date('Y') . ' <a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . STORE_NAME . '</a><br>Powered by <a href="http://www.oscommerce.com" target="_blank">osCommerce</a>'); ?> From the stock osC includes/footer.php, which calls the FOOTER_TEXT_BODY define: <?php /* $Id: footer.php,v 1.26 2003/02/10 22:30:54 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url] Copyright © 2003 osCommerce Released under the GNU General Public License */ require(DIR_WS_INCLUDES . 'counter.php'); ?> <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="footer"> <td class="footer"> [b]<?php echo strftime(DATE_FORMAT_LONG); ?> [/b] </td> <td align="right" class="footer"> <?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?> </td> </tr> </table> <br> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center" class="smallText">[b]<?php echo FOOTER_TEXT_BODY; ?>[/b]</td> </tr> </table> <?php if ($banner = tep_banner_exists('dynamic', '468x50')) { ?> <br> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center"><?php echo tep_display_banner('static', $banner); ?></td> </tr> </table> <?php } ?> jon It's all just ones and zeros....
jasonabc Posted March 4, 2007 Posted March 4, 2007 /includes/footer.php. Line 17: <td class="footer"> <?php echo strftime(DATE_FORMAT_LONG); ?> </td> Jason My Contributions: Paypal Payflow PRO | Rollover Category Images | Authorize.net Invoice Number Fix
SpinerC Posted March 4, 2007 Author Posted March 4, 2007 Thanks everyone but, I am having a duh :huh: moment.... I see those codes but, how do I change the time to three hours ahead of what it is currently running at? I have a date in there, but, want to add the actual time and specifically move it 3 hours ahead. I hope my request is making sense :blink: /includes/footer.php. Line 17: <td class="footer"> <?php echo strftime(DATE_FORMAT_LONG); ?> </td> Thank you! Sincerely Char :) Who is almost finished her site! Thanks to all the help here! :)
djmonkey1 Posted March 5, 2007 Posted March 5, 2007 Thanks everyone but, I am having a duh :huh: moment.... I see those codes but, how do I change the time to three hours ahead of what it is currently running at? Try this contribution: http://www.oscommerce.com/community/contri...earch,time+zone Do, or do not. There is no try. Order Editor 5.0.6 "Ultra Violet" is now available! For support or to post comments, suggestions, etc, please visit the Order Editor support thread.
SpinerC Posted March 5, 2007 Author Posted March 5, 2007 I am thinking it has something to do with the includes/general.js file. ++++++++++++++++++++++++++++++++++++++++++++ /* $Id: general.js,v 1.3 2003/02/10 22:30:55 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ function SetFocus(TargetFormName) { var target = 0; if (TargetFormName != "") { for (i=0; i<document.forms.length; i++) { if (document.forms.name == TargetFormName) { target = i; break; } } } var TargetForm = document.forms[target]; for (i=0; i<TargetForm.length; i++) { if ( (TargetForm.elements.type != "image") && (TargetForm.elements.type != "hidden") && (TargetForm.elements.type != "reset") && (TargetForm.elements.type != "submit") ) { TargetForm.elements.focus(); if ( (TargetForm.elements.type == "text") || (TargetForm.elements.type == "password") ) { TargetForm.elements.select(); } break; } } } function RemoveFormatString(TargetElement, FormatString) { if (TargetElement.value == FormatString) { TargetElement.value = ""; } TargetElement.select(); } function CheckDateRange(from, to) { if (Date.parse(from.value) <= Date.parse(to.value)) { return true; } else { return false; } } function IsValidDate(DateToCheck, FormatString) { var strDateToCheck; var strDateToCheckArray; var strFormatArray; var strFormatString; var strDay; var strMonth; var strYear; var intday; var intMonth; var intYear; var intDateSeparatorIdx = -1; var intFormatSeparatorIdx = -1; var strSeparatorArray = new Array("-"," ","/","."); var strMonthArray = new Array("jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec"); var intDaysArray = new Array(31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31); strDateToCheck = DateToCheck.toLowerCase(); strFormatString = FormatString.toLowerCase(); if (strDateToCheck.length != strFormatString.length) { return false; } for (i=0; i<strSeparatorArray.length; i++) { if (strFormatString.indexOf(strSeparatorArray) != -1) { intFormatSeparatorIdx = i; break; } } for (i=0; i<strSeparatorArray.length; i++) { if (strDateToCheck.indexOf(strSeparatorArray) != -1) { intDateSeparatorIdx = i; break; } } if (intDateSeparatorIdx != intFormatSeparatorIdx) { return false; } if (intDateSeparatorIdx != -1) { strFormatArray = strFormatString.split(strSeparatorArray[intFormatSeparatorIdx]); if (strFormatArray.length != 3) { return false; } strDateToCheckArray = strDateToCheck.split(strSeparatorArray[intDateSeparatorIdx]); if (strDateToCheckArray.length != 3) { return false; } for (i=0; i<strFormatArray.length; i++) { if (strFormatArray == 'mm' || strFormatArray == 'mmm') { strMonth = strDateToCheckArray; } if (strFormatArray == 'dd') { strDay = strDateToCheckArray; } if (strFormatArray == 'yyyy') { strYear = strDateToCheckArray; } } } else { if (FormatString.length > 7) { if (strFormatString.indexOf('mmm') == -1) { strMonth = strDateToCheck.substring(strFormatString.indexOf('mm'), 2); } else { strMonth = strDateToCheck.substring(strFormatString.indexOf('mmm'), 3); } strDay = strDateToCheck.substring(strFormatString.indexOf('dd'), 2); strYear = strDateToCheck.substring(strFormatString.indexOf('yyyy'), 2); } else { return false; } } if (strYear.length != 4) { return false; } intday = parseInt(strDay, 10); if (isNaN(intday)) { return false; } if (intday < 1) { return false; } intMonth = parseInt(strMonth, 10); if (isNaN(intMonth)) { for (i=0; i<strMonthArray.length; i++) { if (strMonth == strMonthArray) { intMonth = i+1; break; } } if (isNaN(intMonth)) { return false; } } if (intMonth > 12 || intMonth < 1) { return false; } intYear = parseInt(strYear, 10); if (isNaN(intYear)) { return false; } if (IsLeapYear(intYear) == true) { intDaysArray[1] = 29; } if (intday > intDaysArray[intMonth - 1]) { return false; } return true; } function IsLeapYear(intYear) { if (intYear % 100 == 0) { if (intYear % 400 == 0) { return true; } } else { if ((intYear % 4) == 0) { return true; } } return false; } +=============================+ I just don't know what to change or how...... I am looking to get the Hour and the Minutes as well as add three hours to the current time that it is off by. Thanks! Sincerely Char :)
SpinerC Posted March 5, 2007 Author Posted March 5, 2007 This is under version 2 though, does it make a difference on the versions that one is using? Not sure this is what I am after either..... I am only out to change the time in the bottom of my site on the where it shows the visitors. https://www.diamondsahara.ca Try this contribution:http://www.oscommerce.com/community/contri...earch,time+zone Thank you! Sincerely Char :)
jonquil Posted March 5, 2007 Posted March 5, 2007 Hi Char :) Just get the stock time thingie up there. Most likely it will show the correct time to anyone anywhere in their part of the world. You shouldn't have to mess with it. I mean how do YOU know I'm three hours ahead of you anyway! If you do it quick, I'll post back with what I see! BTW, your images are looking much better but the popup click to enlarge is not functioning (for me anyway). jon It's all just ones and zeros....
SpinerC Posted March 5, 2007 Author Posted March 5, 2007 Hi Char :) Just get the stock time thingie up there. Most likely it will show the correct time to anyone anywhere in their part of the world. You shouldn't have to mess with it. I mean how do YOU know I'm three hours ahead of you anyway! If you do it quick, I'll post back with what I see! BTW, your images are looking much better but the popup click to enlarge is not functioning (for me anyway). jon Hi Jon, :) That is part of the problem I am putting stock up at say 12:30AM Saturday night and it says that it is not available until the next day, when it is the next day for me. Also, when I ship there is a time frame, so one person who places an order who is three hours difference then my time, can miss my cut off time. So having the time stamped on the site would be according to my time, yes? Can you also tell me..... I have a small swf I want to add in the congrats success page, do I put it in the english/cart_success or in the admin/cart_success php file? WOW This is sooooooooooo much! lol! I came from next to nill background on this stuff, lost my first site and I think I know in part why now.... I found that the person who created some of my pages, never bothered to change the _____.php name from "shipping.php" to the actual pages I had running on them. Oh well, it happens and the site is better now then it was before :) I'm happy with it at this point and so are my customers based on e-mails :) Thanks a bunch! Sincerely Char :)
jonquil Posted March 5, 2007 Posted March 5, 2007 Char, I read through your Shipping & Returns content. IMHO, 24 hours is nice but unrealistic. "Most orders are received, packaged and shipped within 24 hours Monday to Friday only. Orders placed after 12:00 PM (Noon Eastern Time) on Friday will not be shipped until Monday after 12:00 PM (Noon Eastern Time)." This leaves little margin for error, creates an expectation that you may not meet for whatever reason, and probably makes you really crazy. If it were me, reword to say "Items are normally processed and shipped within 2 business days after your order has been received," and I would put on the buyer the responsibility to know that if they are on Pacific Standard Time, they are 3 hours behind you. It all depends on what your reputation is built on: Customer service? Quality of your product? Speed of shipping? If your reputation rests only on the latter, something is not right. In catalog/checkout_success.php, around Line 78, you'll find: <td valign="top"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_man_on_board.gif', HEADING_TITLE); ?></td> You can put your swf code between the TD tags. jon It's all just ones and zeros....
SpinerC Posted March 5, 2007 Author Posted March 5, 2007 Char, I read through your Shipping & Returns content. IMHO, 24 hours is nice but unrealistic. "Most orders are received, packaged and shipped within 24 hours Monday to Friday only. Orders placed after 12:00 PM (Noon Eastern Time) on Friday will not be shipped until Monday after 12:00 PM (Noon Eastern Time)." This leaves little margin for error, creates an expectation that you may not meet for whatever reason, and probably makes you really crazy. If it were me, reword to say "Items are normally processed and shipped within 2 business days after your order has been received," and I would put on the buyer the responsibility to know that if they are on Pacific Standard Time, they are 3 hours behind you. It all depends on what your reputation is built on: Customer service? Quality of your product? Speed of shipping? If your reputation rests only on the latter, something is not right. In catalog/checkout_success.php, around Line 78, you'll find: <td valign="top"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_man_on_board.gif', HEADING_TITLE); ?></td> You can put your swf code between the TD tags. jon Thanks Jon, arrrrrrrrrrrrrrrg! I typed a whole response for you and whala! GONE! in less then 60 seconds.. don'tcha just love technology! :) I want to retype what I had just said cause it took me some time and was worth the time too. AND, I am beat and need some ZZzzZZzZZzzzzzZZ!! Just know for now, I thank you for you thoughts and opinions, constructive comments are always welcome! I'll be back in the AM :) Sincerely Char :D
SpinerC Posted March 5, 2007 Author Posted March 5, 2007 Char, I read through your Shipping & Returns content. IMHO, 24 hours is nice but unrealistic. "Most orders are received, packaged and shipped within 24 hours Monday to Friday only. Orders placed after 12:00 PM (Noon Eastern Time) on Friday will not be shipped until Monday after 12:00 PM (Noon Eastern Time)." This leaves little margin for error, creates an expectation that you may not meet for whatever reason, and probably makes you really crazy. If it were me, reword to say "Items are normally processed and shipped within 2 business days after your order has been received," and I would put on the buyer the responsibility to know that if they are on Pacific Standard Time, they are 3 hours behind you. It all depends on what your reputation is built on: Customer service? Quality of your product? Speed of shipping? If your reputation rests only on the latter, something is not right. In catalog/checkout_success.php, around Line 78, you'll find: <td valign="top"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_man_on_board.gif', HEADING_TITLE); ?></td> You can put your swf code between the TD tags. jon Good Morning Jon! Ok, it is now the AM and I can do that response all over again, I tried to use the spell checker and that was how I lost the posting. Won't do that again lol! :) Anyhow, thank you for taking the time for one, to read through some of the material at the site and provide your thoughts as constructive criticism. If you noticed at the bottom of the page, there is always what we refer to as "wiggle room" which says, subject to periodical review and changes as necessary. Currently the shipping, works great! Orders that are received on Friday after noon for example, do not go out until Monday by noon. Since I drive my little one to school, it is not a problem and since I pick her up, I ship anything I need to then too. There is a post office just a couple of blocks away. And when people go through the system, on the success page, it states in large bold letters that Orders are NOT shipped until payment as has been cleared. So paypal, 24 hours and money orders, can take weeks. When you read..... "At Diamond Sahara, its all about... The Experience" it isn't just a catchy saying, we believe in it and stand by it. That experience starts before many of our clients even come to the site. We are locally advertised and most of our clientele are local. They have "Experienced" a V.I.P Party, they have lost an earring and gone through our no hassle replacement plan and been VERY satisfied. So the On-line store is just an extension of what we have already been doing, just to provide access to our products and services, 24-7. There are some VERY special clients we have as well, they receive the "At Home" special treatment.... one on one shopping. They tell us in advance what they are looking for or would like to see, they also receive personal delivery of their items. We have not had any problems Jon, no conflicts of time, no unhappy or unsatisfied customer and they love the service and continue to come back. But, I know you can't see this through the site, it is VERY new. You asked what our reputation is built on... "Customer service? Quality of your product? Speed of shipping?" And seemed to lead toward shipping Actually Jon, our reputation is built on each and every individual customer and their entire experience. We have a lot of repeat customers and they as well as our new customers, love that we actually give them a FREE gift with every purchase, that they can use or like! We have also had people come to us that have heirloom pieces, such as coral necklaces that no one would touch to restring. We took it and returned it in a timely manner, reasonably priced and completed it per the instructions of the client, she was thrilled! I am not sure why you think it is going to get hectic, this has been a well oiled operation and our clients appreciate our honesty, if we can't make it or do it, we tell them up front. All the items you see on the site, with the exception of the Jewelry making items such as tools, the Sterling Silver rings and Sterling Silver chains ARE created and manufactured by Diamond Sahara. If you click on the Diamond Sahara Manufacturer, you can see what we personally have made. Myself, I can produce approx 100 pieces per week, that is when I do not have to mess with a website lol! :D I have sat under and been taught by some of the best business minds in our region. Marketing, business plan inception and action, research and development etc.... and this company has continued to evolve and grow from that foundation, growing one new leg or facet at a time. 'Bout the only thing they didn't teach on was php codes and I surely could have used that one!! :D The time stamp thing on the bottom, I had it there once before and will get the codes to have it back again, it was one of the things I lost in the crash. But, at present, the only thing that has been hectic or driving me crazy lol! Has been having to re-build and entire site, the bright side was that the catalog of product was all backed up! :D Now I can get back to the important stuff like record keeping, preparing for tax time and making jewelry. :) Thanks again Jon for your thoughts and opinions, and I do mean that cause it makes me look at things from another perspective but, at this point, what we have is working perfectly, so if it isn't broke, don't fix it but, if it does break down, that's another story. At which point, you change or do what you must. Thanks for the understanding as well where the code for the swf is to go but, when I put in what I had, which is in an HTML format, it didn't work. Fun fun fun! :P Sincerely, Char :)
jonquil Posted March 5, 2007 Posted March 5, 2007 Char, Use Jason's suggestion to get your time back in there: /includes/footer.php. Line 17: <td class="footer"> <?php echo strftime(DATE_FORMAT_LONG); ?> </td> I just gave someone else the format to add a *.swf to their column_left with success. Can you please post the code you put into checkout_success.php? Let's get a look at it. jon It's all just ones and zeros....
SpinerC Posted March 5, 2007 Author Posted March 5, 2007 Char, Use Jason's suggestion to get your time back in there: /includes/footer.php. Line 17: <td class="footer"> <?php echo strftime(DATE_FORMAT_LONG); ?> </td> I just gave someone else the format to add a *.swf to their column_left with success. Can you please post the code you put into checkout_success.php? Let's get a look at it. jon Hi Jon :) The code that is listed above, I do have in there now but, the time is wrong based on when the day changes over, like from Monday 11:59 pm to Tuesday 12:01 am. I will find it somewhere, no worries :) K, here is the code for the swf file..... =============================== <HTML> <HEAD> <meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1"> <TITLE>thanku</TITLE> </HEAD> <BODY bgcolor="#FFFFFF"> <P align="center"> <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="200" HEIGHT="200" id="thanku"> <PARAM NAME="movie" VALUE="thanku.swf"> <PARAM NAME="quality" VALUE=high> <PARAM NAME="bgcolor" VALUE=#FFFFFF> <EMBED src="thanku.swf" quality=high bgcolor=#FFFFFF WIDTH="200" HEIGHT="200" NAME="thanku" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED> </OBJECT> </P> </BODY> </HTML> =============================== I tried altering the code but, nothing I did worked. Thank you! Sincerely Char :)
jonquil Posted March 5, 2007 Posted March 5, 2007 <td><P align="center"> <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="200" HEIGHT="200" id="thanku"> <PARAM NAME="movie" VALUE="thanku.swf"> <PARAM NAME="quality" VALUE=high> <PARAM NAME="bgcolor" VALUE=#FFFFFF> <EMBED src="thanku.swf" quality=high bgcolor=#FFFFFF WIDTH="200" HEIGHT="200" NAME="thanku" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED> </OBJECT> </P></td> It's all just ones and zeros....
SpinerC Posted March 5, 2007 Author Posted March 5, 2007 <td><P align="center"> <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="200" HEIGHT="200" id="thanku"> <PARAM NAME="movie" VALUE="thanku.swf"> <PARAM NAME="quality" VALUE=high> <PARAM NAME="bgcolor" VALUE=#FFFFFF> <EMBED src="thanku.swf" quality=high bgcolor=#FFFFFF WIDTH="200" HEIGHT="200" NAME="thanku" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED> </OBJECT> </P></td> Hi Jon, thanks you for the file, unfortunately, it isn't working... just one of those things I guess :huh: :rolleyes: I will play with it more then I get a chance.... file is in images and right name etc.... where you said to put it, I did but, it still doesn't work.... Thanks again! Sincerely Char :)
jonquil Posted March 5, 2007 Posted March 5, 2007 <td><P align="center"> <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="200" HEIGHT="200" id="thanku"> <PARAM NAME="movie" VALUE="images/thanku.swf"> <PARAM NAME="quality" VALUE=high> <PARAM NAME="bgcolor" VALUE=#FFFFFF> <EMBED src="images/thanku.swf" quality=high bgcolor=#FFFFFF WIDTH="200" HEIGHT="200" NAME="thanku" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED> </OBJECT> </P></td> Try this It's all just ones and zeros....
SpinerC Posted March 5, 2007 Author Posted March 5, 2007 <td><P align="center"><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="200" HEIGHT="200" id="thanku"> <PARAM NAME="movie" VALUE="/images/thanku.swf"> <PARAM NAME="quality" VALUE=high> <PARAM NAME="bgcolor" VALUE=#FFFFFF> <EMBED src="/images/thanku.swf" quality=high bgcolor=#FFFFFF WIDTH="200" HEIGHT="200" NAME="thanku" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED> </OBJECT> </P></td> Try this THANK YOU JON!! it works but...... I would like to have it where the "surfer dude" was on the top right, can you help me with that? It is in the middle of the page right now on the left side. Thanks again Jon! Sincerely Char :)
jonquil Posted March 5, 2007 Posted March 5, 2007 Here's the stock osC bit from checkout_success.php you need to play with. I have isolated in red where the table starts and stops. Concentrate: You can figure this out :) [font="Arial"]<!-- body_text //--> <td width="100%" valign="top"><?php echo tep_draw_form('order', tep_href_link(FILENAME_CHECKOUT_SUCCESS, 'action=update', 'SSL')); ?><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td>[color="#FF0000"]<table border="0" width="100%" cellspacing="4" cellpadding="2"> <tr> [/color] <td valign="top"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_man_on_board.gif', HEADING_TITLE); ?></td> <td valign="top" class="main"><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?><div align="center" class="pageHeading"><?php echo HEADING_TITLE; ?></div><br><?php echo TEXT_SUCCESS; ?><br><br> <?php if ($global['global_product_notifications'] != '1') { echo TEXT_NOTIFY_PRODUCTS . '<br><p class="productsNotifications">'; $products_displayed = array(); for ($i=0, $n=sizeof($products_array); $i<$n; $i++) { if (!in_array($products_array[$i]['id'], $products_displayed)) { echo tep_draw_checkbox_field('notify[]', $products_array[$i]['id']) . ' ' . $products_array[$i]['text'] . '<br>'; $products_displayed[] = $products_array[$i]['id']; } } echo '</p>'; } else { echo TEXT_SEE_ORDERS . '<br><br>' . TEXT_CONTACT_STORE_OWNER; } ?> <h3><?php echo TEXT_THANKS_FOR_SHOPPING; ?></h3></td> [color="#FF0000"]</tr> </table>[/color][/font] It's all just ones and zeros....
SpinerC Posted March 5, 2007 Author Posted March 5, 2007 Well Jon, seconds after you posted...... I tried larger, smaller, removing, adding a division, a parimeter.... nothing worked, it only moved up or down the left side, inside the main box text area.... I love a good challenge but, I just don't get this one. :( Thanks! Sincerely Char :)
SpinerC Posted March 6, 2007 Author Posted March 6, 2007 Here's the stock osC bit from checkout_success.php you need to play with. I have isolated in red where the table starts and stops. Concentrate: You can figure this out :) [font="Arial"]<!-- body_text //--> <td width="100%" valign="top"><?php echo tep_draw_form('order', tep_href_link(FILENAME_CHECKOUT_SUCCESS, 'action=update', 'SSL')); ?> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td>[color="#FF0000"]<table border="0" width="100%" cellspacing="4" cellpadding="2"> <tr> [/color] <td valign="top"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_man_on_board.gif', HEADING_TITLE); ?></td> <td valign="top" class="main"><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?> <div align="center" class="pageHeading"><?php echo HEADING_TITLE; ?></div><br><?php echo TEXT_SUCCESS; ?><br><br> <?php if ($global['global_product_notifications'] != '1') { echo TEXT_NOTIFY_PRODUCTS . '<br><p class="productsNotifications">'; $products_displayed = array(); for ($i=0, $n=sizeof($products_array); $i<$n; $i++) { if (!in_array($products_array[$i]['id'], $products_displayed)) { echo tep_draw_checkbox_field('notify[]', $products_array[$i]['id']) . ' ' . $products_array[$i]['text'] . '<br>'; $products_displayed[] = $products_array[$i]['id']; } } echo '</p>'; } else { echo TEXT_SEE_ORDERS . '<br><br>' . TEXT_CONTACT_STORE_OWNER; } ?> <h3><?php echo TEXT_THANKS_FOR_SHOPPING; ?></h3></td> [color="#FF0000"]</tr> </table>[/color][/font] ++++++++++++++++++++++++++++++++++++++++ <!-- body_text //--> <td width="100%" valign="top"><?php echo tep_draw_form('order', tep_href_link(FILENAME_CHECKOUT_SUCCESS, 'action=update', 'SSL')); ?><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"><tr> <td><P><align="center"> <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="150" HEIGHT="150" id="thanku"> <PARAM NAME="movie" VALUE="/images/thanku.swf"> <PARAM NAME="quality" VALUE=high> <PARAM NAME="bgcolor" VALUE=#FFFFFF> <EMBED src="/images/thanku.swf" quality=high bgcolor=#FFFFFF WIDTH="100" HEIGHT="100" NAME="thanku" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED> </OBJECT> </P></td> <td valign="top" class="main"><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?> <div align="center" class="pageHeading"><?php echo HEADING_TITLE; ?></div><br><?php echo TEXT_SUCCESS; ?> <?php if ($global['global_product_notifications'] != '1') { echo TEXT_NOTIFY_PRODUCTS . '<br><p class="productsNotifications">'; $products_displayed = array(); for ($i=0, $n=sizeof($products_array); $i<$n; $i++) { if (!in_array($products_array[$i]['id'], $products_displayed)) { echo tep_draw_checkbox_field('notify[]', $products_array[$i]['id']) . ' ' . $products_array[$i]['text'] . '<br>'; $products_displayed[] = $products_array[$i]['id']; } } echo '</p>'; } else { echo TEXT_SEE_ORDERS . '<br><br>' . TEXT_CONTACT_STORE_OWNER; } ?> <h1><?php echo TEXT_THANKS_FOR_SHOPPING; ?></h3></td> </tr> </table></td> Can you narrow the above using my codes Jon? Thanks! Sincerely Char :)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.