Nonexistant entry links should have "title" field of node creation form auto-filled from URL
Susurrus - January 24, 2008 - 05:35
| Project: | Wikitools |
| Version: | 6.x-1.0-beta1 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | cwgordon7 |
| Status: | closed |
Jump to:
Description
As title says. the freelinking module does exactly this. The title for a new wiki entry should be autofilled when visiting a link where the content doesn't exist.

#1
Nice idea, will go into the 6.x version shortly.
#2
Seems like this already exists in both the 5.x and 6.x branches...
#3
Maybe I misunderstood what you said initially, but something is definitely wrong here: when you go to a page that doesn't exist and a node edit form is there, the title should be auto-filled.
#4
That's why I marked it fixed, seems like I wasn't paying close enough attention, because this module definitely does do this.
#5
Sorry to disagree, but no, it definitely does not. Code was never written for it to do this, there is no code in there that does this on page-not-founds with inline node add forms. That's why I marked it active. True, it does work with the link, but the inline edit form needs to have that happen too.
#6
I saw this working on the cwgordon7's drupal 6 wiki demo site and I'm wondering how this can be set-up ?
#7
That was done in an embarrassingly hackish way... I'll upload something as soon as I find a better fix.
#8
The really easy was is to just redirect to
node/add/TYPE/?edit[title]=TITLE, just like freelinking does. I haven't spent enough time with the code to fully determine how it works, but that'd be the easiest way. If we don't want to do that, we should be able to do$_GET['edit[title]'] = TITLEif the content doesn't exist and then the form will pull in the title correctly.#9
Fixed in DRUPAL-6--1 branch.
#10
Automatically closed -- issue fixed for two weeks with no activity.