CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • customizing dashboard
Pages: [1]

Author Topic: customizing dashboard  (Read 3619 times)

rvanderh

  • Guest
customizing dashboard
July 25, 2009, 09:51:03 am
Hi,

I want to customize civicrm dashboard for my CRM-maintainer (civicrm/dashboard). I followed the instructions on:
http://wiki.civicrm.org/confluence/display/CRMDOC/Customize+Built-in,+Profile,+Contribution+and+Event+Registration+Screens
but without success, civicrmdashboard keeps pointing to the original tpl-file on civicrm/templates/CRM/Contact/Page/View/Dashboard.tpl and ignores my customized dashboard.

I am especially puzzled, because I followed the same procedure with the user dashboard (civicrm/user) which is actually pointing to my customized UserDashboard.tpl as expected.

Somebody any suggestions on what I did overlook ?

Thanks, Rik

PS I am working on Drupal 6.13 and CiviCRM 2.2.7
« Last Edit: July 25, 2009, 03:59:01 pm by rvanderh »

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: customizing dashboard
July 27, 2009, 12:45:31 pm
Rik - No idea why that custom tpl doesn't work? Are you sure you've placed in in the correct relative tree path? Maybe also try clearing template cache (templates_c folder).

As a side note, there is a CiviCRM hook for modifying the 'home page' dashboard - which might even be a better approach for you:
http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+hook+specification#CiviCRMhookspecification-hookcivicrmdashboard
Protect your investment in CiviCRM by  becoming a Member!

rvanderh

  • Guest
Re: customizing dashboard
July 27, 2009, 03:20:12 pm
Quote from: Dave Greenberg on July 27, 2009, 12:45:31 pm
Rik - No idea why that custom tpl doesn't work? Are you sure you've placed in in the correct relative tree path? Maybe also try clearing template cache (templates_c folder).
I three, four and five double checked that meanwhile. wait a moment jus because you insist .... sixt time ...

Oh dear, oh dear ... It was the right tree, but wrong name ....  Dashboard.tpl in stead of DashBoard.tpl. Now it's working. Thanks.

Quote
As a side note, there is a CiviCRM hook for modifying the 'home page' dashboard - which might even be a better approach for you:
http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+hook+specification#CiviCRMhookspecification-hookcivicrmdashboard
Thanks again. I read 'This hook can be used to add content to the dashboard page'. But my challenge with civicrm is not 'to add content', but 'to remove content'. All those features  are too intimidating for me already, let it be for the person I am flattering to become crm-maintainer.:)

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: customizing dashboard
July 27, 2009, 04:43:29 pm
Actually it's not too clear in the hook doc, but your can pass in $contentPlacement = 3 if you want to completely replace dashboard content with something else. :-)
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • customizing dashboard

This forum was archived on 2017-11-26.