Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install tgapp-tgcomments

How to install tgapp-tgcomments

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install tgapp-tgcomments
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.0.5
0.0.7Never BuiltWhy not?
0.0.5 Available View build log
0.0.1 Available View build log
Windows (64-bit)
Mac OS X (10.5+)
0.0.5
0.0.7Never BuiltWhy not?
0.0.5 Available View build log
0.0.1 Available View build log
Linux (32-bit)
0.0.5
0.0.7Never BuiltWhy not?
0.0.5 Available View build log
0.0.4 Available View build log
0.0.3 Available View build log
0.0.2 Available View build log
0.0.1 Available View build log
Linux (64-bit)
0.0.5
0.0.7 Failed View build log
0.0.5 Available View build log
0.0.4 Available View build log
0.0.3 Available View build log
0.0.2 Available View build log
0.0.1 Available View build log
 
Lastest release
version 0.0.7 on Jan 9th, 2014

About tgcomments

tgcomments is a Pluggable Comments application for TurboGears2. Comments can be added to any webpage by using the comments_for partial.

TGComments supports Facebook for avatar if the user logged using tgapp-fbauth or if the User model provides a similar interface. Otherwise will fallback to Gravatar.

Installing

tgcomments can be installed both from pypi or from bitbucket:

easy_install tgcomments

should just work for most of the users

Plugging tgcomments

In your application config/app_cfg.py import plug:

from tgext.pluggable import plug

Then at the end of the file call plug with tgcomments:

plug(base_config, 'tgcomments')

You will be able to access the registration process at http://localhost:8080/tgcomments.

Exposed Partials

tgcomments exposes a bunch of partials which can be used to render pieces of the blogging system anywhere in your application:

  • tgcomments.partials:comments_for(entity)

    Given any SQLAlchemy entity which is available inside your application model module it will display a list of comments for that entity with a box to add a new comment.

Provided Options

tgcomments supports a bunch of options that can be passed to the plug call to change its behavior:

  • notify_facebook (default:True) automatically notify on facebook comments that

    the user wrote if he has logged using Facebook

  • allow_anonymous (default:True) allow anonymous users to comment

Exposed Templates

The templates used by registration and that can be replaced with tgext.pluggable.replace_template are:

  • tgcomments.templates.comments_partial

Subscribe to package updates

Last updated Jan 9th, 2014

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.