Community

What ways can you setup a same page content posting form?

I want to be able to post content without leaving a page. Like the way the Facebook Style Statuses module is setup where you can quickly post your content. Are there any modules that allow you to setup a content type like this?

Comments

Excellent question, I take it

Excellent question, I take it you want inline content posting in a node, i.e. a "quick post" feature.

If so, I'd like to point out a few things you might want to ponder first:

  • What if the body textarea is replaced by a WYSIWYG editor and integrated file manager - load via AJAX or consume resources if hidden before activation to post?
  • Usually a theme had narrow columns or other constraints so the editor/textarea/fields will be too small or difficult to place and keep it usable.
  • If you try a more advanced editor does it work with current theme - many admins prefer common themes i.e. Seven or Bartik, etc., for simplicity, layout and compatibility.
  • What if revision control or moderation or workflow is involved?

Just food for thought that even the simplest ideas should be vetted before causing other problems. KISS principle plays a role here in my opinion, is my point.

This is why content posting traditionally is not inline, and why admin overlay or using modals to generate the content submission form is sufficient for many. If your content type is simple (title and body, not burdened by addons from manhy contrib modules or a myriad of custom fields requiring pre-processing) then I don't see why not. I did a quick search and couldn't find anything - maybe others here might have a suggestion.

For DIY, you might consider a custom module "quick post" that allows an admin to select/store which content types will be valid for posting and hooks into pre-process node and use FAPI which presents a simplified form that updates the content type body area/title as a new node. Might output as a block so I can hang it where I want in the theme, which helps with some of the issues I noted above. Set permissions on it, etc.

If this didn't help much I hope at least you are inspired!

Cheers.

-jim

Good ideas. I just want to be

Good ideas. I just want to be able to post a node/content on a page without going through the node/add page for quick posting.