osCmax v2.5 User Manual
Results 1 to 6 of 6

rc3 onload="selectRowEffect(this, 0)" error in IE

This is a discussion on rc3 onload="selectRowEffect(this, 0)" error in IE within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; On a default install of rc3 IE shows "Error on page" in the task bar - left side. i have ...

      
  1. #1
    Active Member neil's Avatar
    Join Date
    Nov 2002
    Posts
    248
    Rep Power
    10


    Default rc3 onload="selectRowEffect(this, 0)" error in IE

    On a default install of rc3 IE shows "Error on page" in the task bar - left side.
    i have narrowed this down to this code in the body tag.
    Code:
    onload="selectRowEffect(this, 0)"
    What does this onload control & any suggestions on preventing the error in IE?
    HTH
    Neil
    www.12website.com

    "You can have everything in life that you want if you will just help enough other people get what they want."
    Zig Ziglar

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default RE: rc3 onload="selectRowEffect(this, 0)" error in

    I think this is a hack to pre-select the payment type - memory is a bit fuzzy. It really should only be on the checkout payment page, but we have not gotten around to making a new template for it. You can delete it if you like, or just make a new main template for the checkout payment pages and only have that template load the javascript...
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    Active Member neil's Avatar
    Join Date
    Nov 2002
    Posts
    248
    Rep Power
    10


    Default RE: rc3 onload="selectRowEffect(this, 0)" error in

    Thanks Michael,
    I understand this up the part:
    and only have that template load the javascript...
    I'll delete it for ther time being.
    HTH
    Neil
    www.12website.com

    "You can have everything in life that you want if you will just help enough other people get what they want."
    Zig Ziglar

  4. #4
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default RE: rc3 onload="selectRowEffect(this, 0)" error in

    Ok, here goes:

    Remove the offending javascript from your main_page.tpl.php, then create a new main_page.tpl.php, except name it main_checkout.tpl.php and add the javascript back into this template file.

    Then have the checkout_payment.php page use the new main_checkout.tpl.php file instead of the original main_page.tpl.php file. That should solve the issue and allow you to have your default payment module auto selected during checkout...

    I will leave you to sweat out the details, but you get the idea.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  5. #5
    Active Member neil's Avatar
    Join Date
    Nov 2002
    Posts
    248
    Rep Power
    10


    Default RE: rc3 onload="selectRowEffect(this, 0)" error in

    Thanks Michael,
    That is the part I understand.

    I will sweat out the details:
    telling / having / asking the checkout_payment.php page to use the new main_checkout.tpl.php
    and then remembering that every change I make in main_page.tpl.php to duplicate in main_checkout.tpl.php
    Thanks again.
    HTH
    Neil
    www.12website.com

    "You can have everything in life that you want if you will just help enough other people get what they want."
    Zig Ziglar

  6. #6
    Member
    Join Date
    Aug 2004
    Posts
    49
    Rep Power
    0


    Default RE: rc3 onload="selectRowEffect(this, 0)" error in

    Okay, I'm having a problem "sweating out the details"...how do I call the new main_checkout.tpl.php from checkout_payment.php?

Similar Threads

  1. Remove "QTPRO" for "Option Type Feature"
    By adam71o in forum osCmax v2 Customization/Mods
    Replies: 3
    Last Post: 01-10-2007, 09:32 AM
  2. Error while modifying "Welcome Guest!" greeting
    By firebird_411 in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 02-25-2006, 09:06 PM
  3. "Price" and "Add to Cart" button inside
    By midwestwebsites in forum osCmax v2 Customization/Mods
    Replies: 3
    Last Post: 11-14-2005, 04:13 AM
  4. Clicking on "Admin" gets error unable to connect t
    By secretagentwoman in forum osCommerce 2.2 Installation Help
    Replies: 2
    Last Post: 02-23-2004, 11:28 AM
  5. Define main page error - "file not writeable"
    By mark754 in forum osCmax v1.7 Discussion
    Replies: 4
    Last Post: 01-16-2004, 09:18 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •