Results 1 to 2 of 2

Thread: Account name in calendar view - parent_name doesn't work

  1. #1
    christina is offline Junior Member
    Join Date
    Aug 2006
    Posts
    1

    Default Account name in calendar view - parent_name doesn't work

    Hello

    I am working on adding 'Account Name' to my meeting entries in calendar view for sugarcrm

    I have used this patch as a reference for modifying the code (see code string at the end): calenhance12-351a.zip
    (see forum discussion: PATCH: Calendar View Enhancement)

    But 'parent_name' apparently returns an empty string for sugar bean meetings - it only works for tasks.
    My question is: what should I use instead of 'parent_name' to get to the account name?


    Code string, where parent_name is used:
    $description = 'class="monthCalBodyDayItemLink">'.$timedate->to_display_time($act->sugar_bean->time_start, false, false).' '.$act->sugar_bean->parent_name.': '.$act->sugar_bean->name;


    Best
    Chris

  2. #2
    psp
    psp is offline Member
    Join Date
    Aug 2006
    Posts
    5

    Default Re: Account name in calendar view - parent_name doesn't work

    I also need to add the account name on the calendar for each task. My users do not like the standard feature that only shows the the title of an activity on the calendar.

    Why does the calendar module file not appear in the Field Layout section of admin? Surely this should be a simple case of dragging the required field onto the calender in the same manner as modifying other pages.

    If you do have to modify the code can some one post what is required?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •