Announcement

Collapse
No announcement yet.

How do I add javascript code that will appear for each article preview on CMS home?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [CMS] How do I add javascript code that will appear for each article preview on CMS home?

    I've decided to test a third party comment system on vB4's CMS. I've been able to get the comments appearing on the actual article pages. My issue is with getting a snippet of code on the homepage within each article to drive people to the comments section -- and see if anyone has commented. Similarly, I'd like to include TweetMeMe, Google Buzz and Facebook Share buttons.

    Most of my blog posts are shown in full on the homepage, so it's important I have all of those components within that page.

    Thoughts? Ideas on how to accomplish this?

  • #2
    Anyone? I've tried messing with this template vbcms_content_article_preview, but I need the comment link to show for each specific article. So, it would be:

    Article 1
    (#) Comments (link to article 1 comments)

    Article 2
    (#) Comments (link to article 2 comments)

    Article 3
    (#) Comments (link to article 3 comments)

    You can see it in action here. As a stop gap, I've switch to No under the "Show full article on homepage".

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    X