Ticket #3083 (closed enhancement: fixed)

Opened 5 months ago

Last modified 4 months ago

Pre-populate 'New Post' form entiries with a link

Reported by: jsilence Assigned to: osimons
Priority: low Component: FullBlogPlugin
Severity: minor Keywords: create
Cc: Trac Release: 0.11

Description

I would like to have a link to create a new post, which readily sets some of the form fields. This would help making blog entries in the right category, for example.

With TracBlogPlugin it was possible to do this by simply appending GET parameters to the link like this: /blog/new?author=superblogger&keyword=special. Unfortunately this method does not work with FullBlogPlugin.

Is there a way to achieve this? Am I missing something? Otherwise I'd like to make this a feature request.

TIA,

-jsilence

Attachments

Change History

(in reply to: ↑ description ) 06/22/08 15:39:26 changed by osimons

Replying to jsilence:

Is there a way to achieve this? Am I missing something? Otherwise I'd like to make this a feature request.

No, current code expects this to happen as part of a POST so it will not work. Good idea though, and I should rework the code to support it for calling the initial post creation page.

06/26/08 16:47:17 changed by osimons

  • status changed from new to closed.
  • resolution set to fixed.

(In [3909]) FullBlogPlugin: Support for query arguments to pre-populate fields when doing a GET on `/blog/create (like a regular link).

Name of post can either be an argument or part of the path - these examples have identical result:

  • /blog/create/my-new-post?author=simon&categories=trac+plugin
  • /blog/create?name=my-new-post&author=simon&categories=trac+plugin

Closes #3083.


Add/Change #3083 (Pre-populate 'New Post' form entiries with a link)




Change Properties
Action