Keyword

Items not displayed on the frontend (Category template "item")

  • Nicoletta
  • Nicoletta's Avatar Topic Author
  • Offline
  • New Member
More
3 years 10 months ago #176020 by Nicoletta
Hi everybody! I'm working on blog settings by categories.

I've selected "item" as template layout instead of "mansory" I've selected before.

Now I see the new display, but I don't see full items (articles) clicking on "read more" (or linked title, too).

This is the menu link of my site www.bluesilverevents.com/blog-mc.html

The only code I changed was:
<?php if($this->item->params->get('itemExtraFields') && isset($this->item->extra_fields) && count($this->item->extra_fields)): ?>
in
/html/com_k2/default/category_item.php Line 164
/html/com_k2/default/item.php Line 260

(error "parameter must be an array")

Thank you to who's going to answer.
:)

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

More
3 years 10 months ago #176032 by JoomlaWorks
You obviously deleted something extra and thus the item fails to render.

Restore your changes and simply choose to not show extra fields in the related K2 Category's settings. There is no need to remove any code from the item view when you have the options to disable them altogether.

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

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


Powered by Kunena Forum