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

clarify code and functionality for hook_civicrm_dashboard_defaults

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.5
    • Fix Version/s: 4.5.2
    • Component/s: Core CiviCRM
    • Labels:
      None
    • Documentation Required?:
      Developer Doc

      Description

      The documentation (http://wiki.civicrm.org/confluence/pages/viewpage.action?pageId=180748301) and code for the use of the hook_civicrm_dashboard_default function is murky.

      Based on the initial ticket (CRM-13892) and what I understand from the code, it seems that the code is intended to only provide the default set of dashlets for new users and not run if a user has already configured their dashboard.

      However, instead, it seems to run even after a user has been initialized.

        Attachments

          Activity

            People

            • Assignee:
              monish.deb Monish Deb
              Reporter:
              jamie Jamie McClelland
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: