[development] Some problems with a CCK Field module
mathews.kyle at gmail.com
Wed Nov 17 21:15:40 UTC 2010
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.
On Wed, Nov 17, 2010 at 1:51 PM, Adam B. Ross <grayside at gmail.com> wrote:
> I'm not familiar with this myself, but I wonder if the iframe module
> might have some guidance for you?
> On Wed, Nov 17, 2010 at 12:16 PM, Kyle Mathews <mathews.kyle at gmail.com>
> > I'm writing a CCK Field module to provide integration with Etherpad so
> > can add an Etherpad field to a content type which will then automatically
> > bring in an etherpad editor via an Iframe when you create a new node.
> > See http://groups.drupal.org/node/98794 for more.
> > But this is my first cck field module and I'm running into a couple of
> > difficulties.
> > First, I don't really understand how a widget saves information. The
> > is I need to save more information then I ask people to add in the
> > The widget is just a checkbox that asks people if they want to include an
> > etherpad with the node. But I need to save with the node not just that
> > also the etherpad url, etherpad id, and attributes.
> > Where do I add this information to be saved? Is there some sort of
> > CCK-specific submit function I can use?
> > The second questions is more of a shot in the dark. Now, when I add an
> > Etherpad field to a content type, it doesn't always work. By not working,
> > mean my widget doesn't show up on the node edit page and there's no
> > on the page (though the output variable is defined in node.tpl.php, just
> > it's empty). That's not much to go on I know but is there any common
> > why this could happen?
> > If you'd like to look at the code, it's
> > at
> > Thanks!
> > --
> > Kyle Mathews
> > Blog: kyle.mathews2000.com/blog
> > Twitter: http://twitter.com/kylemathews
> > Company: http://eduglu.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the development