Hi Eric,

here my bug report, just like you requested:

I try to prepopulate ("prefill") the URL form with the module "Prepopulate", or with the module "Nodeformtemplate".

With Prepopulate I just tried to populate the URL field with a string like this here:
http://site.com/node/add/audio?edit[url]=http://othersite.com/track.mp3&edit[title]=Track Title
Title works, URL not. I tried to do it with other fields from encl_remote ("Size" etc.) with no success too.
I thought it could have something to do with "audio" being a CCK content type. I tried to embed encl_remote into "story" content type but got the same (negative) results.

With Nodeformtemplate I tried to give the fields variables, just like described in the modules readme. With Nodeformtempl. you get an interface to save your variables for your forms. When you hit submit, every variable is saved, but not the variables in fields of encl_remote...

Prepopulate: http://drupal.org/project/prepopulate
Nodeformtemplate: http://drupal.org/project/nodeformtemplate

Comments

funana’s picture

Hi Eric,

any news on this?

ewlloyd’s picture

Sorry, I've been pretty frantic of late, getting a couple of sites running, plus the day job. I should have a bit more time to look it over after the first of February, though.

funana’s picture

Thanks for updating :) Have a nice weekend!

zany’s picture

Status: Active » Reviewed & tested by the community

In case you use the encl_remote module with the prepopulate module (to preset the fields from a bookmarklet e.g.) this is the syntax:

URL:
edit[encl_remote][url]=...
Link Text:
edit[encl_remote][link-text]=...
Size:
edit[encl_remote][size]=...
MIME Type:
edit[encl_remote][mime-type]=...

E.g.

http://domain.tld/node/add/story?edit[title]=New+Link&edit[encl_remote][url]=link_url_here

Enjoy.

zany’s picture

Status: Reviewed & tested by the community » Closed (fixed)

This is now in the README.