-
AuthorPosts
-
VisiGod Friend
VisiGod
- Join date:
- January 2006
- Posts:
- 538
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 76
- Thanked:
- 138 times in 18 posts
December 22, 2010 at 1:10 pm #157763The 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 Friendthuanlq
- Join date:
- October 2010
- Posts:
- 528
- Downloads:
- 0
- Uploads:
- 29
- Thanks:
- 8
- Thanked:
- 121 times in 99 posts
December 24, 2010 at 7:14 am #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 Friendfeanorv
- Join date:
- March 2010
- Posts:
- 27
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 3
- Thanked:
- 1 times in 1 posts
December 24, 2010 at 1:30 pm #368487K2_Content works for me too, it’s probably a conflict with something.
VisiGod FriendVisiGod
- Join date:
- January 2006
- Posts:
- 538
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 76
- Thanked:
- 138 times in 18 posts
December 24, 2010 at 8:49 pm #368513thuanlq Friendthuanlq
- Join date:
- October 2010
- Posts:
- 528
- Downloads:
- 0
- Uploads:
- 29
- Thanks:
- 8
- Thanked:
- 121 times in 99 posts
VisiGod FriendVisiGod
- Join date:
- January 2006
- Posts:
- 538
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 76
- Thanked:
- 138 times in 18 posts
December 27, 2010 at 5:07 pm #368797Will 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 FriendMIMOZAKALLO
- Join date:
- December 2005
- Posts:
- 25
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
December 27, 2010 at 7:48 pm #368812me to have the same problem with ores
thuanlq Friendthuanlq
- Join date:
- October 2010
- Posts:
- 528
- Downloads:
- 0
- Uploads:
- 29
- Thanks:
- 8
- Thanked:
- 121 times in 99 posts
December 28, 2010 at 7:33 am #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;
}
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
January 8, 2011 at 3:58 am #370757And 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/
AuthorPostsViewing 9 posts - 1 through 9 (of 9 total)This topic contains 9 replies, has 5 voices, and was last updated by Saguaros 13 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
mod_k2_content doesn’t work on frontpage
Viewing 9 posts - 1 through 9 (of 9 total)