Haha, yes, I actually based my module on the iframe module. I copied its files into mine and did a find/replace and worked from there.<div><br clear="all">--<br>Kyle Mathews<br><br>Blog: <a href="http://kyle.mathews2000.com/blog">kyle.mathews2000.com/blog</a><br>
Twitter: <a href="http://twitter.com/kylemathews">http://twitter.com/kylemathews</a><br>Company: <a href="http://eduglu.com">http://eduglu.com</a><br>
<br><br><div class="gmail_quote">On Wed, Nov 17, 2010 at 1:51 PM, Adam B. Ross <span dir="ltr"><<a href="mailto:grayside@gmail.com">grayside@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I'm not familiar with this myself, but I wonder if the iframe module<br>
might have some guidance for you?<br>
<br>
<a href="http://drupal.org/project/iframe" target="_blank">http://drupal.org/project/iframe</a><br>
<div><div></div><div class="h5"><br>
On Wed, Nov 17, 2010 at 12:16 PM, Kyle Mathews <<a href="mailto:mathews.kyle@gmail.com">mathews.kyle@gmail.com</a>> wrote:<br>
> I'm writing a CCK Field module to provide integration with Etherpad so you<br>
> can add an Etherpad field to a content type which will then automatically<br>
> bring in an etherpad editor via an Iframe when you create a new node.<br>
> See <a href="http://groups.drupal.org/node/98794" target="_blank">http://groups.drupal.org/node/98794</a> for more.<br>
> But this is my first cck field module and I'm running into a couple of<br>
> difficulties.<br>
> First, I don't really understand how a widget saves information. The problem<br>
> is I need to save more information then I ask people to add in the widget.<br>
> The widget is just a checkbox that asks people if they want to include an<br>
> etherpad with the node. But I need to save with the node not just that but<br>
> also the etherpad url, etherpad id, and attributes.<br>
> Where do I add this information to be saved? Is there some sort of<br>
> CCK-specific submit function I can use?<br>
> The second questions is more of a shot in the dark. Now, when I add an<br>
> Etherpad field to a content type, it doesn't always work. By not working, I<br>
> mean my widget doesn't show up on the node edit page and there's no output<br>
> on the page (though the output variable is defined in node.tpl.php, just<br>
> it's empty). That's not much to go on I know but is there any common reason<br>
> why this could happen?<br>
> If you'd like to look at the code, it's<br>
> at <a href="https://github.com/KyleAMathews/drupal-etherpad/blob/master/etherpad.module" target="_blank">https://github.com/KyleAMathews/drupal-etherpad/blob/master/etherpad.module</a><br>
> Thanks!<br>
> --<br>
> Kyle Mathews<br>
><br>
> Blog: <a href="http://kyle.mathews2000.com/blog" target="_blank">kyle.mathews2000.com/blog</a><br>
> Twitter: <a href="http://twitter.com/kylemathews" target="_blank">http://twitter.com/kylemathews</a><br>
> Company: <a href="http://eduglu.com" target="_blank">http://eduglu.com</a><br>
><br>
</div></div></blockquote></div><br></div>