Using custom fields in view and email
- Stefano Bettega
- Topic Author
- Offline
- New Member
Less
More
11 years 4 months ago #33596
by Stefano Bettega
Using custom fields in view and email was created by Stefano Bettega
Hi Tuan,
I've been asked to add a Distributor name field to each member profile. This field contains the name of the vendor who sold the subscription to the final user. This data has to be used in two ways:
I modified
to remove the net gross column (which we don't need) and I used
to view contents of available view query: custom fields are not listed here. I saw also that in
there is the query to export custom fields. I'm wondering where is the query to generate the subscriber list and how to modify it, and also how to get this field and add it to email.
Thanks in advance and regards
Stefano
I've been asked to add a Distributor name field to each member profile. This field contains the name of the vendor who sold the subscription to the final user. This data has to be used in two ways:
- when sending subscription expiration reminders, this field shoudl be included in email content, like [FIRST_NAME], [LAST_NAME], ...to generate an email body like "Dear [FIRST_NAME], [LAST_NAME], your [DISTRIBUTOR] subscription plan [PLAN_TITLE] is going to expire in...
- when listing subscrbers in administration backend, it should be visible and queried, to filter whose user come from a specific distributor (a combo box listing distributors is really not needed here, just a mere plain query is suitable)
I modified
Code:
/administrator/components/com_osmembership/views/subscribers/tmpl/default.php
Code:
var_dump($row)
Code:
/administrator/components/com_osmembership/controllers/subscribers.php
Thanks in advance and regards
Stefano
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
11 years 4 months ago #33606
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Using custom fields in view and email
Hi Stefano
This will require some customization to the extension. Do you have a Skype account so that we can discuss more details about it ?
Tuan
This will require some customization to the extension. Do you have a Skype account so that we can discuss more details about it ?
Tuan
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.