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.

Comments

cwgordon7’s picture

Assigned: Unassigned » cwgordon7
Category: task » feature

Nice idea, will go into the 6.x version shortly.

Susurrus’s picture

Status: Active » Fixed

Seems like this already exists in both the 5.x and 6.x branches...

cwgordon7’s picture

Status: Fixed » Active

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.

Susurrus’s picture

Status: Active » Fixed

That's why I marked it fixed, seems like I wasn't paying close enough attention, because this module definitely does do this.

cwgordon7’s picture

Status: Fixed » Active

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.

robbt’s picture

I saw this working on the cwgordon7's drupal 6 wiki demo site and I'm wondering how this can be set-up ?

cwgordon7’s picture

That was done in an embarrassingly hackish way... I'll upload something as soon as I find a better fix.

Susurrus’s picture

Status: Active » Needs review

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]'] = TITLE if the content doesn't exist and then the form will pull in the title correctly.

rötzi’s picture

Status: Needs review » Fixed

Fixed in DRUPAL-6--1 branch.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.