- Posts: 7
- Thank you received: 0
Subscriber Management page
- studio74
- Topic Author
- Offline
- New Member
Less
More
10 years 6 months ago #45608
by studio74
Subscriber Management page was created by studio74
I would like to change the column information that is displayed on the Subscriber Management page in the Joomla Admin. I have looked through the forum and found the template file that I need to edit;
administrator > components > com_osmembership > views > subscribers > tmpl > default.php
I tried to replace some of these columns with info that was created from custom fields but when I enter the custom field name into the template it just shows a blank space. For example I changed one of the columns to display the field 'College Name' using
'<?php echo $row->osm_college_name ; ?>'
This is the name of the custom field, so not sure why it's blank? I replaced the custom field name with other core field labels and it displayed the information. Does this mean I can only load column information from Core Fields?
administrator > components > com_osmembership > views > subscribers > tmpl > default.php
I tried to replace some of these columns with info that was created from custom fields but when I enter the custom field name into the template it just shows a blank space. For example I changed one of the columns to display the field 'College Name' using
'<?php echo $row->osm_college_name ; ?>'
This is the name of the custom field, so not sure why it's blank? I replaced the custom field name with other core field labels and it displayed the information. Does this mean I can only load column information from Core Fields?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
10 years 6 months ago #45639
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Subscriber Management page
Hi
Yes. That kind of code only works with core fields. For the custom fields, you will need to read data directly from the database table #__osmembership_field_value table to display .
You you know Joomla programming, I believe you can do it .
Tuan
Yes. That kind of code only works with core fields. For the custom fields, you will need to read data directly from the database table #__osmembership_field_value table to display .
You you know Joomla programming, I believe you can do 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.