Hi
I have noticed a problem on a couple of Revo 2.2.4 sites where I'm using getResources and Friendly URLs. This problem does not seem to be evident sites using older (2.2.0 and 2.2.2) versions of Revo.
The problem seems to happen whether I use getResources 1.5.0 or 1.5.1
The scenario is as follows. I have a container resource called 'Latest News' and various news resources below that. The Latest News page uses getResources to pull a summary of each news item and list it on the latest news page.
My getResources call is
[[!getResources? &includeContent=`1` &showHidden=`1` &tpl=`NewsPageTpl`]]
I've tried this with and without the cache flag !
My template for listing the summaries is
<div class="latestnews">
<h3>[[+pagetitle]]</h3>
<p>[[+content:ellipsis=`150`]]</p>
<p class="small">Published [[+publishedon:strtotime:date=`%b %d, %Y`]] - <a href="[[~[[+id]]]]">Read more...</a></p>
</div>
<hr />
When I add a new news story, published and hidden from the menu, on the front end, the read more url is 'domain.com' instead of 'domain.com/alias.html'
This means when people click the link, they get taken to the default error resource.
I have discovered that if I create the resource then untick the published checkbox then tick the checbox again and save, the read more url is then correct with the alias appended.
Am I doing something wrong here or is this a bug?