Back to Simple Contact Us Support

Any required settings?

Post a reply
2449 views
anschinsan
anschinsan

Hi community, I've installed simple contact us plugin and updated it to latest version. I've assured that {% framework extras %} and {% scripts %} are in the used layout .htm file, put the component in a contact.htm file. Translate plugin is installed. I think, I've done everything. Form appears nicely.

But submitting the form does not do anything. No message is stored in the database, nothing appears on the messages list in the backend, no e-mail is sent, no redirect is happening and - unfortunatly - there's no entry anywhere in the logs. I've tried to enable or disable the settings in Simple Contact settings page one by one (as clarification on what I've tried so far.)

Am I missing a basic setting or requirement? Please, help!

Anschinsan

Last updated

anschinsan
anschinsan

Hi community, I've looked further into the problem - and it seems, that I've produced an error with the ajax framework. Console states: '$.ajax is not a function' in framework.js on line 366. I've put all scripts in the header to test it - and shuffled the order of the scripts for several tests ... but with no result.

My scripts look like this: (without tags - I cannot paste html here)

    script src="https://code.jquery.com/jquery-3.2.1.slim.min.js">
    script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js">
    script src="/modules/system/assets/js/framework.js">
   script src="/modules/system/assets/js/framework.extras.js">
    script src="SITEURL/plugins/zainab/simplecontact/assets/js/simpleContact-frontend.js">
    script src="SITEURL/themes/wibr/assets/compiled/js/all.js">

Jquery is working, I do some dom manipulation in all.js. What else could I do wrong?

Thx in advance for any help! Anschinsan

Last updated

anschinsan
anschinsan

Problem solved. Anyone with the same error - the solution was to integrate full jquery: https://code.jquery.com/jquery-3.2.1.min.js instead of https://code.jquery.com/jquery-3.2.1.slim.min.js

Anschinsan

kritika1.scorpsoft29947
kritika1.scorpsoft29947

Hi community, i am new to octobercms and want to know that where to place this code "{% framework extras %} {% scripts %}", i have tried to add this in layout file but when i add it shows pop up of code and code doesn't save, need urgent help, Thanks in advance!!

1-4 of 4

Reply to this discussion

You cannot edit posts or make replies: You should be logged in before you can post.