Please describe the issue you're having
If you accept the answer, please mark the topic as [SOLVED] by clicking the tick.

Moderators: RussH, cptr13

Forum rules: Just please remember to play nicely once you walk through the door. You can disagree with us, or any other commenters in this forum, but respect our space and keep your comments directed to the topic at hand.
By eXceed
#1723
So I'm just starting to list jobs, and successfully displaying them on my site.

But I'm wondering how I go about adding 'salary' and 'duration' to the XML?

I tried messing about with the XML templates in /modules/xml/*.tpl and adding a field 'tag' to XmlUI.php.

But whatever I do it doesn't request the data, I added the line:
Code: Select all
case 'jobPay':
                            $pay = sprintf("%s",
                                $row['salary']
                            );
				
			    $txtJobPosting = XmlTemplate::replaceTemplateTags(
                                $tag,
                                $pay,
                                $txtJobPosting
                            );
                            break;
Any suggestions much appreciated? I went through all the include_once files to make sure it wasn't just something silly.

Anyway, appreciate any help/advice.
User avatar
By RussH
#3767
Hey there, am only just now looking into something similar - did you solve adding in extra fields to the XML feed?
By eXceed
#3768
RussH wrote: 01 Aug 2018, 16:17 Hey there, am only just now looking into something similar - did you solve adding in extra fields to the XML feed?
Blast from the past indeed!

I never actually got this working, so would be interested in your thoughts on the matter.

I've since moved to another platform, so wish you luck in getting this working.

Sorry I can't be of more help!
User avatar
By RussH
#3769
No worries, will post back with any successes / failures!

It's essential to keep these synchronized to ensur[…]

Export part in Job Order order search

Same problem as mine. Maybe you're right, I'll che[…]

The error message you're encountering indicates th[…]

Errors restoring mysqldump backup

doesnot work for me