Keyword

No more lightbox on main image

  • Django
  • Django's Avatar Topic Author
  • Offline
  • Premium Member
More
5 years 3 months ago #172843 by Django
No more lightbox on main image was created by Django
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.

More
5 years 3 months ago #172874 by JoomlaWorks
Replied by JoomlaWorks on 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".

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

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

  • Django
  • Django's Avatar Topic Author
  • Offline
  • Premium Member
More
5 years 3 months ago #172885 by Django
Replied by Django on 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.

More
5 years 3 months ago #172889 by JoomlaWorks
Replied by JoomlaWorks on 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.

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