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

Ability to add custom class to CRM_Core_Session::setStatus

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Won't Fix
    • Affects Version/s: 4.3.8
    • Fix Version/s: Unscheduled
    • Component/s: None
    • Labels:
      None
    • Documentation Required?:
      None
    • Funding Source:
      Core Team Funds

      Description

      setStatus always puts the following div with the last class dependent on the type of status
      <div class="messages status no-popup">

      You can style all status blocks at once, but it would be useful to be able to add a custom class to statuses in php or smarty so users/developers can have differently-styled notices/errors for specific things.

      That way one can, for example, have a "no-popup error" or "no-popup notice", etc with different styling.

        Attachments

          Activity

            People

            • Assignee:
              colemanw Coleman Watts
              Reporter:
              stan_d Stan Dragnev
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: