I am trying to override the node template for the Graphmind Content type using panels. I am doing this so I can fit some content on the side of the Graphmind interface.

However, whenever I load a new Graphmind in the panel page I created, I am given a Network Error. Graphmind works great when I use it without a panel page ovveride.

Network error: cannot connect to site: http://localhost/drupal_services/?q=services/amfphp
Details: wrong connection info (url) or missing AMFPHP library or wrong AMFPHP|Services version or wrong Services authentication method (only Session auth needs)

Msg: [FaultEvent fault=[RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed: url: 'http://localhost/drupal_services/?q=services/amfphp'"] messageId="EE4C0523-C55A-4B22-D51E-E079DBE2AC8B" type="fault" bubbles=false cancelable=true eventPhase=2]

Thanks for your help.

-Paul

CommentFileSizeAuthor
#3 Screen shot 2011-02-09 at 10.18.50 AM.png44.3 KBzulfa
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

stack’s picture

Priority: Normal » Critical
stack’s picture

hello,

I'have the same problem than you and I want to know if you have resolve your problem ?

Thanks

zulfa’s picture

I found a way to overcome the problem:

  1. Install GraphMind 6.x-1x-dev version into "sites/all/modules" folder
  2. In the panels content view, add a new content -> New custom content
  3. Paste this:
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
        id="GraphMind" width="100%" height="600"
        codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab"> 
        <param name="movie" value="/sites/all/modules/graphmind/graphmind/GraphMind.swf" /> 
        <param name="quality" value="high" /> 
        <param name="bgcolor" value="#869ca7" /> 
        <param name="allowFullScreen" value="true" /> 
        <param name="flashvars" value="nid=70&basePath=http:/example.com/services/amfphp&iconDir=http://example.com/sites/all/modules/graphmind/graphmind/icons/&plugins=">
        <embed src="/sites/all/modules/graphmind/graphmind/GraphMind.swf" quality="high" bgcolor="#869ca7"
          width="100%" height="600" name="GraphMind" align="middle"
          play="true"
          loop="false"
          quality="high"
          allowFullScreen="true"
          type="application/x-shockwave-flash"
          pluginspage="http://www.adobe.com/go/getflashplayer"
          flashvars="nid=70&basePath=http://example.com/services/amfphp&iconDir=http://example.com/sites/all/modules/graphmind/graphmind/icons/&plugins="
        </embed> 
      </object> 

    Into the "Body" field. Remember to change "example.com" to your domain. The "nid=70" value is your graphmind node.

  4. Input format: Full HTML
  5. Save and flush cache.
  6. Your mind map should be showing.

Regards,
Zulfa.

Ramanonos’s picture

I'm not sure I understand what to change per these instructions. Is this a patch to applied to a php file? i have the Open Atrium version of mindmaps that uses graph mind. I get the following error:

Network error: cannot connect to site: http://example1.dev/?q=groupb/services/amfphp
Details: wrong connection info (url) or missing AMFPHP library or wrong AMFPHP|Services version or wrong Services authentication method (only Session auth needs)

Msg: [FaultEvent fault=[RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error NetConnection.Call.BadVersion: : url: 'http://example1.dev/?q=groupb/services/amfphp'"] messageId="9D749134-5549-EE9B-73DD-DFEF2561FD6D" type="fault" bubbles=false cancelable=true eventPhase=2]

itarato’s picture

Hi Guys,

I think pasting a code is not a good idea. (Although there is no any other solution as far as I know.) Graphmind heavily uses the node template and the node page - which is the map page and not a panel page. I'd say use maps as it is out of any other context - like panels.

digitalproductionart’s picture

I noticed through firebug that the flashvars entities were being encoded, making the url unreadable by flash.

So in the node-graphmind.tpl.php file I changed this (in two places):

echo $graphmind['flashvars'];

to this:

echo decode_entities($graphmind['flashvars']);

itarato’s picture

Status: Active » Postponed (maintainer needs more info)

Hi Jerry,

This badly encoded flashvars doesn't seem right. Is it browser specific? This happens every time? Can you give me some details, please? Thanks!