contact form moodle 1.8 does not work

contact form moodle 1.8 does not work

by laura barbieri -
Number of replies: 10
I installed contact_form

I ckicked the
Notifications link.

I can see the contanct_form into the mysql table of block

I CAN NOT SEE contact_form in the LIST of BLOCKS


Average of ratings: -
In reply to laura barbieri

Re: contact form moodle 1.8 does not work

by Matt Campbell -
Where in the Moodle directory structure did you put the contact_form folder? Please make sure you can find it in /moodle/blocks.

Thanks,
Matt
In reply to Matt Campbell

Re: contact form moodle 1.8 does not work

by laura barbieri -
Yes I did

/public_html/moodle/blocks$ ls
activity_modules course_list messages search
admin course_summary mnet_hosts search_forums
admin_bookmarks db moodleblock.class.php section_links
admin_tree glossary_random news_items site_main_menu
blog_menu html online_users social_activities
blog_tags index.html participants version.php
calendar_month loancalc quiz_results
calendar_upcoming login recent_activity
contact_form mentees rss_client


In reply to laura barbieri

Re: contact form moodle 1.8 does not work

by Matt Campbell -
If you run the following command on your database, do you see an entry for contact_form?

SELECT * FROM `mdl_block`

Thanks,
Matt
In reply to Matt Campbell

Re: contact form moodle 1.8 does not work

by laura barbieri -
SELECT * FROM `block` where `name`= 'contact_form';


result


id name version cron lastcron visible multiple



29 contact_form 2007091700 0 0 1 1

In reply to laura barbieri

Re: contact form moodle 1.8 does not work

by Matt Campbell -
When you select the blocks dropdown, do you see 'Ask A Question'? That's the contact form.

Thanks,
Matt
In reply to laura barbieri

Re: contact form moodle 1.8 does not work

by Michael Lauterbach -

Hello Matt,

I´m from Germany and I have another problem with contact form block.

It works well, means a query will be send to the trainer. But then, the site stayed after submitting without sending the Message "Danke für Ihre Fragen und Anmerkungen. Es wurde an die richtigen Ansprechpartner/innen gesandt und wird recht bald bearbeitet werden." and without returning to the Coursesite.

Paradoxically has it worked in the Testinstallation perfectly ... and I think, that I have done nothing differently.

For Installation: I copied the files (look at the attachement) in the directory /moodle/blocks/contact form and the language file "block_contact_form.php" in the folder en_utf8 at the directory /lang.

More Information: If I try to edit this module in the Website-Administration and push the Button "Blockbearbeitung einschalten", I get the Message "A required parameter (block) was missing".

Sincerely,

Michael

Attachment contact_form.jpg
In reply to Michael Lauterbach

Re: contact form moodle 1.8 does not work

by Matt Campbell -
This is done with Moodle's redirect function, so on the same site, what happens when you make a forum post? Does it give you the continue link, and then automatically go back to the forum, or does it just sit there?

Are you using the same server for test and production, or are these on seperate servers? If so, are there any differences (OS, PHP, MySQL, webserver) between the two servers?

Do you get this same behavior with different browsers, or does it work on one browser and not on others?

Thanks,
Matt


In reply to Matt Campbell

Re: contact form moodle 1.8 does not work

by Michael Lauterbach -

Hi Matt,

after posting from a forum, moodle gives me a continue link and then automatically go back to the forum. By posting from the contact form, nothing happens (but the mail arrives to the trainer).

I´m using two different production installations on two different server. If you want to test it, have a look on www.md-campus.de (right side "Fragen und Wünsche") and www.hudu-schneebrenner.de

Sorry, I forgot: I´m using moodle 1.9+

Michael

In reply to Michael Lauterbach

Re: contact form moodle 1.8 does not work

by Matt Campbell -
Hmmm. I notice a number of missing </DIV> when I view source on www.md-campus.de, from the page where I would expect the continue link. One easy thing to try would be to switch to the standard theme, long enough to see if it may be theme related.

Otherwise, there is something stopping the rest of the page. I would also turn debugging on and see if you get any sort of error.

Thanks,
Matt