2
Hi wcrwcr,
What version of myAds do you use?
I think it cames from /include/functions.php
There are the line like
$xoopsTpl->append('items', $a_item);
Those ad data is set as $items.
and on the template, there is this line.
<{foreach item=item from=$items}>
after that, $items is called as item.
Town and country are appended in functions.php like this.
$a_item['local'] = '';
if ($town) {
$a_item['local'] .= $town;
}
if ($country) {
$a_item['local'] .= $country;
}
I think those data must be sent to template each.
Thank you,
Temumo