1

Can we show the node edit form in a custom block and show that on a node view page?

1
  • Welcome to Drupal Answers! The question is too broad for us. If you are asking about code to write, you should show what code you wrote so far; if you are asking about modules, requests for modules are off-topic for us. – kiamlaluno Jan 12 '17 at 16:06
2

You could use Form Block module and place the block above your view block. Some details about it (from its project page):

Enables the presentation of user registration, site wide contact, or node creation forms in blocks.

OR go with Clive's answer to this Q: Why doesn't loading a form in the view header work? and load the form in your View's header.

4
  • On each node/{nid} there will be a edit link on the right top. Clicking on the link will open a popup having node edit settings including menu settings, url path etc, where user can update the node data. – Jessica Jan 12 '17 at 12:32
  • 2
  • 1) Need to embed node/{nid}/edit form in a custom block and it will place on its node/{nid} page. – Jessica Jan 12 '17 at 16:02
  • 1
    Please check my minor edit. If the quote is not appropriate, feel free to adapt, or even rollback if you don't like it. IMO it reduces the risk of your answer being considered as "link only". OK? – Pierre.Vriens Jan 13 '17 at 21:37

Not the answer you're looking for? Browse other questions tagged or ask your own question.