This has been racking my brain all day and you probably know the solution quite quickly.

I want to use the imagegrabber on a standalone form, not on node/add.

My reason for this is that i will be creating several importers that do pretty much the same job, but will have different mapping schemas for different XML feeds. Each one will have its own standalone form to upload the xml file.

It looks like it should be an easy task to add imagegrabber to the standalone form:

function feeds_imagegrabber_form_alter(&$form, $form_state, $form_id) {
if ($form['#id'] == 'node-form' || $form['#id'] == 'feeds-import-form')) {

But that doesnt seem to work.

Please help!

Comments

marta_yo’s picture

suscribing

karengrey’s picture

I did it in the end, but it was a long and lengthy process, not one for beginners.

terry22’s picture

Hi karengreen,
I'm trying to use magegrabber on a standalone form too.
Could you explain how you managed to did it?

thank you,
terry

mrfelton’s picture

@karengreen - I'd love to know how you did this.

nicxvan’s picture

I'd love to know too, this would be incredibly useful.

rooby’s picture

For drupal 7 there is an issue here #1618324: Remove dependency on feeds nodes

There is also a workaround here, which could be backported to drupal 6, that allows using the site defaults for all these forms (one setting for all forms though) #1618326: Default settings not used

jorisx’s picture

nearly there, only getting this ajax http error:

AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information follows. Path: /blabla.nl/batch?id=97&op=do StatusText: Service unavailable (with message) ResponseText:

Thats all the message gives me?
any idea?

and now this one..
SQLSTATE[HY000]: General error: 2006 MySQL server has gone away

strange stuff :)

rooby’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

D6 is no longer supported.

Discussion related to this for D7 should happen at #1618324: Remove dependency on feeds nodes