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

default_specials.php table problems

This is a discussion on default_specials.php table problems within the osCMax v2 Features Discussion forums, part of the osCmax v2.0 Forums category; I am having problems with HTML syntax and rows ending in the default_specials.php file. I do not know if the ...

      
  1. #1
    Member
    Join Date
    Dec 2004
    Posts
    46
    Rep Power
    0


    Default default_specials.php table problems

    I am having problems with HTML syntax and rows ending in the default_specials.php file. I do not know if the problems are related.

    It can be seen http://diecast-world.com/cat/

    First. There seems to be no constraint keeping the products on special from being lined up side by side until the special products max value is reached. The other module below (NewProducts) clips at 3 products per row and goes to the next line.

    Second. When I check the HTML output syntax there are many table elements that are not closed and start improperly (like rows containing no colums but containing other elements). These problems go away when I remove or comment the specials function.

    2.0 RC1
    Network Administrator
    Kansas Hosting
    http://www.kansashosting.com

  2. #2
    Member
    Join Date
    Dec 2004
    Posts
    46
    Rep Power
    0


    Default RE: default_specials.php table problems

    Maybe this post should be moved to a different category?
    Network Administrator
    Kansas Hosting
    http://www.kansashosting.com

  3. #3
    osCMax Developer

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


    Default RE: default_specials.php table problems

    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

  4. #4
    Member
    Join Date
    Dec 2004
    Posts
    46
    Rep Power
    0


    Default RE: default_specials.php table problems

    Well i guess it was a bug but now there is still huge HTML errors and the listed fix does show 2 rows but now more tags (table and div) are not either closed or opened. Any suggestions. There are so many I cannot figure it out by copying the source and putting it in golive.
    Network Administrator
    Kansas Hosting
    http://www.kansashosting.com

  5. #5
    Member
    Join Date
    Dec 2004
    Posts
    46
    Rep Power
    0


    Default RE: default_specials.php table problems

    OK. I do not know if this is a complete fix but it sure cleaned up the HTML output. On line 65 of the "bugfixed" default_specials.php I took out the <td></td>

    Mine now reads:
    'text' => '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $specials[$x]['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $specials[$x]['products_image'], $specials[$x]['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $specials[$x]['products_id']) . '">' . $specials[$x]['products_name'] . '</a><br><s>' . $currencies->display_price($specials[$x]['products_price'], tep_get_tax_rate($specials[$x]['products_tax_class_id'])) . '</s><br><span class="productSpecialPrice">' . $currencies->display_price($specials[$x]['specials_new_products_price'], tep_get_tax_rate($specials[$x]['products_tax_class_id'])));
    I found this pretty quickly because there was <TD><TD> and </TD></TD>

    Any thoughts?
    Network Administrator
    Kansas Hosting
    http://www.kansashosting.com

Similar Threads

  1. Display Category name on Default_specials
    By spurs20 in forum osCmax v2 Customization/Mods
    Replies: 0
    Last Post: 09-20-2005, 10:07 AM
  2. Problems setting up shipping table
    By Kalmservices in forum osCommerce 2.2 Installation Help
    Replies: 0
    Last Post: 09-01-2005, 05:17 AM
  3. table file
    By flexx in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 05-19-2005, 05:15 AM
  4. .css cant seem to fix table
    By Gus in forum osCommerce 2.2 Modification Help
    Replies: 3
    Last Post: 11-21-2003, 07:32 AM
  5. Add new fields/table to product table
    By Anonymous in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 10-21-2002, 04:23 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
  •