Support Center

Recent questions

About Koken

This Help Center provides support for Koken, a free content management system designed for photographers, artists and designers.

Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB



Nov 19, 2014 04:25PM EST


I'm trying to make a custom version of the Boulevard thème displaying a list of categories on the top and the list of album just under.

I want to use the Isotopes sorting javasscript to do so and the sorting way would be:

<div id="albums">
<div class="item mycategory mysecondone">....</div>
<div class="item mysecondone">....</div>
<div class="item mycategory">....</div>

I'm able to display categories related to the album with this code:
<div class="item <koken:categories><koken:loop separator=" ">{{ category.title }}</koken:loop></koken:categories>">

But my categories are named like this : "my category", "my second one" and this an issue because css class are without space.
My question is how could I do to display this list of categories without space (str_replace php fonction would not work inside a albums.html)
Any idea?

Thanks in advance

Up 0 rated Down

Team NetObjects Koken Agent

Nov 20, 2014 09:38AM EST

You could use category.slug instead of category.title, which will give you a CSS class friendly name to work with.

Up 0 rated Down


Nov 20, 2014 09:44AM EST
Wonduerful working like a charm now ! Thank you

This question has received the maximum number of answers.
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found