i am trying building a web site for class student project and i need it to look like the following:
- front page has (say) a form at the top of it (sticky on top of the front page) and the student must fill in the informations like his name, email and his choice of quize. and when he click submit then the quize will appear on the bottom part of the front page as illustrated below. and always the last quize stay at the top of the rest.
so i am wondering if this can be drupaled? and if so
+ the top of the front page should i use contact form for it or what? and how to make it stay always at the top?
+ the bottom page should it be a comment or a page or what is the best for it? as a new Drupaler i am really lost.
////////////////////////////////////////////////// Top part of Front Page
-------------------------------------------
Please fill this Form and click Submit....
Student name: .........(user 1)
Student Email: .........(user1@email.com)
Quize : ...................(can you Drupal this?)
Submit clear all
----------------------------------------
//////////////////////////////////////////////-Bottom Part of Front Page
----------------------------------------
user 1 date post: 17/11/2008 21:24
Can you Drupal this?
Answer this View Answers
---------------------------------------------------------------
user 2 date post: 16/11/2008 11:24
Do you think you can do this in Drupal?
Answer this View Answers
---------------------------------------------------------------
user 3 date post: 15/11/2008 5:24
Do i have to get any modules to do this?
Answer this View Answers
---------------------------------------------------------------
so on
thanks in advance for any help
Comments
Web Form
Use WebForm with custom postprocessing for your questionaire.
- Alexei Rayu.
Drupal Related Services | SiteHound 2.5 (based on Drupal 6.6) - Drupal for Beginners! With new, best ever admin theme!
HI Alexei thanks a lot for
HI Alexei
thanks a lot for your reply, i already looked at the module Web form yesterday and even watched the screen cast for it but it seemd to me like just buidling a custom form which is ok as part of what i wanna do. but
how can i keep this form on the front page as a sticky on the top? and how to do the rest? forgive me but i didnt understand what do you mean by custom postprocessing) is it a module?
can you give guide me little bit more
thnx
I'm not sure I would go with
I'm not sure I would go with webform for this. I would probably go with the http://drupal.org/project/quiz module for the quizzes and use http://drupal.org/project/panels to create a custom panel page for the front page with the form at the top and a view of the completed quizzes below.
===
"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." - Ben Franklin
"Search is your best friend." - Worldfallz
Hi WorldFallz - Thanks for
Hi WorldFallz
- Thanks for your reply, but what i wanna do is not a quiz, actually the register user (student in my example) when they got a question in their mind then they can come to the front page and post it and automatically this post will appear at the bottom and if any other user (student)has an answer for this question (or any other posted listed questions) can simply click - answer this - button and so on.
........so as you see it i not a quize it is a kind of shring informations among the students.
- i already took a quick look at the quize module but i dont think it is what i am looking for.
- also, i have the panel module installed on my Drupal but my problem (as new Drupaler) is: if i create the form as a content type just the content of this content type will appear on the front page and i need the content type itself to appear not what is in inside(clear enough).let me explain it more:
i already created a content type called - Submission Form - which has Fullname, Email, Class(as Taxonomy), question Fields. and what i want is to show this submission form itself on the front page with its empty fields to be filled by the student but what happened is it only shows just the informations and not the form itself?
- also how can i add submit and clear all buttons to this form.
- also i want to know how can i make this: when the student click submit the information goes right away to the front page.
thnx
Print the node form anywhere...
Here's 2 methods detailed over at the 2 bits site - I've used the 2nd method several times and work fine - granted I know at least a bit about how to build forms in Drupal and that you would need to learn about - nothing like buying the book "Pro Drupal Development"...
http://2bits.com/articles/creating-nodes-using-mini-forms-anywhere.html
Both the methods print the form in a block - which you can output in a custom region above the main content. You need to learn about adding regions to your templates and themeing them. If you use a starter theme like Genesis then it has a Content Top region plus a full width region above the columns that would be perfect for this sort of thing.
You dont actually need views to print the list of Questions - views can be (very useful) but strickly speaking it's not a requirement to get what you want. All you really need to do is make sure that on the node type you are using "Promote to Front" is checked by default, then all the new Question will pop up under the form (which in a block) on the front page.
For the "Answer this" feature you can just turn on Comments for the node type and use the String Overrides module to modify the "Add new comment" text to "Answer this question".
Contact me directly if you want to IM over this, that would be no problem, unbelievably I seem to have some free time this week...
Pimp your Drupal 8 Toolbar - make it badass.
Adaptivetheme - theming system for people who don't code.
All you really need to do
Excellent point-- i use views and panels so much, i often overlook the non-views/panels methods of doing things.
Another option to put a form in a block, without having to code it, is the http://drupal.org/project/formblock module.
===
"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." - Ben Franklin
"Search is your best friend." - Worldfallz
"All you really need to do
"All you really need to do is make sure that on the node type you are using "Promote to Front" is checked by default, then all the new Question will pop up under the form (which in a block) on the front page"
good point and here i need to ask:
if i created a new Content Type called (myContentType) and a new block called (myNewBlock) how can i include myContentType in myNewBlock? or how can tell Drupal to put this kind of Content type inside this specific Block?
woooooh...
formblock module, never heard of it, lookout, downloading very soon, great heads up, thanks WorldFallz!!
Pimp your Drupal 8 Toolbar - make it badass.
Adaptivetheme - theming system for people who don't code.
lol-- i had exactly the same
lol-- i had exactly the same reaction. it's definitely a very slick module.
===
"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." - Ben Franklin
"Search is your best friend." - Worldfallz
This Module is not done yet
This Module is not done yet for Drupal 6 (or even 5).
i created a new Content Type called (myContentType) and a new block called (myNewBlock) how can i include myContentType in myNewBlock? or how can i tell Drupal to put this kind of Content type inside this specific Block?
ANY HELP !!!!!
it works fine afaict--
it works fine afaict-- there's even an issue pointing out that there's basically no issues so it should be moved from dev to release.
===
"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." - Ben Franklin
"Search is your best friend." - Worldfallz
Getting Closer
Getting Closer
i installed it already and i was able to insert my new block on the front page using panel Module.
i think i am getting closer to what i wanna do
thanks WorldFallz
use views
If I understand you correctly, and whilst there probably are many ways to do this, I would go about it by using views. Making the display of the view a block and put it anywhere where you can put blocks.
Hope this help
www.ZuNOB.com
- i don't think it is that
- i don't think it is that easy, I've been looking at Views tutorials for a week now and still can not figure it out ?
can you give more details or more guidelines on how to do that?
* i posted this questions after long search through Modules and tutorials so it would be very kind if anyone who is trying to help to highlight some steps on how to do that, i do not need a very detailed tutorials, but at least some guiding steps would be great.
thanks
I would try to follow the
I would try to follow the steps in the advanced help system (add this module, if you have not got it), for the three samples views.
Then I would do my own, just showing comments... modify the view to show only the comments tagged (taxonomy module) as relevant, then I would start refining the appearances and probably iterate thru those steps if needed.
If you look under the NNN navigation tab on my site you will see a simple view. I could do one like that in less than an hour, including yours. I'll help you if you get stuck, but I won't be on long tonite. I have already put over 14 hours on work.
Go for it, dude! :)
And I have now added the view on my site to show up right side bar on my site. Easy as once the view is setup.
www.ZuNOB.com
OK i ll take look again at
OK i ll take look again at the help file... but how can i show the content type elements (form with its field) itself on the front page or any page.?