I've got this module creating nodes, being able to pick layouts it pulls from FM Server. But I can never find, browse or add data. I'm looking at the code for Find Mode, and I don't see how you'd ever get data back to the screen.

So you go into Find Mode and, put in some data, and click submit:

<form action="/node/137472/find" accept-charset="UTF-8" method="post" id="filemaker-record-form">

You hit the menu call back:

function filemaker_find_submit(&$form, &$form_state) {
...
  filemaker_perform_find($node, 'find');
}

And that's it. No return of themed output. I see that filemaker_perform_find() does set an item in the $_SESSION, which you often use to shuttle data around. But the end of this submit callback is the final point before the page is rendered. I get a blank, themed page, as this code would appearently render.

Does this work for anyone else? I have no idea how this works in your demo video.

jyg

Comments

jyg’s picture

Priority: Critical » Minor
Status: Active » Closed (won't fix)

Nevermind... this is more involved than I thought. And my assessment above it totally wrong. Totally.