• Resolved Seb

    (@ssamyn)


    Hi !

    WordPress Version: 6.7.2
    Volunteer Sign Up Sheets: 5.5.2
    PTA Extensions in use:

    • Customizer
    • Automated emails
    • Custom Fields
    • Signup Templates

    Description: I’ve encountered a rendering issue with the user subscriptions table on the user’s personal page. The table layout is broken, with rows appearing to be improperly nested in the HTML structure.

    Issue Details: When viewing the My Subscriptions section, the table rows are displayed outside of the proper table structure. Examining the HTML, it appears that the rows (<div class="pta-sus-sheets-row">) are placed outside of the table container (<div class="pta-sus-sheets-table">) rather than being nested within it.

    The HTML structure currently looks like:

    <div class="pta-sus-sheets user"> <div class="pta-sus-sheets-table"> <div class="pta-sus-sheets-row pta-sus-header-row"> <!-- Header columns --> </div> </div> <div class="pta-sus-sheets-row"> <!-- Content row 1 --> </div> <div class="pta-sus-sheets-row"> <!-- Content row 2 --> </div> <div class="pta-sus-sheets-row"> <!-- Content row 3 --> </div> </div>

    The correct structure should be:

    <div class="pta-sus-sheets user"> <div class="pta-sus-sheets-table"> <div class="pta-sus-sheets-row pta-sus-header-row"> <!-- Header columns --> </div> <div class="pta-sus-sheets-row"> <!-- Content row 1 --> </div> <div class="pta-sus-sheets-row"> <!-- Content row 2 --> </div> <div class="pta-sus-sheets-row"> <!-- Content row 3 --> </div> </div> </div>

    Steps to Reproduce:

    1. Log in as a user with active subscriptions
    2. Navigate to the user’s personal page where subscriptions are displayed
    3. Observe the broken table layout in the My Subscriptions section

    Expected Behavior: The subscription table should display correctly with all rows properly aligned in a coherent table structure.

    Thanks for your help !

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author DBAR Productions

    (@dbar-productions)

    Thanks for the detailed report. I will take a look. I’m still unable to access the SVN repo here, and the support team here is not giving me any kind of timeline, other than letting me know I’m very low priority and it will be at least “weeks” before they can fix it.

    Most people use the default table layout, and that’s what I use as well for most testing, so I probably broke something in the divs view when making all the major updates recently. WordPress is normally good at fixing mismatched tags, which is how I missed the type in the table tags (fixed in 5.5.1) since WordPress fixed it on almost all themes and I never noticed it using the default WordPress themes. Not sure if WordPress does that kind of fixing with divs, most likely not since they aren’t set up in a fixed pattern like tables.

    I will have to post any fix I come up with in the sticky support thread I created as another zip archive to download since I can’t fix it in the repo yet. In the meantime, you could switch back to using tables instead of divs, and that should fix the issue, unless you have a lot of custom CSS that relies on the divs. I will post a reply here as well when I upload a fix.

    Plugin Author DBAR Productions

    (@dbar-productions)

    Found and fixed already. Extra closing div tag that shouldn’t have been in there. Here’s the fixed version:

    https://stephensherrardplugins.com/wp-content/uploads/volunteer/pta-volunteer-sign-up-sheets-5_5_3.zip

    Thread Starter Seb

    (@ssamyn)

    Thank you very much for the quick fix, everything is in order now !

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘User Subscriptions Table Broken’ is closed to new replies.