I am new to drupal. Really stumped with this software. The documentation is appalling. It assumes users know everything. I have done some simple coding of php and css in wordpress and it's much easier.
I just want to create some forms and I spend like 3 hours looking for a simple tutorial on doing this but NONE available. There are forms_API and all but it doesn't give the BASIC of creating forms. It talks about putting php codes but WHERE do I put the php codes? In block? in page? in story? I tried putting some php codes but the form doesn't WORK. After more searching, I found out php filter module and I enabled it. Now I am able to select PHP filter when creating page/story/block but how does form works? I am still stump. I tried putting phpinfo and it works. That's all.
I put some of the sample forms code in it but nothing come out. Do I have to create my own forms template? The more I read the more I am confused. There are talks about CCK but I installed it and it allows me to do some custom fields. So, how do I create forms? Why can't I embed php codes into my html codes like in wordpress? Read about #ahah but no help. At least start a documentation of something explaining the concept of it before throwing all the technical stuffs at the users.
I tried searching the forum but search is disabled and I need to search using google. Nothing that helps.
I am really lost here. Anyone kind enough to guide me to a site "Creating FORMS in drupal for the dummies?"
Really appreciate it.
Comments
webform
I think you need this module
http://drupal.org/project/webform
Welcome in Drupal.
Try this
Try this module:
http://drupal.org/project/webform
you don't need to get into the code to create a form if you don't want to. There's a module out there for almost everything!
leaving the incendiary parts
leaving the incendiary parts of your post aside:
1) you can enter php in many places in drupal. most often it's probably entered into nodes and blocks. You have to enable the PHP Code module, use an account with the appropriate permission (set at admin/settings/filters), and select the PHP Code input filter. I've coded simple forms with php directly into nodes no problem.
2) cck fields allow you to expand on the basic node format (body/title) by adding custom field types-- there are many, if they meet your needs there's no need to custom code forms.
3) there's always the http://drupal.org/project/webform module
4) learn & use the drupal forms api:
===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime." -- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz
I feel your pain, I went
I feel your pain, I went through the same thing back in the day.
Check this out: http://drupal.org/node/262422
---
Yuriy Babenko
www.yubastudios.com
---
Yuriy Babenko | Technical Consultant & Senior Developer
http://yuriybabenko.com
thanks for the webform and
thanks for the webform and ten step-by-step guide...I think this will get me going for sometime. To think I almost give-up and go for joomla.... :)
I've never used Joomla, but
I've never used Joomla, but from what I've heard about it from other developers, it sounds like an absolute nightmare to develop for - you will be better off learning Drupal ;)
---
Yuriy Babenko
www.yubastudios.com
---
Yuriy Babenko | Technical Consultant & Senior Developer
http://yuriybabenko.com
hmm...
hmm....
> I just want to create some
> I just want to create some forms and I spend like 3 hours looking for a simple tutorial on doing this but NONE available. There are forms_API and all but it doesn't give the BASIC of creating forms. It talks about putting php codes but WHERE do I put the php codes? In block? in page?
I wanted to buy a cake, and I spent three wasted hours searching in a sports shop, before I asked someone if they sold cakes. They told me to go to the bakery next door. Then suddenly I found buying cakes easy. But I'm still going to blame the sports shop for not having a sign up outside reading 'we do not sell cakes'.
That's basically analogous to what you just posted!
However, since the search feature on this site has been down for a long time, I can understand if you couldn't find the module.
Try searching for modules here: http://drupalmodules.com/
or use google using: 'site:drupal.org [modulename] module '
Cheers.