Plazes support added

Benjamin and I added Plazes to Flux CMS. I'm quite busy right now to explain that further, but you can open an account at Plazes, install the Launcher and play with it. I'll explain later, how to use that feature in Flux CMS and Freeflux (the end result you can already see here in this blog post below :) )

Update: Short How-To:

1) Open up an account at Plazes.
2) Download the launcher and start it
3) Register your first plaze, if it's not already there. See "my home" for an examples
4) Make sure, plazes shows your username at your plaze.
5) Log in into Flux CMS, go to "Bookmarks" -> "Users", add your "Plazes Username" and "Plazes Password" and hit submit (the password isn't saved in cleartext at our side, so no worries and the password field is empty again after saving, but stored)
6) Make a new post (edit an old one will not work), either via the webform or xml-rpc.
7) See the Plazename and longitude,latitude in your post and in the RSS feed
8) Everyone knows now automatically, where you have been, when you posted :)

If you have changed the default blog.xsl templates, you have to add the following code to it to actually see the geolocation info:

Put the following on top (just after <xsl:import href="../standard/common.xsl"/>):

<xsl:import href="../standard/plugins/blog.xsl"/>

And then search for <xsl:template match="xhtml:div[@class='post_links']" mode="xhtml"> and replace it with:

<xsl:template match="xhtml:div[@class='post_links']" mode="xhtml">
    <xsl:call-template name="plazeDiv">
        <xsl:with-param name="blogInfo" select="../blog:info"/>
    </xsl:call-template>
    <div class="post_links">
        <xsl:apply-templates mode="xhtml"/>
     </div>
</xsl:template>

Update: I updated the above code to make it more simple and we added a ../standard/plugins/blog.xsl template for such things in the future. It was too much work, to update each and every xslt file. Therefore we have now a standard blog.xsl, which should be included by the different theme/blog.xsl. We will add common stuff there, but you can easily overwrite them in your own theme/blog.xsl. See the current SVN version of that file to have an overview, what we included there (currently, it's only the plazes stuff).

Comments (5)  Permalink

BXCMSNG Errors:
Strict[2048] Declaration of MDB2_Driver_Common::raiseError() should be compatible with that of PEAR::raiseError() in [BX_PROJECT_DIR]/inc/popoon/pool.php at line 86.