[Solved] Footer form(module) breaks on a page linked to a diff form through component

Status
Not open for further replies.

BodgeIT

Member
I figured it was having something to do with the module loading a lot of the same code as the component, so I moved it to a custom module and used the content plugin.

This worked but the redirect plugin seems to fail to fire and so the ackowldgement popup that was working in the module, fails to fire. The user gets no confirmation.

Any sugestions?
 
Hi Hugh,
The form called in the component through the menu is displayed again in the footer module.
Module is definitely calling the correct form(diff from component).

EDIT:
I can show on a demo if that helps?

Thanks as always for your help..
 
Last edited:
OK I think this has something to do with it:
/media/com_fabrik/js/dist/form.js:3 Uncaught TypeError: Cannot read property 'addEvent' of null
at Object.watchGroupButtons (/media/com_fabrik/js/dist/form.js:3)
at Object.e.extend.$owner (mootools-core.js:38)
at Object.setUp (/media/com_fabrik/js/dist/form.js:3)
at Object.e.extend.$owner (mootools-core.js:38)
at Object.setUpAll (/media/com_fabrik/js/dist/form.js:3)
at Object.e.extend.$owner [as setUpAll] (mootools-core.js:38)
at Object.initialize (/media/com_fabrik/js/dist/form.js:3)
at Object.<anonymous> (mootools-more.js:27)
at Object.e.extend.$owner [as initialize] (mootools-core.js:38)
at new <anonymous> (mootools-core.js:37)
 
I just filled out the "Register your interest" form, and I get no JS errors, and the confirmation popup appears.

-- hugh
 
That form only supposed to have 3 fields.
Not the survey embedded in it too
 

Attachments

  • survey.jpg
    survey.jpg
    104.7 KB · Views: 31
That's what I'm seeing. Not at all like your pic.

Try clearing your browser's cache.

What browser are you using?

-- hugh
 
Very odd.
Using Chrome and clearing cache didn't change.
Just tried in FF too.
Must be down to the login. I'm logging in to this page.
I'll give you login to verify but that already provides me an extra clue.
 
I've gone as far as I can go with this one in Community. I know the NHS strapped for cash, but so am I. :)

-- hugh
 
Hi Hugh,
Thanks for all the time you took on this. Sorry to have not come and ackowledged that.
The issue had something to do with the way the template renders error pages...mashes up relative urls with a starting "/".
Fixed it.
 
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top