Results 1 to 3 of 3

Thread: Contacts vCard button broken - even after manual fix to php

  1. #1
    danheff is offline Senior Member
    Join Date
    Aug 2008
    Posts
    90

    Default Contacts vCard button broken - even after manual fix to php

    Hi.
    5.2 community edition upgrade guide suggests the following:

    Some entry points were changed in Sugar 5.1. Hence, a custom file created in 5.0,
    unless you manually updated it with the new entry point in 5.1, may fail in 5.2
    with the error message “Not a valid entry point”.
    For example, if you have customized vCard, navigate to custom\modules\
    <modulename>\metadata\detailviewdefs.php and replace <name="vcard"
    action="vCard.php>"
    with the following:
    <name="vcard" action="index.php">
    <input type="hidden" name="entryPoint" value="vCard">


    Two things:
    1. <name="vcard" action="vCard.php"> does not exist, only <form name="vcard">...i.e. 'preForm' => '<form name="vcard" action="vCard.php"><input type="hidden" name="contact_id" value="{$fields.id.value}">
    2. replacing this line with the suggested text above results in a blank page after quick repair and rebuild

    Should I be changing "form name" to "name"? Is there something else? I actually just pasted directly onto the .php text editor, so there is no syntax error on my part.

    thanks.

  2. #2
    lachmac is offline Sugar Community Member
    Join Date
    Apr 2008
    Posts
    30

    Default Re: Contacts vCard button broken - even after manual fix to php

    Hello,

    I have the same problem. Did you figure out a solution?

    Regards, Carl

  3. #3
    danheff is offline Senior Member
    Join Date
    Aug 2008
    Posts
    90

    Default Re: Contacts vCard button broken - even after manual fix to php

    Hi.
    I actually gave up and had this fixed as part of a small consulting job. I do recall that it took quite a while to get it working, but not sure exactly what was done eventually to fix...
    Sorry. Good luck!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Need to disable the "vCard Button"
    By Mag in forum General Discussion
    Replies: 4
    Last Post: 2008-09-22, 02:08 PM
  2. Edit Button in Contacts Module broken?
    By bennybtl in forum Help
    Replies: 0
    Last Post: 2008-01-08, 03:52 PM
  3. No Contacts or Accounts after Manual Upgrade
    By kenlyle in forum Installation and Upgrade Help
    Replies: 1
    Last Post: 2007-02-14, 03:45 PM
  4. Replies: 4
    Last Post: 2006-02-13, 01:13 PM
  5. Export Contacts as a vCard
    By Valien in forum Help
    Replies: 0
    Last Post: 2004-11-15, 12:54 PM

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
  •