The Artima Developer Community
Sponsored Link

Java Buzz Forum
HOWTO: FreeRoller comments

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic    
Flat View: This topic has 0 replies on 1 page
Oliver Burn

Posts: 30
Nickname: oburn
Registered: Jun, 2003

Oliver Burn is a solutions architect for KAZ Technology Services.
HOWTO: FreeRoller comments Posted: Jun 9, 2003 10:22 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Oliver Burn.
Original Post: HOWTO: FreeRoller comments
Feed Title: Oliver's Blog
Feed URL: http://sedoparking.com/search/registrar.php?domain=®istrar=sedopark
Feed Description: Contains the rantings of me. The thoughts are all personal and do not reflect at all on the companies I work for. (mumble: damn lawyers!)
Latest Java Buzz Posts
Latest Java Buzz Posts by Oliver Burn
Latest Posts From Oliver's Blog

Advertisement

I maybe slow, but I finally got comments working in FreeRoller. To get there, I had to change the following line in my Weblog page:

    $macros.showWeblogEntries()

to:

    $macros.showWeblogEntries("_day")

This will make the rendering of the weblog entries use my "_day" template. I then used the following for the "_day" template:

    <div class="entry">
       $macros.showDayPermalink()
       $macros.showEntryDate()
    </div>
    
    #foreach( $entry in $entries )
    <p>
       <b>$entry.title</b> $entry.text 
       <span class="dateStamp">($entry.pubTime)</span>
        $macros.showEntryPermalink( $entry )
        $macros.showCommentsLink($entry)
    </p>
    #end

I hope that some people out there find this information useful. If you do, please feel free to leave a comment. ;-)

Read: HOWTO: FreeRoller comments

Topic: ctl+shift+v in IDEA Previous Topic    

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use