I imagine the forms API will need to be updated if nothing else...
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | template.module | 5.98 KB | urbanfalcon |
| #2 | editasnew.module | 6.55 KB | bomarmonk |
| #1 | editasnew_4_7.patch | 2.31 KB | bomarmonk |
I imagine the forms API will need to be updated if nothing else...
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | template.module | 5.98 KB | urbanfalcon |
| #2 | editasnew.module | 6.55 KB | bomarmonk |
| #1 | editasnew_4_7.patch | 2.31 KB | bomarmonk |
Comments
Comment #1
bomarmonk commentedHere is an attempt at a patch. Something is wrong with it, but I did update the forms_api and the node_list calls (as many as I found) and it almost seems to work. No errors, but the settings aren't visible and I'm not sure it is "Editing as new" in the proper way-- I don't really have any nodes in my 4.7 install. Hopefully, someone else can take my steps and finish the job.
Comment #2
bomarmonk commentedAlso, here is the patched module, somewhat updated for 4.7.
Comment #3
javanaut commentedThanks!
I'll test this soon.
Comment #4
sami_k commentedI tried to test is, setting menu doesn't work.. Functionality with flexinode doesn't work.
Comment #5
hystrix commentedTried the patched version above on 4.7-beta6.
The edit-as-new tab shows up on existing nodes. When I click on it generates a new node, but all content is blank.
Also as reported by others:
Admin -> Settings -> Edit As new doesn't render any options.
Comment #6
urbanfalcon commentedWell, in order to make everything work fully with the 4.7 form API changes, a lot of additional alterations had to be made. Unfortunately, the new form API is so specific about how it defines every piece of a form, it's really not possible to blanketly copy everything over from old node to new as was done before. In addition, I couldn't get taxonomy terms to copy over as long as the module was named 'editasnew' - I am guessing that's because "e" comes before "t" in taxonomy.module, and so my pre-filled taxonomy boxes were getting nulled back to square one. So, here's template.module - it works insofar as copying title, taxonomy terms, and body. It is configurable as before with the added option of being able to rename the tab itself. If someone finds a better way, I'd love to get an email about it!
Comment #7
roberb7 commentedI just tried editasnew, and got "Fatal error: Call to undefined function: node_list() in /home/.dolly/rbrought/nwtennis.com/modules/editasnew.module on line 78". It doesn't matter whether it's a story or an event.
We really need to have this working with events, guys. The absence of a "recurring" feature in events is already a major drawback.
Comment #8
bomarmonk commentedRecurring feature with events? Try event_repeat, if you haven't already. It only works with Drupal 4.7, but it seems to function rather well....
Comment #9
whereisian commentedJust wondering if there has been any activity on this. I'm currently looking for this type of module.
Cheers.
Comment #10
jcarlson34 commentedThis project has had no activity for years. Therefore closing this thread to clean up d.o issue queue a bit.