Help with News and Comments Module
Posted: Wed Aug 24, 2005 3:05 pm
Hi everyone,
Here's my problem. I currently have news articles on my frontpage but just the summaries. Using the module, I've customized it to display "read the full article" as a permanent link to the article. In the Content of the news I've put....
at the bottom so that people can comment as well as read previous comments. It all works fine but what I wanna do is to additionally include a comments link on the front page for each summary of the news. Like a blog style u know?
So the front page would be something like this....
NEWS TITLE
Summary of news here. blah blah
read full article | add comment
I've isolated that code to display the link from the comments module is
but i have no idea how to integrate it together. can someone help me out with this?
Here's my problem. I currently have news articles on my frontpage but just the summaries. Using the module, I've customized it to display "read the full article" as a permanent link to the article. In the Content of the news I've put....
Code: Select all
{cms_module module="comments"}
at the bottom so that people can comment as well as read previous comments. It all works fine but what I wanna do is to additionally include a comments link on the front page for each summary of the news. Like a blog style u know?
So the front page would be something like this....
NEWS TITLE
Summary of news here. blah blah
read full article | add comment
I've isolated that code to display the link from the comments module is
Code: Select all
echo $this->CreateLink($id, 'addcomment', $return_id, $this->Lang('addacomment'), $params, '', false, false);