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

Loading page content into and album template


Oct 20, 2014 10:54AM EDT

I am working on a custom theme for a client and they are wanting to be able to create a page with content relevant to an album and have that content load into that album page?

It would be like adding in a more rich album description. Would this be possible using the topics?

Up 0 rated Down

Todd Dominey Koken Agent

Oct 21, 2014 04:07PM EDT

Hey Cody – yeah, topics would be perfect for this.

Here’s a quick bit of markup I came up with to get started:

This would be added to an album.lens template. If the album is assigned as the topic of an essay or page, the top portion of that code would load. You could then use whatever variables you want inside that loop to render the document in the album page.

(Note that loop is needed here because you can technically have more than one topic assigned. If they only assign one it will only loop once).

Think that might help?

Up 0 rated Down


Oct 26, 2014 05:39PM EDT
Thanks Todd that worked perfectly I think I was missing the loop part before!

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