Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-13235

Custom event name badges cannot be created as extensions

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.3.5
    • Fix Version/s: None
    • Component/s: CiviEvent

      Description

      When creating a custom format for event name badges, you need to create a subclass, but also to store any logo you want displayed on the badge in the templates directory.

      When trying to do so via an extension, the class is correctly found, but the logo is not as CRM_Event_Badge::getImageFileName() only searches $config->customTemplateDir

        Attachments

          Activity

            People

            • Assignee:
              dgg David Greenberg
              Reporter:
              nganivet Nicolas Ganivet
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 15 minutes
                15m
                Remaining:
                Remaining Estimate - 15 minutes
                15m
                Logged:
                Time Spent - Not Specified
                Not Specified