I want to be able to have users click a navigation link to input the object parameters of their YouTube video by providing a node form (called input video parameters). - with other stuff (of course) like keywords, etc. I want this input form to post to a node identified by the following unique URL - node / videos / (the actual time stamp) / (the user or session id). This node needs to be generated upon the form submission to field the posted data in order to record the form transmission? Is this possible? Is there a work around for this - which obviously looks impossible?

If not how do I get users to input their video object parameters without giving them permission to full html or php?

Comments

nevets’s picture

First, you can not assign a node number (nid) to new content, the system takes care of that for you. At that point the path node/{nid} will work for the new content. If you want a path alias, there is the path module and pathauto though it will not construct a path like the one you have shown.

As for the last part, "If not how do I get users to input their video object parameters without giving them permission to full html or php?", create a custom content type using CCK that collects the information you need. No need to allow them to enter HTML or PHP.

rry44’s picture

My ultimate goal was to create a form to accept a user's video object and then post it to a page that would save it (and other info) into a page node and play the video. However, I believe Drupal can only post to the note that is served. Or it can post to a node that already exists. But in my case, I want the data to create the node.

So you are recommending that the CCK module will allow this. So I create a custom type called video data (or something). In the form of this node they put their object data in a text format, but how do I get the php code in that form in advance of their input? Remember I will have to capture the timestamp and the session id for the alias link.

Your help appreciated.

Rich Y.

Rich Y.