Hi
I am sure this is an easy one but I can’t figure it out.
I am displaying entries from two weblogs on one page. Then for the comments I want it to link to different template groups depending on which weblog it is.
Here’s what I’ve tried:
{exp:weblog:entries weblog="weblog1|weblog2" sort="desc" orderby="date"}
<div class="post">
<h2 class="post-title"><a href="http://{entry_id_path={weblog}/comments}" title="Read '{title}'">{title}</a></h2>
<em>{entry_date format="%d.%m.%Y"}</em>
<a href="http://{entry_id_path={weblog}/comments}class=comments">{comment_total} Kommentare</a>
<div class="post-content">
{exp:word_limit total="100"}{body}{/exp:word_limit}
<a href="http://{entry_id_path={weblog}/comments}" class="more">weiter lesen…</a>
</div>
</div>
{/exp:weblog:entries}But the link is always rendered as: http://www.mysite.com/ee_installation/{entry_id_path=weblog1/comments}
I’ve also tried it with {if weblog == "weblog1"} statements but that hasn’t worked either.
What am I missing?