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

List album names contained in a set in custom plugin

Csaba

Nov 15, 2014 05:19AM EST

In my library I have two albums, named "album1" and "album2". They are grouped into a set, named "set1". How can I list the names of the albums from a custom plugin? If I try the following, not the album names, but only the set's name is rendered:
<?php
echo '
<koken:albums>
<koken:loop>
{{ album.title }}
</koken:loop>
</koken:albums>
';

Up 0 rated Down

Todd Dominey Koken Agent

Nov 24, 2014 12:33PM EST

Csaba – that’s actually correct behavior for the albums data feed. It returns all of the root sets/albums that are in the Library. Viewing any sets/albums inside of another set requires a click-through in a root set in order to view its contents. It’s not currently possible to loop through each and every nested collection from within that parents albums data object.

This question has received the maximum number of answers.

support@koken.me
http://assets0.desk.com/
false
koken
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete