Keyword

scroll through k2 page module

More
9 years 5 months ago #133772 by chris
scroll through k2 page module was created by chris
Hello all, so we have a little website selling kitchen doors what we would like is the ability to click through them:
www.kwkitchens.co.uk/index.php/component/k2/item/41-tiepolo-light-walnut-pisa if you see this one the k2 item is a door image, i would love it to be posible to scroll them by this page (with a little thumbnail!) is this possible?
thank you, k2 is a great addition to Joomla :)

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 5 months ago #133773 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: scroll through k2 page module
You need to add the Gallery functionality to K2 with this extension: www.joomlaworks.net/support/docs/simple-image-gallery-pro

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago #133855 by chris
Replied by chris on topic scroll through k2 page module
its not very clear how i sign up for a subscription - or more precisely where!

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 5 months ago #133860 by Krikor Boghossian
Replied by Krikor Boghossian on topic scroll through k2 page module
Follow this link: www.joomlaworks.net/extensions/commercial/simple-image-gallery-pro and scroll down to :
Select a subscription.

There you have two options. The annual subscription and the 6-month one. Choose one and the site will guide you through.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago #133877 by chris
Replied by chris on topic scroll through k2 page module
Hi Krikor, ok this shows a image gallery module on the image of my choosing - thats fine but i want 2 images one to go to the previous kitchen door in the list and the next one to go display and link to the next one - you know how the previous/next pagination works? I want it like that!

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago #133878 by chris
Replied by chris on topic scroll through k2 page module
so where it says "more in this category" i want a thumbnail with each of those links!

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 5 months ago #133916 by Krikor Boghossian
Replied by Krikor Boghossian on topic scroll through k2 page module
By default only the titles are present.
You need to override your K2 template to add previous/next item images

an example code would be:
<span class="imgNavWrap"><img src="<?php echo $this->item->nextImageSmall; ?>"  alt="<?php echo K2HelperUtilities::cleanHtml($this->item->nextTitle); ?>"/></span>
<span class="imgNavWrap"><img src="<?php echo $this->item->previousImageSmall; ?>" alt="<?php echo K2HelperUtilities::cleanHtml($this->item->previousTitle); ?>" /></span>

More on overrides can be found here:
getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago #133923 by chris
Replied by chris on topic scroll through k2 page module
would i have to do EVERY single one manually or will this code work across the entire system?

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago #133924 by chris
Replied by chris on topic scroll through k2 page module
also where do i implement this code?

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago #133938 by chris
Replied by chris on topic scroll through k2 page module
Ive added the code to the file in this path:

com_k2/templates/default/item.php

next to the existing previous/next links

but doesnt seem to work....

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum