Menu
SuiteCRM dedicated support by SalesAgility
Welcome, Guest
Username: Password: Remember me

TOPIC: ConfirmOptIn works half way

ConfirmOptIn works half way 2 months 3 weeks ago #66144

  • actxc
  • actxc's Avatar
  • Offline
  • New Member
  • Posts: 16
  • Thank you received: 1
  • Karma: 2
I am happy that the confimOpt Mails are sent, but I can not find the small marks as described in the user dokumentation in contact list.
Is some work necessary to enable the display as seen in docs.suitecrm.com/user/modules/confirmed...il_opt_in_indication

And I want to modify the page that is shown to the user after confirmation.
Can this be done in the studio?
Or CSS?

I would love to show a thankyou page or modify the page where it lands in general
Suite 7.10.4, Ubuntu 16.04.4, PHP 7.0.22, MySQL 5.7.20
Last Edit: 2 months 3 weeks ago by actxc.
The administrator has disabled public write access.

ConfirmOptIn works half way 2 months 3 weeks ago #66149

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 7033
  • Thank you received: 1075
  • Karma: 250
I think this is a known issue:

github.com/salesagility/SuiteCRM/issues/5859

About the landing page, please paste here the exact text in English that it shows, so I can search the code for where it is.
The administrator has disabled public write access.
The following user(s) said Thank You: actxc

ConfirmOptIn works half way 2 months 3 weeks ago #66158

  • actxc
  • actxc's Avatar
  • Offline
  • New Member
  • Posts: 16
  • Thank you received: 1
  • Karma: 2
Thank you for the first hint - what a relief.

What I get is a pure text line:

You have confirmed that your email address "This email address is being protected from spambots. You need JavaScript enabled to view it." has been opted in

Created with the URL:

https://(domain)/index.php?entryPoint=ConfirmOptIn&from=(code)
Suite 7.10.4, Ubuntu 16.04.4, PHP 7.0.22, MySQL 5.7.20
The administrator has disabled public write access.

ConfirmOptIn works half way 2 months 3 weeks ago #66159

  • actxc
  • actxc's Avatar
  • Offline
  • New Member
  • Posts: 16
  • Thank you received: 1
  • Karma: 2
I think I got a an idea:

include/EntryPointConfirmOptIn.tpl

found with:

grep -rnisI "You have confirmed that your email address" *
Suite 7.10.4, Ubuntu 16.04.4, PHP 7.0.22, MySQL 5.7.20
The administrator has disabled public write access.

ConfirmOptIn works half way 2 months 3 weeks ago #66160

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 7033
  • Thank you received: 1075
  • Karma: 250
Yes, that's the file.

Try creating a custom copy like taught here.
The administrator has disabled public write access.
The following user(s) said Thank You: actxc

ConfirmOptIn works half way 2 months 3 weeks ago #66161

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 7033
  • Thank you received: 1075
  • Karma: 250
No, forget it, the custom file won't get picked up, this needs to be improved here

github.com/salesagility/SuiteCRM/blob/81...ptInHandler.php#L169

You'll have to customize the original, it won't be upgrade-safe, you'll have to check after each upgrade and perhaps re-edit the file if it happens to be overwritten by the upgrade...
The administrator has disabled public write access.

ConfirmOptIn works half way 2 months 3 weeks ago #66181

  • actxc
  • actxc's Avatar
  • Offline
  • New Member
  • Posts: 16
  • Thank you received: 1
  • Karma: 2
which other data could be shown there?
the email is referenced with $FOCUS->email_address in the template,
how to show Name or other data?

is this difficult or just use common place holders?
(Its my first approach tp modify SuiteCRM)
Suite 7.10.4, Ubuntu 16.04.4, PHP 7.0.22, MySQL 5.7.20
The administrator has disabled public write access.

ConfirmOptIn works half way 2 months 3 weeks ago #66183

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 7033
  • Thank you received: 1075
  • Karma: 250
The template will replace only variables that have been passed into it by the calling function.

So that variable is prepared here:

github.com/salesagility/SuiteCRM/blob/81...ptInHandler.php#L167

You will need to add any variable you want from $this, which is a EmailAddress Bean. If you need to, you can do more work in PHP and go around the other beans in order to get more data from other records.

(Read the Developer guide, Beans chapter, for an introduction).

Please post your results here, this is a new feature and possibly what you're doing can be of use to more people, or even to merge into the product. Thanks.
Last Edit: 2 months 3 weeks ago by pgr. Reason: add sentence
The administrator has disabled public write access.
The following user(s) said Thank You: actxc

ConfirmOptIn works half way 2 months 3 weeks ago #66192

  • actxc
  • actxc's Avatar
  • Offline
  • New Member
  • Posts: 16
  • Thank you received: 1
  • Karma: 2
This was very valuable for me.
Thank you!
Suite 7.10.4, Ubuntu 16.04.4, PHP 7.0.22, MySQL 5.7.20
The administrator has disabled public write access.
Time to create page: 0.114 seconds
Powered by Kunena Forum