Custom Fields Questions

More
15 years 3 weeks ago #1016 by rnct
Custom Fields Questions was created by rnct
Is there a way to have a field exported to the CSV file yet still be unpublished on the website?

Also, is there a way to get the date to show up on the CSV file (the one that shows up on the donation management page)?

Thanks a lot.

rnct

Please Log in or Create an account to join the conversation.

More
15 years 3 weeks ago #1019 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re:Custom Fields Questions
Hi
By default, the extension only exports the custom fields which are published . To export all custom fields, please open the file administrator/com_jdonation/controller.php, look at the line 212, change it from :
Code:
$jcFields = new JCFields();

To :
Code:
$jcFields = new JCFields(); $sql = 'SELECT * FROM #__jd_fields'; $db->setQuery($sql); $jcFields->_fields = $db->loadObjectList();

Regarding the date, the csv file containing the date column already . You can check the sample file here :


Regards,
Ossolution Team

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamDũng Nguyễn Việt