Keyword

Item Navigation Loop

  • Joe Campbell
  • Joe Campbell's Avatar Topic Author
  • Offline
  • Platinum Member
More
8 years 6 months ago #152206 by Joe Campbell
Replied by Joe Campbell on topic Item Navigation Loop
Ok - Thanks - Send me a message via Twitter when you're ready

Have a GRRRRRREAT Weekend :)

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

  • Joe Campbell
  • Joe Campbell's Avatar Topic Author
  • Offline
  • Platinum Member
More
8 years 6 months ago #152284 by Joe Campbell
Replied by Joe Campbell on topic Item Navigation Loop
@Krikor can you olease provide (dare I say it) model hack solution :)

As I perviously stated, this feature would be an ideal feature for K2v3 (Category > Item Navigation > Loop)

It would help retain UI integrity and it makes sense for most instances.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 6 months ago #152386 by Krikor Boghossian
Replied by Krikor Boghossian on topic Item Navigation Loop
It can be done in template override.
It does require some coding though. I will try to develop something in the coming days.

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

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

  • Joe Campbell
  • Joe Campbell's Avatar Topic Author
  • Offline
  • Platinum Member
More
8 years 6 months ago #152389 by Joe Campbell
Replied by Joe Campbell on topic Item Navigation Loop
Ok - Thanks - If it's easier top code and less of a performance impact, I will gladly take the model modification :)

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

  • Joe Campbell
  • Joe Campbell's Avatar Topic Author
  • Offline
  • Platinum Member
More
8 years 6 months ago #152550 by Joe Campbell
Replied by Joe Campbell on topic Item Navigation Loop
Hey K2ers - I still need help solving this - please provide code for the guy who loves Joomla/K2 but does not code :)

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

  • Kannan Naidu Venugopal
  • Kannan Naidu Venugopal's Avatar
  • Offline
  • Platinum Member
  • Aham Brahmasmi
More
8 years 6 months ago #152563 by Kannan Naidu Venugopal
Replied by Kannan Naidu Venugopal on topic Item Navigation Loop
@Joe Have you submitted a feature request ? LOL

To me it seems a lot easier and cleaner if a function like getFirstItem and getLastItem is included in the model and view of K2, like the getNextItem and getPreviousItem function.

I like kittens, so don't hack the core :)

I also feel it's messy to do it inside template override, with all the query and urlencode. Maybe @Krikor is already writing a plugin for you :)

K2 Rocks \m/

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

  • Mohamed Abdelaziz
  • Mohamed Abdelaziz's Avatar
  • Offline
  • Platinum Member
  • Joomla Developer
More
8 years 6 months ago #152583 by Mohamed Abdelaziz
Replied by Mohamed Abdelaziz on topic Item Navigation Loop
After looking at the code, totally agree with @Kannan :)

Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store

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

  • Joe Campbell
  • Joe Campbell's Avatar Topic Author
  • Offline
  • Platinum Member
More
8 years 6 months ago #152587 by Joe Campbell
Replied by Joe Campbell on topic Item Navigation Loop
I just submitted a formal feature request:
github.com/getk2/k2-v3-dev-build/issues/295

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 6 months ago #152645 by Krikor Boghossian
Replied by Krikor Boghossian on topic Item Navigation Loop
Thanks Joe.
Happy Easter :)

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

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

  • Mohamed Abdelaziz
  • Mohamed Abdelaziz's Avatar
  • Offline
  • Platinum Member
  • Joomla Developer
More
8 years 5 months ago #152949 by Mohamed Abdelaziz
Replied by Mohamed Abdelaziz on topic Item Navigation Loop
In case you don't mind to hack core K2, here is how to implement it:
Easy hack to provide navigation loop for K2 items

Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store

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


Powered by Kunena Forum