I’m having trouble making ^inboundLinks^ do what I want. It’s not a big deal and if I can’t get it to work I’ll just delete this part of the export. But before I do, I wonder if anyone here can spot what I’m doing wrong?
In one of my templates I use the expression:
^value(format($PostDate,d MM y))^
In this template it produces the output I expect: (4 July 2017) if the attribute value is today’s date.
In a different template however, I use the same expression as part of an ^inboundLinks^ expression. That expression reads:
^inboundLinks(<div class="tagslist">,<p>, (^value(format($PostDate,d MM y))^)</p>,</div>,(tags|category))^
Everything in this expression works as expected except the date, which always returns “(never)”. What has me stumped is that export seems to be reading the expression correctly but returning an incorrect value.
Is there something I’m missing or does anyone have a suggestion about how to tweak/fix what I have?
UPDATE: The same thing is occurring when ^childLinks()^ is substituted for ^inboundLinks()^ so I’m guessing there’s something I’m missing about how these export codes work…