Re: Installing plugins

Will Kahn-Greene <[email protected]> Tue, 8 Nov 2011 20:14:05 -0500 (EST)
Newsgroups gmane.comp.web.pyblosxom.devel
Message-ID <[email protected]>
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