test
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • coopoli Friend
    #174665

    Hi Guys
    Is there a way to “use” the JA Thumbnail function in K2 articles?

    Regards
    Miguel

    Sherlock Friend
    #443583

    Hi coopoli,

    The plugin is not supported for k2 component yet, you can try as following that might get it working in a k2 content item.
    Open the file of pluginscontentplg_jathumbnail.php looking for this code
    [PHP]
    if ($view == ‘article’) {
    $this->_crop = $this->pluginParams->get(‘content_mode-auto-manual-crop_image’, 1);
    $this->article($article, $params, $limitstart);
    }
    [/PHP]

    change it to
    [PHP] if ($view == ‘article’ || $view == ‘item’) {
    $this->_crop = $this->pluginParams->get(‘content_mode-auto-manual-crop_image’, 1);
    $this->article($article, $params, $limitstart);
    }[/PHP]

    That’s for joomla 1.5, hope this should help !

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  Sherlock 12 years, 9 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum