I’m trying to create a ‘Popular Today’ area on my homepage where the 5 most popular entries from multiple weblogs are listed with links to the entries. How would I link to the entries which are each displayed within a different template?
I am using the following code, and it displays as I want but I can’t see how to make it link up correctly.
<div id="popular_now">
<h1>Popular Today</h1>
<ul>
{exp:tracker:entries weblog="news|bus_dir|event_cal" interval="today" limit="5"}
<li><a href="{tracker:url_title}" title="{title}">{tracker:title}</a></li>
{/exp:tracker:entries}
</ul>
</div>
That code would generate a link like:
http://www.inthepanhandle.com/hospice_grief_support_for_teens
When the correct link should be:
http://www.inthepanhandle.com/index_10.php/news/article/hospice_grief_support_for_teens
That’s an example of a ‘News’ blog entry. While the next most popular item may be from the bus_dir weblog.
http://www.inthepanhandle.com/firebrand_media_llc
But should be:
http://www.inthepanhandle.com/index_10.php/business_directory/listing/firebrand_media_llc/
Any help would be appreciated.
Thanks,
Brad Hopkins
