Keyword

Add "latest items by category" block in item.php

  • joomlanew
  • joomlanew's Avatar Topic Author
  • Offline
  • New Member
More
12 years 8 months ago - 12 years 8 months ago #62109 by joomlanew
Hi,
K2 is really an amazing component with great flexibility and many options. It is also quite easy to customize according to user's requirement. I have modified it to a great extent. However, I have one urgent need to display latest items by category in the item view page, the category being the current one which the current viewed item belongs to. There are modules which I can use to display most recent items by category but I want to modify item.php and other related files( actually I don't know which files to edit except the item.php template file) to accommodate this requirement. Is it possible to achieve this?

Thanks in advance for this great component.

I am using k2 2.4.1 version

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

  • joomlanew
  • joomlanew's Avatar Topic Author
  • Offline
  • New Member
More
12 years 8 months ago #62110 by joomlanew
no one there to help me?

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

More
12 years 4 months ago #62111 by Fuad Kalhori
Replied by Fuad Kalhori on topic Re: Add "latest items by category" block in item.php
Can anyone help ??

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
12 years 4 months ago - 12 years 4 months ago #62112 by Kannan Naidu Venugopal
Replied by Kannan Naidu Venugopal on topic Re: Add "latest items by category" block in item.php
Hi om,

I can't remember if the option is available in K2 version 2.4.1 but if you upgrade to the latest version K2 2.5.7, you will have the option to show or hide related items by category.

Refer to screenshot

K2 Rocks \m/
Attachments:

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

More
12 years 4 months ago #62113 by Fuad Kalhori
Replied by Fuad Kalhori on topic Re: Add "latest items by category" block in item.php
Thenk you for replying.
I have tried this option but still it doesnt display related items on item page.
How can i display related items from category in a module ?

Thanks.

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
12 years 4 months ago #62114 by Kannan Naidu Venugopal
Replied by Kannan Naidu Venugopal on topic Re: Add "latest items by category" block in item.php
Hi Fuad Kalhori,

Did you set it to Show and have you tried clearing your cache?

K2 Rocks \m/

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

More
12 years 4 months ago #62115 by Fuad Kalhori
Replied by Fuad Kalhori on topic Re: Add "latest items by category" block in item.php
Yes I have.
What about showing latest from category in a module ?? How can I do this ??

Thanks!

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
12 years 4 months ago #62116 by Kannan Naidu Venugopal
Replied by Kannan Naidu Venugopal on topic Re: Add "latest items by category" block in item.php
For module, use K2 Contents. It's already in Module Manager.

K2 Rocks \m/

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

More
12 years 4 months ago #62117 by Fuad Kalhori
Replied by Fuad Kalhori on topic Re: Add "latest items by category" block in item.php
Thank you for replying. How can I display the module on item page ??

Greatefull for your help.

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

More
12 years 4 months ago #62118 by Fuad Kalhori
Replied by Fuad Kalhori on topic Re: Add "latest items by category" block in item.php
My point is to show related items from selected item category i a module

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


Powered by Kunena Forum