Re: openblog
Christian Stocker <[email protected]> Mon, 23 Jan 2006 17:14:26 +0100
| Newsgroups | gmane.comp.cms.bitflux.general |
|---|---|
| Organization | Bitflux GmbH |
| Message-ID | <[email protected]> |
Hi
It should work, we used it recently, but I have to check, how it's
exactly done. Unfortunately no real time right now. Maybe tomorrow
chregu
On 23.1.2006 13:04 Uhr, qMax wrote:
> I've tried to set up openblog to play with.
>
> Collection '/test'/ is configured like this:
> <bxcms xmlns="http://bitflux.org/config">
> <plugins>
> <parameter name="xslt" type="pipeline" value="openblog.xsl"/>
> <extension type="html"/>
> <plugin type="openblog" admin="true"></plugin>
> <plugin type="navitree"></plugin>
> </plugins>
> </bxcms>
>
> Now,
> bx_plugins_openblog::getContentById(/test/,index):
> registers stream blog:// and retrieves "blog://newpost.xml",
> which in turn leads to bx_streams_blog::contentOnRead("/newpost.xml"):
> function contentOnRead($path) {
> $parts = bx_collections::getCollectionAndFileParts($path, "output");
> $p = $parts['coll']->getFirstPluginMapByRequest("index","html");
> $p = $p['plugin'];
>
> So, it tries to find out plugin for collection '/' with id 'index'
> what is completely wrong.
>
> If collection path is passed correctly (fixing openblog::getContentById),
> stream_blog::contentOnRead get recursed back to plugin_openblog::getContentById,
> and when there redirect to Location: /post/ and failure to get anything in
> collection '/post/'.
>
> What do i miss here ?
> Is openblog.php in bxcms-1.3 a working plugin in some way ?
>
--
christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
phone +41 44 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71
http://www.bitflux.ch | [email protected] | GPG 0x5CE1DECB
--
bitflux-cms mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms