This article shall give you some Tipps&Tricks to easy adapt the FluxCMS Blog to client wishes.
hide a categorie in the blog menu
go to /themes/your_template/blog.xsl
- there it reads as follows:
that's exactly what we want to do, to hide a categorie in the blog menu. we have to overwrite the template <xsl:template match="items/collection| plugin/collection">. there we simply add an condition at the end of the variable tag like it's done in the example below (and title!='Stellenangebote' or and title!='All'):
filter the root categorie
All blog-posts are automatically added to the root-category (also when you untick the case in edit-modus). If you want to hide a categorie in the blog menu you normally also want to hide the blog-posts of this categorie in the root-category.
To hide your categorie you go again in /themes/your_template/blog.xsl. There you add/change the template <xsl:template name="blogOverview">. Simply add a condition at the end of the if-test ([@id != 'cat233']). to know your categorie number go in the edit-modus of your blog categories. by getting over a categorie with your mouse you see the link in your browser footer.
link /blog to a categorie
When I want to link the /blog with my categorie "Foo" i have to change the blog properties. Under bx::redirect add Foo/index.html.
show a blog categorie outside of the blog