Re: Installing plugins
will kahn-greene <[email protected]> Wed, 09 Nov 2011 07:26:19 -0500
| Newsgroups | gmane.comp.web.pyblosxom.devel |
|---|---|
| Message-ID | <[email protected]> |
The comments plugin requires more setup than just adding it to the load_plugins list. There's documentation here: http://pyblosxom.bluesock.org/1.5/plugins/comments.html Hope that helps! /will On Tue 08 Nov 2011 08:18:56 PM EST, Akai wrote: > Mostly tried to see if there was any change. I can't figure out how to > get comments on my blog and I assumed that adding a comments plugin > would do something > > > > On 11/9/2011 3:14 AM, Will Kahn-Greene wrote: >> >> There really isn't a "new" method. The only thing that changed last >> week is that a bunch of plugins are now in the Pyblosxom.plugins >> package. Because of that, they're already on sys.path and you can just >> refer to them as "Pyblosxom.plugins.xyz" without specifying additional >> directories in your plugin_dirs. >> >> Thus, to use comments with what's in git master, you can do: >> >> py["plugin_dirs"] = [] >> py["load_plugins"] = ["Pyblosxom.plugins.comments"] >> >> >> The things you've done in your plugin_dirs in this case won't help, >> but probably won't hinder you either. >> >> Why do you think this isn't loading plugins? What did you do to see >> if the plugins were being loaded or not? >> >> /will >> >> >> On Wed, 9 Nov 2011, Akai wrote: >>> >>> Hi everyone, >>> >>> Sorry to be bugging you guys.. >>> I can't manage to install any plugins >>> I tried the "new" method from the WHATSNEW file and the old ones from >>> the other docs >>> some of my attempts: >>> >>> py["load_plugins"] = ["Pyblosxom.plugins.comments"] >>> py["plugin_dirs"] = [os.path.join(blogdir, >>> "plugins"),"/home/sites/bloxblog/Pyblosxom/plugins"] >>> etc.. >>> >>> I'm running the current GIT head version if that helps, using CGI >>> rendering (though I tried Paste as well) >>> >>> -Akai >>> >>> ------------------------------------------------------------------------------ >>> >>> RSA(R) Conference 2012 >>> Save $700 by Nov 18 >>> Register now >>> http://p.sf.net/sfu/rsa-sfdev2dev1 >>> _______________________________________________ >>> Pyblosxom-devel mailing list >>> Pyblosxom-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org >>> https://lists.sourceforge.net/lists/listinfo/pyblosxom-devel >>> ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1