test
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • VisiGod Friend
    #157763

    The module doesn’t displays anything. JA News Pro and News FP are on that page as well. On all other pages the module works fine.

    IMO it conflicts with some of these two modules.

    thuanlq Friend
    #368433

    <em>@VisiGod 210254 wrote:</em><blockquote>The module doesn’t displays anything. JA News Pro and News FP are on that page as well. On all other pages the module works fine.

    IMO it conflicts with some of these two modules.</blockquote>

    Hi,

    I tried to enable mod_k2_content on frontpage, and it works normally, can you provide me screentshots or a link?

    feanorv Friend
    #368487

    K2_Content works for me too, it’s probably a conflict with something.

    VisiGod Friend
    #368513

    See the screenshot


    1. k2_content
    thuanlq Friend
    #368704

    Hi @visigod,

    I think your problems is because k2_content module is configured incorrectly. Please send me your admin user account, i will check it and give you the solution.

    regards

    VisiGod Friend
    #368797

    Will try to fix it by myself. However it works on the rest of the pages?!?
    <em>@thuanlq 210978 wrote:</em><blockquote>Hi @visigod,

    I think your problems is because k2_content module is configured incorrectly. Please send me your admin user account, i will check it and give you the solution.

    regards</blockquote>

    MIMOZAKALLO Friend
    #368812

    me to have the same problem with ores

    thuanlq Friend
    #368886

    <em>@MIMOZAKALLO 211110 wrote:</em><blockquote>me to have the same problem with ores</blockquote>

    Hi,

    To resolve this problem for ja_teline IV template, plz try change config on adminpage for mod_k2_content module as screenshot
    [/URL]

    To resolve for ja_ores, please change code on helper.php file in folder “modules/mod_k2_content/” as following:
    – Go to line code

    //Plugins
    $params->set('parsedInModule', 1); // for plugins to know when they are parsed inside this module

    add new code


    //Plugins
    $params->set('parsedInModule', 1); // for plugins to know when they are parsed inside this module

    $view = JRequest::getVar("view","");
    $option = JRequest::getVar("option","");
    $is_frontpage = false;
    //check current page is homepage
    if($option == "com_content" && $view == "frontpage")
    $is_frontpage = true;
    //If current page isn't homepage
    if( !$is_frontpage ){
    $results = $dispatcher->trigger('onBeforeDisplay', array(&$item, &$params, $limitstart));
    $item->event->BeforeDisplay = trim(implode("n", $results));

    $results = $dispatcher->trigger('onAfterDisplay', array(&$item, &$params, $limitstart));
    $item->event->AfterDisplay = trim(implode("n", $results));

    $results = $dispatcher->trigger('onAfterDisplayTitle', array(&$item, &$params, $limitstart));
    $item->event->AfterDisplayTitle = trim(implode("n", $results));

    $results = $dispatcher->trigger('onBeforeDisplayContent', array(&$item, &$params, $limitstart));
    $item->event->BeforeDisplayContent = trim(implode("n", $results));

    $results = $dispatcher->trigger('onAfterDisplayContent', array(&$item, &$params, $limitstart));
    $item->event->AfterDisplayContent = trim(implode("n", $results));

    $dispatcher->trigger('onPrepareContent', array(&$item, &$params, $limitstart));
    $item->introtext = $item->text;
    }

    screenshot
    [/URL]

    Saguaros Moderator
    #370757

    And here is other solution, plz follow this thread to resolve the issue http://www.joomlart.com/forums/topic/k2-content-module-not-working-on-some-pages/

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

This topic contains 9 replies, has 5 voices, and was last updated by  Saguaros 13 years, 11 months ago.

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