Re: Missing plugins in pyblosxom.cgi

will guaraldi <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
Hi Luiz!

If the verify installation thing worked (that's what running
./pybloxom.cgi) does, then everything is probably working just fine.

I'm guessing that the reason you don't see the calendar or the categories
is that you're probably using the default flavour templates.  You'll need
to create your own flavour templates that use the $calendar and
$categorylinks variables.  These variables will be expanded into the
calendar and category links list when the page is being rendered by
pyblosxom.

In the installation tar file, there should be a contrib directory.  In
that directory, there's a flavour_examples directory that has a series of
files in it.  Take all the ones that end in .html, place them in your
datadir--that'll give you a good start for building your html flavour.
At some point in one of those files (usually people put the $categorylinks
and $calendar variables in their head.html or foot.html files) you should
add those variables.

Hope that helps--if you have any additional questions, let me know.
/will


On Sat, 20 Mar 2004, Luiz Guaraldo (Software.Livre) wrote:

> Hi pyblosxom-owner,
>
>    I?m trying to instal pyblosxom on my machine. I?ve followed all
>    steps given in INSTALL file, but I can't make it work...
>
>    I ready don't know why, but the plugins don't come up.
>
>    Qhen execute ./pyblosxom.cgi in the cgi-bin directory I recieve the
>    following messages:
>
> Welcome to PyBlosxom's installation verification system.
> ------
> ]] printing diagnostics [[
> sys.version: 2.2.1 (#1, Feb 28 2004, 00:52:10)  [GCC 2.95.4 20011002 (Debian prerelease)]
> os.name:     posix
> codebase:    --default--
> ------
> ]] checking config file [[
> config has 14 properties set.
>
>    missing optional property: 'blosxom_custom_flavours'
>    missing optional property: 'renderer'
>    missing optional property: 'cacheDriver'
>    missing optional property: 'cacheConfig'
>
> Refer to the documentation for what properties are available
> and what they do.
> PASS: config file is fine.
> ------
> ]] checking datadir [[
> PASS: datadir is fine.
> ------
> Now we're going to verify your plugin configuration.
> === plugin: 'pycalendar'
>     version: $Id: pycalendar.py,v 1.21 2004/03/02 15:54:47 willhelm Exp $
>     PASS
> === plugin: 'pycategories'
>     version: $Id: pycategories.py,v 1.19 2004/03/02 15:54:47 willhelm Exp $
> missing optional config property 'category_flavour' which allows
> you to specify the flavour for the category link.  refer to
> pycategory plugin documentation for more details.
>     PASS
>
>    But when I tray the page, no plugin is up... Can you help me? Am I
>    doing something wrong? Please, give me some light!
>
> Att,


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.