1. barracuda69
  2. RO CSVI
  3. Wednesday, 10 May 2023
  4.  Subscribe via email
Hi,

I have a custom xml layout export template and wish to export two custom fields, one for colour and another for size.

Both custom fields were created via Breakdesign's Custom fields for all.

I'm using custom_title, custom_param, etc but are returning empty...

I'm missing something but can't figure out what :-(

Thank you in advance!

Dennis
Accepted Answer Pending Moderation
Hello Dennis,
Please check if RO CSVI Break designs plugin is installed and enabled. Also post the export debug log to check. To get the debug log see How to collect debug information? document.

Just so you know, from RO CSVI 8.0.0 version we support customfieldsforall values as template fields. You can now directly add customfieldsforall fields as template fields and run the export instead of using custom_title, custom_value and custom_param.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
Hi Tharuna,

Could you point me to the documentation regarding the support for customfieldsforall as template fields?

Thanks!

D
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
Hello Dennis,
Customfieldsforall template fields works same as normal template fields. All you need to do is

1. Update your available fields
2. In RO CSVI template fields page select the template from filter list and add customfieldsforall fields using New or Quickadd button.
3. Add the fields to XML layout like you have done for other fields
4. Run the export.

Let me know if that helps.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 3
Accepted Answer Pending Moderation
OK, will try and get back to you.

Thanks!
  1. more than a month ago
  2. RO CSVI
  3. # 4
Accepted Answer Pending Moderation
Hi again Tharuna,

Did all the above and now the result I'm getting is customfielsforall~customfieldsforall (attached here as is the log).

Let me know what you see.

Thanks!!!
Attachments (2)
  1. more than a month ago
  2. RO CSVI
  3. # 5
Accepted Answer Pending Moderation
Hi Tharuna,

I made it work but got another question on this.

It exports S~Black (two custom fields) in one. Is there a way to separate the two? Size in one and Color in another? Perhaps with the replace plugin to remove anything before the ~ in one and after ~ in the other?

No idea if this is feasible...

Dennis
  1. more than a month ago
  2. RO CSVI
  3. # 6
Accepted Answer Pending Moderation
Hello Dennis,
It exports S~Black (two custom fields) in one. Is there a way to separate the two? Size in one and Color in another?

In the attached debug log I noticed that you have size node set as


<size>[custom_value]</size>


custom_value will get you multiple values separated by ~. You should have node set as


<size>[size]</size>
<color>[color]</color>


Did you try that?
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 7
Accepted Answer Pending Moderation
Hi Tharuna,

Yes I tried and it returns:

<color></color>
  1. more than a month ago
  2. RO CSVI
  3. # 8
Accepted Answer Pending Moderation
Renaming the Custom Fields to English and updating fields in rocsvi results to this:

<color>[Color-XML]</color>
  1. more than a month ago
  2. RO CSVI
  3. # 9
Accepted Answer Pending Moderation
Hello,
<color>[Color-XML]</color>

Is the Color-XML name of the customfieldsforall field? Can you post the export debug log to check?
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 10
Accepted Answer Pending Moderation
Yes it is. Check the field Size-XML the other one might change as I'm experimenting :-)

Sure!
Attachments (1)
  1. more than a month ago
  2. RO CSVI
  3. # 11
Accepted Answer Pending Moderation
Hello Dennis,
I see you are using RO CSVI 7.20.0 version. customfieldsforall fields as template fields was included with RO CSVI 8.0.0 version. You should upgrade to this version or higher to get this working.

May I know the reason for using old RO CSVI version?
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 12
Accepted Answer Pending Moderation
We have installed the latest version and it produced errors with the version of VM they are using (3.2.14).

I'll try again with version 8 and let you know.
  1. more than a month ago
  2. RO CSVI
  3. # 13
Accepted Answer Pending Moderation
Updated to 8.0.0, updated fields, same result...
Attachments (1)
  1. more than a month ago
  2. RO CSVI
  3. # 14
Accepted Answer Pending Moderation
Hello Dennis,
Looking at the debug log again I see you do not have Size-XML and Color-XML added as template fields. Please add these fields and then run the export.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 15
Accepted Answer Pending Moderation
Hi Tharuna,

YES! After the update I forgot that those fields exist in the drop-down...

Thank you very very much for all your help!

Take care!

Dennis
  1. more than a month ago
  2. RO CSVI
  3. # 16
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!