Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default [DONE] My Account bug

    There is a minor bug in the logic of the tpl_account_default template file.

    It may be found in the section of code lines 65-83. There are two conditions being tested here. If either is true a block of code will be generated. Within this block is an unordered list. However, this list is only opened (line 72) if the first condition is true and only closed (line 79) if the second is true. However if only one of them is true, then the HTML structure is be corrupted.

    The fix is simple - just move the ul tags outside of these conditions to lines 69 and 82 respectively.

    I attach the file with these corrections >> tpl_account_default.zip
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: My Account bug

    Thanks - fixed for next version
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Re: My Account bug

    kurio
    If you dont mind, can you explain a little more or post that part of the code as I am interested in knowing too
    Thanks

  4. #4
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: My Account bug

    This thread is for Bug Reports and fixes- If you have a question please start another thread in the appropriate forum.

 

 

Similar Threads

  1. [Done v1.5.0] Bug: PRODUCTS_VIRTUAL_DEFAULT
    By RodG in forum Bug Reports
    Replies: 1
    Last Post: 30 Mar 2011, 04:16 AM
  2. [NOT A BUG] Minor bug in account edit template
    By jdcncsolutions in forum Bug Reports
    Replies: 3
    Last Post: 2 May 2010, 01:37 AM
  3. Replies: 59
    Last Post: 30 Dec 2006, 05:24 PM
  4. Replies: 2
    Last Post: 19 Aug 2006, 09:01 PM
  5. [DONE] Bug in referrals field of account-edit template
    By GlassHoppah in forum Bug Reports
    Replies: 2
    Last Post: 25 Jun 2006, 08:48 AM

Posting Permissions

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