Hello,
Here is my code
{exp:weblog:entries weblog="web" orderby="edit_date" sort="desc" limit="1" category="4"}
<h1>{title}</h1>
{text}
<div class="tagsarticle">
{exp:tag:tags entry_id="{entry_id}" backspace="1" type="weblog" orderby="clicks" sort="desc" limit="10"}
<a href="{path=site/tags/tag}{websafe_tag}" title="{tag_name}" >{tag}</a> |
{/exp:tag:tags}
</div>
{/exp:weblog:entries}
<div class="tagsrelated">
<h3>Related</h3>
<ul>
{exp:tag:related_entries limit="10" entry_id="{entry_id}" }
<li><a href="{url_title_path=site/articles/}">{title}</a></li>
{/exp:tag:related_entries}
</ul>
Works fine if entry_id is an url segment.
If I call the template directly , entry_id is not in the url. entry_id is visible in the weblog entries loop and not visible in tag related_entries.
How get the entry_id value in the tag related_entries loop ?
I try to put the related_entries loop in the weblog entries loop, but I get here x time the same URL.
Thanks for the help.
Note : I have PHP parsed at input.
