How to place node/add/new-post form anywhere I want?
kaakuu - July 5, 2009 - 09:28
What is the drupal name or api name for the new submission form for blog entries?
Is there any lists of such names?
I got this in a thread and in api section
<?php
// Display the user registration form.
$output = drupal_get_form('user_register');
?> This code when added in page.tpl.php shows up the register form.
Similarly how can I add the node/add/blog form ?
$output = drupal_get_form('blog_form'); gives error.

=-=
For content forms, I think you node drupal_node_forms see: http://api.drupal.org/api/function/node_forms/6
Adding that code gives Fatal error
Adding that code gives "Fatal error: Cannot redeclare node_forms() (previously declared" etc.
The thing I want to do is add a "quick new blog post" form in any page using the tpl files, for example, the blog first page.
I can easily add an user register form in this page by
drupal_get_form('user_register');but how do I get form for new blog post stumps me. I thought drupal would have made it as easy so that I could use
drupal_get_form('whatever_is_the_name_of_new_blog_post_form');So specifically I was wanting to know how to call that form.