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

[Regale 2] move tags to the top

Questions regarding custom Koken theme and plugin development.

This is the place to start out from when you are creating your own themes and/or plugins
Documentation

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?
Christof
Newbie
Newbie
Posts: 1
Joined: Fri 08 Feb 2019, 11:39
Your name: Christophe

[Regale 2] move tags to the top

Postby Christof » Fri 08 Feb 2019, 11:50

Hi,
I have a website concerning my photographic activity.
I don't use album feature. I prefer activate tags to facilitate the navigation across the different photo style : each photo could have potentially different style.

Tags appears on bottom. I tried to move to the top, before the picture. I don't know why, links are no longer clickable if I move to the top.... I just moved the section <div class="media"> under the section <div id="content-caption">

Do you have any clue for me ?

My website
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: [Regale 2] move tags to the top

Postby Bjarne Varöystrand » Tue 12 Feb 2019, 13:02

Since the link you provided didn't show any modifications I can only guess...

But you need to move the whole chunk:

Code: Select all

<koken:tags>
   <div class="line">
      <koken:loop separator=" "><koken:link title="{{ language.view_all_content_in_title collate='tag.title' }}" class="tag">{{ tag.title }}</koken:link></koken:loop>
      </div>
</koken:tags>

Plus if you want it to adhere to the the theme setting settings.content_show_meta it needs to be:

Code: Select all

<koken:if true="settings.content_show_meta">
   <koken:tags>
      <div class="line">
         <koken:loop separator=" "><koken:link title="{{ language.view_all_content_in_title collate='tag.title' }}" class="tag">{{ tag.title }}</koken:link></koken:loop>
         </div>
   </koken:tags>
</koken:if>

Hope this helps you :)
Regards
Bjarne Varöystrand - Image || Reddit || Twitter|| Facebook

Image

  • Similar Topics
    Replies
    Views
    Last post
  • Move the main part of Koken out of the DocRoot
    by medienverbinder » Mon 08 Oct 2018, 17:12 » in Installation and Setup
    2
    545
    by christiancampo View the latest post
    Mon 05 Nov 2018, 09:25
  • Search tags
    by Arx » Mon 26 Mar 2018, 10:27 » in Library
    2
    432
    by Arx View the latest post
    Tue 03 Apr 2018, 11:14
  • Bobs Regale 2
    by bigbobdalton » Mon 05 Nov 2018, 19:40 » in Showcase your site
    1
    213
    by faustvasea97 View the latest post
    Tue 13 Nov 2018, 07:02
  • Album name link on Regale 2
    by bigbobdalton » Mon 05 Nov 2018, 17:35 » in Custom theme and Plugins
    1
    283
    by Bjarne Varöystrand View the latest post
    Tue 22 Jan 2019, 00:09
  • Configuring Regale 2 theme
    by andyj » Sun 20 Jan 2019, 15:16 » in Site Publishing
    3
    120
    by Bjarne Varöystrand View the latest post
    Wed 30 Jan 2019, 15:11

Return to “Custom theme and Plugins”



Who is online

Users browsing this forum: No registered users and 2 guests