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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Contact info menu
Pages: [1]

Author Topic: Contact info menu  (Read 894 times)

mclyde

  • I post frequently
  • ***
  • Posts: 171
  • Karma: 3
    • International Society for Bayesian Analysis
  • CiviCRM version: 4.2.7
  • CMS version: Drupal 6.x
  • MySQL version: 5.136
  • PHP version: 5.2.16
Contact info menu
October 05, 2011, 07:02:52 am
I enabled the "contact info" menu item which goes to a link

/civicrm/contact/view?reset=1&cid={contact.cid}

Going to the link leads to a non-recoverable error cid (value: contact.cid) is not of the type Positive

How should the link be configured?  (I am not sure if this was a default menu item or something that someone before me created, but then disabled.

Thanks!
Merlise
Merlise Clyde

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: Contact info menu
October 05, 2011, 07:21:25 am
Can you give me a little more info on what you are trying to do? Where are you using the link?
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

mclyde

  • I post frequently
  • ***
  • Posts: 171
  • Karma: 3
    • International Society for Bayesian Analysis
  • CiviCRM version: 4.2.7
  • CMS version: Drupal 6.x
  • MySQL version: 5.136
  • PHP version: 5.2.16
Re: Contact info menu
October 05, 2011, 07:49:27 am
This was in a Navigation menu  under membership with a listing "Contact Information"   which would bring up the users Civicrm Contact Record so that they could see their memberships, Event registrations, etc.
the menu item path points to civicrm/contact/view?reset=1&cid={contact.cid}

I would like to use this rather than go to the Drupal Account, and scroll to the bottom for the "View Contact Record" link. so the contact.cid needs to point to teh current logged in user.

Related is accessing the Dashboard:  In the Drupal account edit there is a link to View Contact Dashboard  of the form
civicrm/user?reset=1&id=6477
(which is useful)

but if I go to  civicrm/dashboard   I end up with something which does not display anything (even after dropping the "Activities" to the "Dashboard").  It does create a temporary link in the Navigation menu "My Contact Dashboard" that points to the same info as what is exposed via the Drupal account view (which does list the activities).  THis menu item has to recreated though when I log back in.

Any help in exposing either the contact info or dashboard to a member via a menu item with fewer clicks would be useful! 

TIA
Merlise


Merlise Clyde

NASACT

  • I post frequently
  • ***
  • Posts: 289
  • Karma: 9
    • National Association of State Auditors, Comptrollers and Treasurers
  • CiviCRM version: 4.2.2
  • CMS version: Drupal 7
  • MySQL version: 5.1.58 (ubuntu)
  • PHP version: 5.3.5
Re: Contact info menu
January 31, 2012, 09:12:15 am
I played around with this some more today and got things to work using path as "civicrm/user" and it took to the standard dashboard page not the one with dashlets, the one created for user side administration.  Hope this helps.  I haven't found a way around using symbols in the node/add approach for diving deeper in the relative path game with drupal.  If anyone knows of a way to use & or = without translation into the URL "%27" after submission would be greatly appreciated.
-AJ
My GChat - azon21@gmail.com -  This is where you can find me most days!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Contact info menu

This forum was archived on 2017-11-26.