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

Constraining neighbors to same album/context

Adam Sch√łnemann

Oct 19, 2014 05:34AM EDT

When looking at individual content, I would like to limit the neighbors displayed to only include content in the same album as the currently displayed content. Right now, it also selects neighbors from the next and previous albums. I have a hard time figuring out how to use lens tags and variables to achieve this. Any suggestions?

Up 0 rated Down

Todd Dominey Koken Agent

Oct 23, 2014 10:54AM EDT

Adam – when you’re viewing the single image page (content.lens), is the path to the image using /content/? If so, then that would explain why you’re seeing images from other albums because you’re viewing your photostream, so to speak. If you navigate to that single page through an album page the URL will use /albums/album-name/ instead, and then the neighbor links should be contextual to the parent album’s content, not the stream.

Up 0 rated Down

Adam Sch√łnemann

Oct 26, 2014 05:38PM EDT
First of all, thank you for your answer. You're completely spot on in your diagnosis.
My problem is that I want to navigate directly from a set to an album in that set, i.e. I want to avoid the entire "scroll down huge pictures" and go directly to viewing one picture and many small thumbs beneath (I'm using a slightly customized version of Ensemble)
You can see the loop-album-grid template I modified here: http://pastebin.com/dM0Gi5gT
Any suggestions on how would I go about linking to the first image in an album, while preserving the album context?
Up 0 rated Down

Todd Dominey Koken Agent

Oct 28, 2014 07:49AM EDT

Adam -

Sorry but no there isn’t currently a way to link an album on the Albums page to the first image/video in the album. Right now those links always point towards album.lens. This is something we’re considering adding in some shape or form to a future release. For now the albums.lens template is required.

This question has received the maximum number of answers.

support@koken.me
http://assets3.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