CRM-13329 Add 2 more rows to the Badge Layout form (for a total of 6 rows)

    Details

    • Type: Sub-task
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.4.0
    • Fix Version/s: 4.4.0
    • Component/s: CiviEvent
    • Labels:
      None

      Description

      Add 2 more rows to the layout form (for a total of 6 rows).

      Space allocation should be dynamically adjusted to EXCLUDE vertical place-holders for empty rows on top or bottom of the row set.

      EXAMPLE: If row 4, 5, 6 are empty - then the QR or Bar Code image should be placed directly below row 3. If rows 1 and 2 are empty, then row 3 should 'move up'.

        Attachments

          Activity

          [CRM-13329] Add 2 more rows to the Badge Layout form (for a total of 6 rows)
          Kurund Jalmi added a comment -

          Now you can "skip", which means rows will be "move up" or add "spacer" which will keep blank space. Note that for now QR or Bar Code will always be at the bottom

          David Greenberg added a comment - - edited

          Bugs found:

          1. I get the same output whether I use 'skip' vs. use 'spacer' in the first two rows. I expected that using 'spacer' would create some empty vertical space between the image and the contents I've configured for row #3.

          2. Several of the event properties which I tried to include in the label are NOT producing output. Event Title, Event Start Date and Event End Date work. However the following do not produce output even when I run the labels from Find Participants using the Rainforest sample event (which does have values set for these properties):

          Event Type
          Event Contact Email
          Event Location
          Event ID

          ... I didn't try any of the others because so many of the above failed, so I suspect there's some general bug here.

          3. I think we need to just put all the rows BELOW the image if there's an image. Check out the attached screenshot where I tried to full a tall badge. There's no vertical space allocated for rows 1 and 2, and row 3 (event title) is squished up against the image. Then there's way too much empty space below row #6 / above the barcode. Maybe also should increase the hard-coded space between rows for the taller label format(s). ???

          Kurund Jalmi added a comment -

            People

            • Assignee:
              David Greenberg
              Reporter:
              David Greenberg

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 4 hours Original Estimate - 4 hours
                4h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 hours
                5h