Welcome to the Koken CMS community!

Here at KCS, you will find a friendly bunch of photographers who like to share their love for the Koken CMS. We hope that you will enjoy your time here and thrive in our community!

You asked for it: Donations!
You asked for it, and it's here: The possibility to "buy me a beer (or more)"!

Seriously: By giving a small paypal donation you will help with keeping this site afloat and also give me more incentive to develop OxyGen further... ;)

// Bjarne Varöystrand and the KCS Team
Koken Development

Custom Caption for Photoswipe

Questions or issues regarding any Koken plugin.
Support for Paid/premium plugins can be found here
Forum rules
As of late, we have been seeing cases where some of you have been posting multiple types of questions within a singular type of topic...

This makes searching here a nightmare for people whom are attempting to find out whether or not their question has already been asked, or possibly even answered. Therefore, I would like to implement some very basic rules, which I think everybody will be happy with, given that they will lead to better search results.

  1. All public communication is done in English
  2. ONE question per topic
  3. Make the title descriptive
  4. If it's regarding a theme: make sure you mention the theme name.
  5. Leave a URL to your site, since sometimes, custom "hacks" and CSS will be uniqe to your site.

I believe that these simple rules will not only make our lives easier, but also the lives of our visitors :D

I am of the opinion that ignoring these requests will make it harder for us all.
Plus, we won't be able to actually mark an issue/topic as solved, since it would be more difficult to determine what we're actually trying to solve! For example: Are we addressing the first, second or third question?
AndrewKelley
Newbie
Newbie
Posts: 2
Joined: Tue 08 Mar 2016, 05:47
Your name: Andrew Kelley

Custom Caption for Photoswipe

Postby AndrewKelley » Tue 08 Mar 2016, 05:54

I have two questions about customizing the caption for the (excellent) Photoswipe plugin:

(1) What file do I edit to change the caption? I've read the instructions on the plugin github page (https://github.com/DanielMuller/koken-plugin-photoswipe). However, I'm too new to Koken to know which file I should edit to make the changes discussed.

(2) Is it possible to mimic the caption from Koken's built-in Lightbox (Photo title followed by the caption)?

Thanks,

Andrew
User avatar
Bjarne Varöystrand
Webbplatsadministratör
Webbplatsadministratör
Posts: 1063
Joined: Sun 29 Mar 2015, 21:02
Your name: Bjarne Varöystrand
Location: Lysekil, Sweden
Contact:

Re: Custom Caption for Photoswipe  Topic is solved

Postby Bjarne Varöystrand » Tue 08 Mar 2016, 16:03

Hi there Andrew.

  1. To use the captions in PhotoSwipe, you will need to edit any lens file that contains <koken:link lightbox="true">
    • Not knowing what theme your using I would say to start with it's album.lens, content.lens, favorites.lens and timeline.lens
  2. That part you will have to ask Daniel about: but I dont belive you can...
Regards
Bjarne Varöystrand - Image || Reddit || Twitter|| Facebook

Image
AndrewKelley
Newbie
Newbie
Posts: 2
Joined: Tue 08 Mar 2016, 05:47
Your name: Andrew Kelley

Re: Custom Caption for Photoswipe

Postby AndrewKelley » Wed 09 Mar 2016, 05:30

Bjarne Varöystrand wrote:Hi there Andrew.

  1. To use the captions in PhotoSwipe, you will need to edit any lens file that contains <koken:link lightbox="true">
    • Not knowing what theme your using I would say to start with it's album.lens, content.lens, favorites.lens and timeline.lens
  2. That part you will have to ask Daniel about: but I dont belive you can...


Thanks, Bjarne! I'll e-mail Daniel about the caption and post a solution here, if I find one.

Andrew

  • Similar Topics
    Replies
    Views
    Last post
  • [Custom Theme]
    by supermike95 » Wed 13 Jun 2018, 15:21 » in Themes
    2
    207
    by supermike95 View the latest post
    Fri 22 Jun 2018, 00:02
  • Custom CSS in Norma Attachment(s)
    by PTCowan » Sun 18 Feb 2018, 19:11 » in Themes
    2
    332
    by PTCowan View the latest post
    Mon 19 Feb 2018, 10:48

Return to “Plugins”



Who is online

Users browsing this forum: No registered users and 1 guest