JComments compatibility

More
13 years 6 months ago #11554 by soyjok
Hi everyone!
I will call this a bug cause I'm not sure what else I could call it.

Joomla 1.5.20
FLEXIcontent version 1.5.3c stable (r354)
JComments 2.2.0.2 [12/09/2010]

I was wondering if anyone else encoutered a similar problem to mine. The comments are present in all the articles on every category even thow i haven't marked any category from the list in the Jcomments component settings. Is this a known issue, is it possible that this has something to do with Flexicontent? Any ideas?

The discussion at Jcomments is at www.joomlatune.com/forum/index.p ... 910.0.html

Thanks - Eskerrik asko - Gracias
Jok

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

More
13 years 6 months ago #11558 by effrit
Replied by effrit on topic JComments compatibility
hi, soyjok.
this issue is well known for both autors (flexi & jcomments). I asked _smart (jcomments author) about this two-three monts ago. He try to communicate Emmanuel but the problem is what he still busy.
I will try ask _smart agane, may be he make some hack for flexi.

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

More
13 years 6 months ago #11559 by soyjok
Replied by soyjok on topic JComments compatibility
OK,
thank you very much
lucky!

Thanks - Eskerrik asko - Gracias
Jok

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

More
13 years 6 months ago #11569 by effrit
Replied by effrit on topic JComments compatibility
it seems what i figured out the source of problem.
flexi attach comments via strings of TEMPLATE.
Code:
if ($this->params->get('comments') == 1) : if (file_exists(JPATH_SITE.DS.'components'.DS.'com_jcomments'.DS.'jcomments.php')) : require_once(JPATH_SITE.DS.'components'.DS.'com_jcomments'.DS.'jcomments.php'); echo JComments::showComments($this->item->id, 'com_flexicontent', $this->escape($this->item->title)); endif; endif;

$this->params->get('comments') - its parameter of material. the problem is condition from category settings is absent.

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

More
13 years 6 months ago #11582 by effrit
Replied by effrit on topic JComments compatibility
i am not a programmer, so i made very simple template hack.
open components\com_flexicontent\templates\[name]\item.php
search
<!-- BOF comments -->
string and make some changes after:
Code:
$catArr=array(1,2,3,5); // id categories with enabled comments if ((in_array((int)$this->item->catid,$catArr)&&($this->params->get('comments')))) : ?>

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

More
13 years 6 months ago #11586 by micker
Replied by micker on topic JComments compatibility
thanks effrit

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.295 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline