Kunena 7.0.4 Released

The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0

Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.

Question Lightbox displays part of image (with some templates)

More
15 years 1 month ago #89932 by Tomservo
Hey all, I'm having issues with Lightbox displaying images in the forum. When using templates other than the default, lightbox displays only the left portion of the image (about 1/4 or so). Is this happening with anyone else? It seems to have shown up after the 1.6.3 update. Lightbox works fine on the rest of the site. What's odd is with some templates it doesn't even try to do the lightbox effect, it just opens the image in the browser window as if one has turned off lightbox in the frontend settings.

I did try the search here but gave me a lot of info that was not relevant. Anyone else seen this behavior?

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

More
15 years 1 month ago #89939 by xillibit
Hello,

The third party templates need to be updated to using the new lightbox

I don't provide support by PM, because this can be useful for someone else.

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

More
15 years 1 month ago #89960 by Tomservo
Thought it might be something like that.

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

More
14 years 11 months ago #94736 by kai920

xillibit wrote: Hello,

The third party templates need to be updated to using the new lightbox


How exactly can this be accomplished?

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

More
14 years 11 months ago #94746 by xillibit
You need to replace this, in /components/com_kunena/template/yourtemplate/initialize.php :
Code:
CKunenaTools::addScript( KUNENA_DIRECTURL . 'js/slimbox/slimbox-min.js' );

by this :
Code:
// We load mediaxboxadvanced library CKunenaTools::addStyleSheet ( KUNENA_DIRECTURL . 'js/mediaboxadvanced/css/mediaboxAdv.css'); CKunenaTools::addScript( KUNENA_DIRECTURL . 'js/mediaboxadvanced/js/mediaboxAdv.js' );

I don't provide support by PM, because this can be useful for someone else.
The following user(s) said Thank You: kai920

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

More
14 years 11 months ago #94762 by etkritikonspoudon

xillibit wrote: You need to replace this, in /components/com_kunena/template/yourtemplate/initialize.php :

Code:
CKunenaTools::addScript( KUNENA_DIRECTURL . 'js/slimbox/slimbox-min.js' );

by this :
Code:
// We load mediaxboxadvanced library CKunenaTools::addStyleSheet ( KUNENA_DIRECTURL . 'js/mediaboxadvanced/css/mediaboxAdv.css'); CKunenaTools::addScript( KUNENA_DIRECTURL . 'js/mediaboxadvanced/js/mediaboxAdv.js' );

Does this mean that when creating a custom template, one needs to copy "initialize.php" as well (what other files/folders?) to his/her new template folder?

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

Time to create page: 0.247 seconds