Trying to display a list of entries (from a specific weblog) on my permalink page, and have tried just about everything without success.
Tried to figure out how it’s supposed to work but reading the docs only made things worse. :0
First off, where should this tag go? In the docs it says that it can use the {entry_id} parameter, so I assumed that it would go between the main exp:weblog tags. Further down in the docs it warns about placing this tag inside the weblog tag…
Then ... the sample code completely confuses things by adding more variable pairs which aren’t listed in the docs above:
<div class="entry">
<h3>Entries related by tag</h3>
{exp:tag:related_entries dynamic="off" limit="2" paginate="bottom"}
<h4><a href="{url_title_path=’tags/entry’}">{title}</a></h4>
<div class="related">
<h6>Related Entries</h6>
{related_entries id="related_field_name"}{title} - {summary}|{/related_entries}
</div>
<div class="tags">
{exp:tag:tags entry_id="{entry_id}"}<a href="{path='tags/tag'}{websafe_tag}">{tag_name}</a> {/exp:tag:tags}
</div>
<hr />
{paginate}{pagination_links}{/paginate}
{/exp:tag:related_entries}
</div>
Above, what is the ‘related_entries’ tag there for?? Is this required or is it just an example of using regular EE tag pairs? There is no ‘related_field_name’ as I’m not comparing custom EE fields, I’m trying to compare tags from the tags module. Just don’t get what’s supposed to happen here....
What I’m trying to do, is on my details (’permalink’) page, at the bottom I would like to have an area which has “Related Entries Using the (the tag name here) tag”, followed by a list of titles and summaries for all entries using the same tag as this page, and limited to a specific weblog.
What code should I use, and where do I place the tag:related_entries tag?
Tx.
