You are here: Home / Documentation / How To's / How to add a chat room to a Plone site

How to add a chat room to a Plone site

by nguyen — published Jun 16, 2009 01:32 PM, last modified Aug 16, 2016 10:49 AM

Here is how I set up this chat room / lounge:

  1. clone the Document portal_type to ChatDocument
  2. customize the document_view template 
  3. rename it chat_view
  4. stick an iframe inside it that has a src URL to http://air.namshubenki.operaunite.com/the_lounge/lounge.html
  5. back in the portal_type for ChatDocument add the new chat_view template to the list of allowable views
  6. add a ChatDocument to the site using the normal "add item" drop down
  7. use the "display" drop down to pick the chat view

On this site I have two chat views now, one for the #plone IRC, the other for the Opera Unite lounge at http://air.namshubenki.operaunite.com/the_lounge/lounge.html

Navigation