Tagcloud Plugin

All you have todo is adding the following in the config.xml of your collection:


<?xml version="1.0"?>
<bxcms xmlns="http://bitflux.org/config">

<plugins>
<parameter name="xslt" type="pipeline" value="tagcloud.xsl"/>
<plugin type="navitree">
</plugin>
<plugin type="tagcloud">
<parameter name="locations" value="/blog/"/>
<parameter name="maxfontsize" value="56"/>
<parameter name="minfontsize" value="20"/>
</plugin>
</plugins>
</bxcms>

and a little xsl to display the data:


<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:blog="http://bitflux.org/doctypes/blog" xmlns:bxf="http://bitflux.org/functions" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" xmlns:php="http://php.net/xsl" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rss="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" exclude-result-prefixes="xhtml">
<xsl:import href="master.xsl"/>
<xsl:import href="../standard/common.xsl"/>

<xsl:output encoding="utf-8" method="xml" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"/>

<xsl:template name="content">
<p id="tagcloud">
<xsl:for-each select="/bx/plugin[@name='tagcloud']/tagcloud/tag">
<a href="{$webrootW}{path}archive/tag/{name}" style="font-size:{size}px;">
<xsl:value-of select="name"/>
</a>&#160;
</xsl:for-each>
</p>
</xsl:template>

</xsl:stylesheet>

have fun :)
Related Entries:
Make private post got more useful
rel="bookmark" added to permalinks
Problems with FCKEditor and Firefox 1.0
Freeflux.net upgraded to Flux CMS 1.5 branch
cocomment enabling your blog with Flux CMS 1.4 and later
Comments (5)  Permalink

Make private post got more useful

... actually, that feature existed since last June, but we never publicly announced it :)

So, here it is:

If you want to make certain blog posts only available to some people you can now do that without giving them access to the admin, even on freeflux.net. For that do the following:

- Create a user in your admin (Top right under "Bookmarks" -> "Users") and give him/her the "Group ID" 2. Users with Group ID 2 can't login into the admin, but they can see your private posts.
- Make a blog post and set the Status to "Private" (can be found under "More options")
- To make the login easy for the users, drag'n'drop the login "portlet" into your sidebar (Can be found in the "Sidebar" Tab in the blog admin), if it's not already there.

Now you see a "Login" link on your blog, if you click on it, a little login opens and your users can login there and then see the private posts, as well

Hope that helps and if you have any questions, just ask them here

Related Entries:
Tagcloud Plugin
rel="bookmark" added to permalinks
Problems with FCKEditor and Firefox 1.0
Freeflux.net upgraded to Flux CMS 1.5 branch
cocomment enabling your blog with Flux CMS 1.4 and later
Comments (0)  Permalink

New bugtracker

We finally replaced our aging bugzilla installation with a shiny new jira installation for keeping track of our bugs.

So, if you find any bugs in Flux CMS, go to bugs.bitflux.ch and file them there, we will then take care of it

(You need an account to actually file bugs, but that's easily and quickly done here)

Comments (0)  Permalink
1-3/3