0

I am trying to put a "mailing list" subscribe form into a Joomla module (having the sign-up be its own page is not very useful).

However, I am running into problems with qfKey. How can I generate a qfKey?

I can copy and paste the generated form html, but submissions can't happen without a valid qfKey in the form post.

Any other/better ways of doing this or is there a simple function I can call to generate a qfKey for mailing list sign up?

Thanks in advance, Joel

1

I don't think you can generate a qfKey - if I understand your question, using an html-snippet of a Profile that is set up with the Groups field may give you what you want.

| improve this answer | |
  • I would like to display newsletter subscriptions in Joomla modules. If I use a profile, the user will get added to the group, but I don't think they will receive a double opt-in. – Joel Feb 26 '18 at 14:20
  • Double opt-in is a setting in civicrm at Admin > CiviMail > CiviMail component Settings - look for "Enable Double Opt-in for Profile Group(s) field" – petednz - fuzion Feb 26 '18 at 20:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.