Opened 16 years ago
Closed 16 years ago
#3083 closed enhancement (fixed)
Pre-populate 'New Post' form entiries with a link
Reported by: | jsilence | Owned by: | 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 (0)
Change History (2)
comment:1 Changed 16 years ago by
comment:2 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
(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.
Replying to jsilence:
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.