1. regme_rojo
  2. RO CSVI
  3. Thursday, 16 June 2022
  4.  Subscribe via email
Hello!
Seems simple but I can't get it to work.
I try to import categories for com_contact from my xml file.
I have three fields in my template:

[*] title
[*] extension
[*] category_path

I think this is the minimum information I need to serve Joomla!
import00.png

The title field is easy, the value comes directly form the XML
The extension field gets always the same value "com_contact"
The category_path needs basically a copy from title. I found the copy rule (among others), but it does not work. Better: I don't understand how I get it to work.

I created a rule to copy the value from my source XML field to the category_path field.

import02.png

and added this rule to the category_path field.

import03.png

Doesn't do what I want it to do. Where am I wrong?

import01.png

Thanks!
Chris

P.S.: I know I need to modify the value for category_path further to make a correct import. Copying is just for starters.
Attachments (4)
Accepted Answer Pending Moderation
Hello Chris,
The category_path needs basically a copy from title.

Since you need to copy the value from title field apply the copy rule on title field instead of category_path. That should solve the issue.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. 2 weeks ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
Got it!
So that is the basic way to do it: To use the copy rule on the origin of the value.

Thanks!
  1. 2 weeks ago
  2. RO CSVI
  3. # 2
  • Page :
  • 1


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