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

Selective use of tags

Mark D-B

Feb 21, 2015 08:33AM EST

I would like to have some drop-downs that each use a subset of tags to define their content.

This structure gives me all of them:

<koken:loop separator=" ">
<option value="{{ tag.title }}">{{ tag.title }}

Is there a way I can use koken if, or another construct, to restrict the content to only tags which contain specific text?

Up 0 rated Down

Mark D-B

Feb 26, 2015 06:21AM EST
If we could do string subsets in Koken, something along these lines would do it:

<koken:variable name="match_value" value="me" />
<koken:if condition="{{tag.title}}[0,1] == {{match_value}}[0,1]">
<option value="{{tag.title}}">{{tag.title}}

Is there a means, or planned means, to be able to get a string subset?

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