Hi,

Thanks for the great module. I used it in 4.7 with vote-story without any problems. I used %title, %url, %description and the form saved. But, in 5.1 I'm unable to save %url.

Any ideas?

Thanks,

JIm

Comments

maui1’s picture

I just installed nodeformtemplate 5.x-1.x on a drupal 5.2 dev version that has proven to be otherwise stable with dozends of other modules.

I have the same problem only my form template tab does not save any of the place holders %tltle, %description or %url.

Is the nodeformtemplate dependant on another module?

boris mann’s picture

Seeing the same issue with %url not being saved. Trying to fill in a Links field from the Links package.

Egon Bianchet’s picture

Title: nodeformtemplate not saving %url » links_weblink_url form field uses #value instead of #default_value
Project: nodeformtemplate » Links Package
Version: 5.x-1.x-dev » 5.x-1.4
Component: Code » Code: links_weblink.module
Priority: Critical » Normal

This happens because links_weblink_url uses the #default_value field instead of #value in its hook_form.

I could work around this by form_alter but I think that it's better to fix it in links_weblinks unless there's a good reason not to.

syscrusher’s picture

Corrected in HEAD version tonight. Good catch; thanks!

syscrusher’s picture

Status: Active » Fixed

Marking fixed. Please retest with your other module, and let me know if I'm wrong about this being corrected now.

dries’s picture

Status: Fixed » Closed (fixed)