I’ve been at this all afternoon and my eyes & head are hurting (happens when you get to my age)
I did have ditto working perfectly on my wife’s site and now the ditto call from the front page is adding a directory - this I think has just happened or my dear wife has done something that I can’t spot.
Like all my sites the news / blog articles are as a series of pages within a container and when I preview a page it’s in the right template
http://www.elainedeed.com/index.php?id=11 but when acccessing it from the home page www.elainedeed.com via the "more" link calls it calls the page with a directory
http://www.elainedeed.com/news_blog/20.html so in effect it’s adding the Container Page as a directory - all the more bizarre is that I’ve changed it / deleted it etc and can’t work out how it is pulling it in
My simple ditto call is:
[!Ditto? &parents=`2` &orderBy=`createdon DESC` &dateSource=`createdon`&dateFormat=`%B %e, %Y at %r` &display=`5` &total=`5` &tpl=`dittofrontpage`!]
and the tpl is
<p>
<small>[+date+]</small><br>
<span class="dittodescription">[+description+]</span><br>
[+introtext+]<a href="[~[+id+]~]">More</a><br>
<small><a href="[~[+id+]~]">Comments([[Jot?&docid=`[+id+]`&action=`count-comments`]])</a></small>
<br>
<p>
Knew it was something simple had the Use Friendly URL alias path turned on