Latest News: (loading..)

kymation

♥Ambassador
  • Content count

    9,699
  • Joined

  • Last visited

  • Days Won

    120

kymation last won the day on July 9

kymation had the most liked content!

About kymation

  • Rank
    Code Monkey
  • Birthday 09/25/1950

Profile Information

  • Real Name
    Jim Keebaugh
  • Gender
    Male
  • Location
    Aberdeen WA USA
  • Interests
    Just about everything.
  • Website

Recent Profile Visitors

125,977 profile views
  1. The code should be fine in either file, as long as it's in a PHP block. The critical issue is that it's available to use when the module is instantiated. Regards Jim
  2. I can only read what you've given me. I'm not psychic. If that's not the real error message, and I suspect it's not, then please in future use cut and paste to put the real error message in your post. It appears that recent versions of EDGE do not contain the tep_customer_greeting() function. Please add this code to the bottom of catalog/includes/modules/content/front_page/templates/cm_fp_customer_greeting.php: //// // Return a customer greeting function tep_customer_greeting() { global $customer_id, $customer_first_name; if (tep_session_is_registered('customer_first_name') && tep_session_is_registered('customer_id')) { $greeting_string = sprintf(TEXT_GREETING_PERSONAL, tep_output_string_protected($customer_first_name), tep_href_link(FILENAME_PRODUCTS_NEW)); } else { $greeting_string = sprintf(TEXT_GREETING_GUEST, tep_href_link(FILENAME_LOGIN, '', 'SSL'), tep_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL')); } return $greeting_string; } That should fix this problem. I have no idea how many more things have been removed that I depended on when this code was written, so you may find more things that don't work. Regards Jim
  3. That error makes no sense. There is no call to customer_greeting() in that file. Further, the call to tep_customer_greeting() is on line 17, not line 13. Are you using version 2.2.2 of Modular Front Page? And are you using the Responsive code from that version and not the stock 2.3.x code? Regards Jim
  4. A blank page where there should be content usually means that you have an error in the code for that page. You need to look in your PHP error log for that error message to figure out where to look. If you can't figure it out, post the error message(s) here and I'll take a look. If you have more than a few errors, clear the log and load that page again to get just the relevant messages. Regards Jim
  5. Most of the modules (if not all of them) in Modular Front Page will need the Compatibility Addon to function. MFP was written at a time when the Edge release had not yet made the changes that made most Addons incompatible. The code that you absolutely need is this: <div class="row"> <?php echo $oscTemplate->getContent('front_page'); ?> </div> This needs to replace the code you posted above in index.php. Regards Jim
  6. Did you install any of the Front Page modules? Nothing is installed by default. If you have, check your PHP error log for errors on that page. Since Edge was under development for a long time, and Addons for it were developed at various times during that cycle, it's hard to say what Addons will work with what vintage of Edge. However, if you install the Compatibility Addon, most of them should work with the latest version. Regards Jim
  7. Unfortunately the correct setting depends on your server setup. I would try setting those files to 755 or 757. If neither of those work, try other combinations until you find something that does. Also, verify that the permissions were actually changed. Some systems have security settings that fail to set values unless you have the proper (administrator) rights to that file. Regards Jim
  8. @mmotala10 You've got it pretty much right. The Edge version of osCommerce involved thousands of changes over more than a year. The version of Modular Front Page for Edge that I posted was valid when I posted it, but there have been many changes in Edge since that time, so it's no longer quite correct. The code that you posted should work. Just replace that first block of code with the code from Modular Front Page that you quoted. Let me know if that doesn't work and I'll take another look. Regards Jim
  9. This module won't do multiple columns, and I'm not aware of one that does. Not to say that it's impossible, just that I haven't seen one. Regards Jim
  10. Hope you had a nice vacation away from all of the Internet insanity. Welcome back.
  11. @ArtcoInc The line that you are seeing the error on is Line 124 in my copy. Please check that you are using the latest version of the Addon. I think the error is probably this one. The posted solution may work, or you may need to add the braces and enclose the whole foreach() statement. Or I could be wrong again. Regards Jim
  12. It doesn't look like the country name is the problem here. Sorry, that's all I have. Regards Jim
  13. I believe that there were issues with the country name that is stored in the database being incompatible with what the USPS expects. You might compare the entries that you have for the problem countries with the table from the latest osC release, or you may need to get the list from the USPS. Regards Jim
  14. Yes there is a Bootstrap version of osCommerce. The Bootstrap version is responsive, so pages automatically resize to fit the device screen. Since you are just starting out, I highly recommend using it. I suggest using the edge version from this thread. I also recommend that you scan through the rest of that thread, as it contains a list of most of the Addons available for the Bootstrap version. If you really need something that is not on that list, check the Apps page to see if it has been updated. The one disadvantage to using this version is that you cannot easily use old Addons from previous versions. That's due to the extensive changes needed to make it both responsive and modular. When adding Theme Switcher, as with any Addon/App, pay particular attention to the file locations. Read the instructions for more help on where the files must go. A misplaced file is the most common cause of an installation error. Regards Jim
  15. To amplify that a bit: $oscTemplate->getTitle() echos whatever was entered into $oscTemplate->setTitle(). You can feed that from the database, from a variable, or from a constant -- whatever you want. Modern osCommerce is pretty flexible. One thing you should never do is mix in static HTML pages. A customer going to one of those pages could lose their session, including cart contents, etc. This makes for unhappy customers. Keep everything in the osC framework and you'll be fine. Regards Jim