Support

  1. Reever
  2. General
  3. Friday, March 08 2019, 05:37 AM
  4.  Subscribe via email
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. 2 weeks ago
  2. General
  3. # 1
Reever Accepted Answer
Pro
Hi,

Looks like that did the trick!
Thank you for the quick reply too!
  1. 2 weeks 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.

Request Support

Support is currently Offline

Support Availability

Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.

Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.

Guidelines

Before you post: read the documentation and search the forums for an answer to your question.

When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).

Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.

Language: only English

Search Users

Easy ProfileĀ® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.