Greetings,
I’m doing the production on a site for a client and they’ve designed one of the pages with the following set up: They want to show the most current entry from the selected weblog on the page along with it’s comments. I’m using this code to display the weblog entry, which seems to be working fine, when you access the page the latest entry from the “watch” weblog is displayed:
{exp:weblog:entries weblog="watch" limit="1" disable="member_data|pagination|trackbacks|categories"}
Newest entry from weblog is displayed here
{/exp:weblog:entries}However, because I am not passing the name of an actual entry in the URL, the comments for that entry are not being displayed. Is there a way to solve this? I did some research and it seems to me if I can pull out the entry id of the weblog entry and feed it to the comment tag as a variable I can get them to sync up. I found this article in the Wiki and was wondering if this was the way to go:
Using the entry id output from a weblog tag in another weblog tag
If someone could let me know if I’m on the right track I would appreciate it.
Thanks,
Andy