You are here: Home Things we build Code snippets

Code snippets

Johan comes up with incredibly helpful little bits of code that helps with building templates. I'll try and add as many (and as frequently) as I can.

Follow me on @aboycalledhero to get updates.

Adding classes to a PloneFormGen form for Bootstrap styling

If you're using Plone, you're probably using PloneFormGen for your forms. Bootstrap's form styling is simple and pretty. Here's a simple way to make the two work together.

Mar 11, 2016 09:41 AM | Read more

Making Plone's dropdown menu work with your Bootstrap template

Bootstrap's navigation bar is a very good way of using the same navigation for both desktop and mobile devices. Using Plone's navigation structure for this requires some simple XSL transforms in your ...

Feb 26, 2016 09:30 AM | Read more

Using plone's All Content view to create an accordion with jQuery

Plone's 'All Content' view (in Plone 4) is such a great way of displaying large amounts of content, but still keeping it organised. Added to that, jQuery accordion makes it even neater, as you don't ...

Sep 18, 2015 11:20 AM | Read more
Find out how Juizi can help your business