drupal 6 - Embed node creation form using PHP -
I have content type called "Inquiry" I want to embed node creation form at different places on my website. How can I do this via PHP?
Looks like a job for webform modules if you really want to go cck route Try something like this:
$ node = new stdClass (); $ Node- & gt; Type = 'store_review'; Module_load_include ('inc', 'node', 'node pages'); $ Output = drupal_at-form ('store_review_node_form', $ node); Print output $;
Ref:
Comments
Post a Comment