Support is online

xml export created_at on top #86392

Open soura123 opened this topic Saturday, 20 June 2026 · 1 reply
Author

how to add on xml website beslist on top the date file is created

<?xml version="1.0" encoding="UTF-8"?> <mywebstore> <created_at>2010-04-08 12:32</created_at>
Support

Hello,
You need to create an override for beslist helper file and write custom code in headerText function to add date at header. We have developed this feature to set custom helper as override in template for upcoming RO CSVI release. I have attached patch file with this feature.

To create your overrides you can do the following:

  1. Load the attached patch file
  2. Go to the folder components/com_csvi/src/File/Export/Xml
  3. Copy an existing beslist file from this folder to the override folder at administrator/templates/TEMPLATE/html/com_csvi/src/File/Export/Xml. Replace TEMPLATE with the backend template you use.
  4. Rename the copied override routine to your own name, for example Beslistoverride.php The name must start with an uppercase letter.
  5. Edit the file and change the classname to Beslistoverride so it matches the filename.
  6. Edit the export template and in the list of websites select the override file Beslistoverride and save the template.
  7. Run the export and check.

Let me know on how that goes.

Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Log in to reply to this topic.