Hey PMS,
Thanks for the suggestion but i already loaded the latest version: 1.1.9
Here’s the Ditto call:
[!Ditto? &id=`news_(yams_id)` &language=`(yams_mname)` &extenders=`@FILE assets/modules/yams/yams.extender.inc.php` &tpl=`@FILE assets/chunks/featured_article_tpl.chk` &parents=`147` &filter=`featured,No,2` &randomize=`1` &display=`1` &dateSource=`articleDate` &dateFormat=`%d-%m-%Y` !]
Here’s Ditto template that i’m using for testing. I started to use menutitle just for testing to remove any possible other causes of the problem. In actuality i’ll need to use a custom tv.
<h2><a href="[+parent+]">[[YAMS? &get=`data` &from=`longtitle` &docid=`[+parent+]`]]</a></h2>
<div class="col-copy" style="background: [*pageColor*];">
((yams_data:[+id+]:menutitle))
<h4><a href="[~[+id+]~]">[+longtitle+]</a></h4>
<span class="date-stamp">[+date+]</span>
<p>
[+introtext+]
</p>
<a class="more-link" href="[~[+id+]~]">Read more >> </a>
</div>
Here’s what i tried and the results:
1. ((yams_data:[+id+]:menutitle)) - shows up as ((yams_data:146:menutitle)) on the page. So the id placeholder is getting parsed but not the YAMS placeholder.
2. [[YAMS?&get=`data` &from=`menutitle` &docid=`[+id+]`]] - works as it should
YAMS plugin appears first in all of the assigned events.
Please let me know if you have any ideas on where to look next.
Thanks.