Keyword

No more lightbox on main image

  • Django
  • Django's Avatar Topic Author
  • Offline
  • Premium Member
More
2 weeks 15 hours ago #172843 by Django
Django created the topic: No more lightbox on main image
Hi
Suddenly I have no more lightbox on the main image of each K2 item.

As I don't find any parameter to enable/disable this function, I have no idea how to repair this problem.
I use JCE + JCE mediabox.

A suggestion ?

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

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
1 week 1 day ago #172874 by Fotis
Fotis replied the topic: No more lightbox on main image
You probably need to update the related attribute that "fires" the lightbox for the image in the K2 item view. Compare your item.php override to the source item.php file and look for strings that start with "data-k2".

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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

  • Django
  • Django's Avatar Topic Author
  • Offline
  • Premium Member
More
1 week 1 day ago #172885 by Django
Django replied the topic: No more lightbox on main image
Where can I find this item.php override ?
There item.php in com_k2/model, and /templates/default, and views/item/tmpl/ ...

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

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
1 week 1 day ago #172889 by Fotis
Fotis replied the topic: No more lightbox on main image
Read this to understand how to override K2 template overrides: getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates

The file to edit is item.php in the overrides.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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

Moderators: william white

Powered by Kunena Forum