• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 14. Adding Views for Content Obj... > Step 3: Adding the Threaded Subtree ...

Step 3: Adding the Threaded Subtree View

Creating a nice and extensible thread view is difficult because the problem is recursive in nature. You would also like to have all HTML generation occur in page templates because it allows you to enhance the functionality of the view later; however, page templates do not like recursion.

The Main Thread Page Template

You need to create the main view template for thread.html, which you can call thread.pt:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint