So I’m trying to get my “landing page” for when someone clicks on a tag from a cloud or within another article working and am having a problem. My landing page displays all the articles, just like the main index page does—no matter what.
My template code looks like:
{exp:tag:entries weblog="{my_weblog}" orderby="date" sort="desc" limit="15" show_pages="no" dynamic="off" marker="related" tag="{segment_3}"}
{date_heading}
<div class="date-header"><h2>{entry_date format=' %l, %F %d, %Y '}</h2></div>
{/date_heading}
<!-- entry -->
<div class="entry">
<div class="entry-title"><h3><a href="{title_permalink={my_template_group}/comments}">{title}</a></h3></div>
<div class="entry-txt">
{summary}
{body}
{extended}
</div>
<div class="entry-info">
<p><div class="left1">Posted by {author} at {entry_date format='%h:%i %A'}.</div>
<div class="right1">Filed under: {categories backspace="8"}<a href="{path=site_index}">{category_name}</a> • {/categories}</div></p>
<p><div class="left1">
Tags: {exp:tag:tags entry_id="{entry_id}" backspace="8" type="weblog"}<a href="{path={my_template_group}/related/tag/{websafe_tag}}">{tag}</a> • {/exp:tag:tags}</div>
<div class="right1">
{if allow_comments}
({comment_total}) <a href="{url_title_path="{my_template_group}/comments"}">Comments</a> •
{/if}
{if allow_trackbacks}
({trackback_total}) <a href="{trackback_path="{my_template_group}/trackbacks"}">Trackbacks</a> •
{/if}
<a href="{title_permalink={my_template_group}/comments}">Permalink</a>
</div>
</p>
</div>
</div>
<!-- entry -->
{paginate}
<div class="navi-pages">
<p>Page {current_page} of {total_pages} pages {pagination_links}</p>
</div>
{/paginate}
{/exp:tag:entries}
When I go to, for example:
http://mysite/index.php/tags/related/technology
It displays all the articles in the database rather than just the one that has the tag “technology”. Driving me crazy. Any help?
Thanks,
-Greg
