Re: Installing plugins

Akai <[email protected]> Wed, 09 Nov 2011 03:18:56 +0200
Newsgroups gmane.comp.web.pyblosxom.devel
Message-ID <[email protected]>
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