1. Reever
  2. General
  3. Friday, March 08 2019, 05:37 AM
Hi,

I am using Easy Profile combined with Acymailing. I am using the Easy Profile Tag plugin to include fields in my Acymailing newsletter.

Everything is working correctly, except I have one field with drop downs that have a value and text ie: "1|Option 1" I would like to bring in the value "1" instead of the text "Option1"

I have tried using both syntax "{eptag:consultant|info:receiver}" and "{easyprofilefield:30}" but both are only bringing in the text only.

Hopefully there is a way I canget the value included instead.
admin Accepted Answer
Admin
Hi,
unfortunately our plugin is not designed for this purpose.

To make something like this you need to change the behavior of the plugin:
-open file /plugins/acymailing/tagepuser/tagepuser.php
- at line 162 replace this code
$replaceme = isset($values->$field) ? $values->getField($field) : $mytag->default;
with this:
$replaceme = isset($values->$field) ? $values->getValue($field) : $mytag->default;
if(is_array($replaceme)) $replaceme = implode(',',$replaceme);


With this you can use our plugin to get the value and Acyba plugin to get text.

NOTE: this code is not tested and not supported, it is only for example purpose.
  1. more than a month ago
  2. General
  3. # 1
Reever Accepted Answer
Pro
Hi,

Looks like that did the trick!
Thank you for the quick reply too!
  1. more than a month ago
  2. General
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.