Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

JoomlaTune Support Forum    JComments component    Integration with third-party extensions    Topic: JComments & Multicategories or FJRelated
Pages: [1]   Go Down
  Print  
Author Topic: JComments & Multicategories or FJRelated  (Read 4764 times)
0 Members and 2 Guests are viewing this topic.
master7
Newbie
*

Karma: 0
Offline Offline

Posts: 4


WWW
« on: October 11, 2010, 17:40:47 »

Hi.

Is there possibility to add in JComments plugin for Multicategories component (http://extensions.joomla.org/extensions/structure-a-navigation/multi-categorization/12374)?
I try to do this by myself but I'm not so good programist.

Regards.
Master7
« Last Edit: January 17, 2011, 16:40:28 by master7 » Logged

smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #1 on: October 12, 2010, 03:09:12 »

We need to make 2 changes in JComments component.

1. Open file /plugins/content/jcomments.php and replace code
Code: (php)
|| ($option != 'com_content' && $option != 'com_alphacontent' && $option != 'com_customproperties')) {
with
Code: (php)
|| ($option != 'com_content' && $option != 'com_alphacontent' && $option != 'com_multicategories')) {

2. Open file /plugins/system/jcomments.php and replace code:
Code: (php)
if ($option == 'com_content' || $option == 'com_alphacontent') {
with
Code: (php)
if ($option == 'com_content' || $option == 'com_alphacontent' || $option == 'com_multicategories') {
« Last Edit: October 12, 2010, 03:19:15 by smart » Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
master7
Newbie
*

Karma: 0
Offline Offline

Posts: 4


WWW
« Reply #2 on: October 12, 2010, 13:22:35 »

We need to make 2 changes in JComments component.
[...]

 Smiley Excellent!
It's working. Thank You very much fo Your help.

Regards.
Master7
Logged

master7
Newbie
*

Karma: 0
Offline Offline

Posts: 4


WWW
« Reply #3 on: January 17, 2011, 16:39:47 »

We need to make 2 changes in JComments component.

On my site I changed multicategories component into FJ Related: http://extensions.joomla.org/extensions/structure-a-navigation/multi-categorization/6926.

Your method working also for this component. Of course we need to replace com_multicategories with com_fjrelated


1. Open file /plugins/content/jcomments.php and replace code
Code: (php)
|| ($option != 'com_content' && $option != 'com_alphacontent' && $option != 'com_customproperties')) {
with
Code: (php)
|| ($option != 'com_content' && $option != 'com_alphacontent' && $option != 'com_jfrelated')) {

2. Open file /plugins/system/jcomments.php and replace code:
Code: (php)
if ($option == 'com_content' || $option == 'com_alphacontent') {
with
Code: (php)
if ($option == 'com_content' || $option == 'com_alphacontent' || $option == 'com_jfrelated') {

It's working too Smiley
I put this here, meybe someone will be iterested in it in the future Wink

Regards.
Master7
Logged

smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #4 on: January 17, 2011, 17:19:41 »

@Master7: thank you for sharing the solution. I'll include FJ Related support in next JComments version! I'm going to move this into content plugin's parameters.
« Last Edit: January 17, 2011, 17:25:54 by smart » Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
maleli
Newbie
*

Karma: 0
Offline Offline

Posts: 3


« Reply #5 on: February 17, 2011, 01:33:29 »

Hi, I just tried this, but I couldn't find how to add the categories from the Multicategories component to the Categories where JComments should display.  Categories from Multicategories aren't listed in JComments component. Sad

What am I missing?
Logged
master7
Newbie
*

Karma: 0
Offline Offline

Posts: 4


WWW
« Reply #6 on: February 18, 2011, 16:30:19 »

Well, I used multicategories, some times ago. Now there is new version, I was disapointed that , so I changed into FJRelated.

Regards.
Master7
Logged

maleli
Newbie
*

Karma: 0
Offline Offline

Posts: 3


« Reply #7 on: February 18, 2011, 20:45:24 »

Thanks for your reply master7,
I installed FJRelated and it works on Article view, but I don't know how to show the number of comments in blog view for a FJRelated menu link.

Were you able to make that work?
Logged
maleli
Newbie
*

Karma: 0
Offline Offline

Posts: 3


« Reply #8 on: February 18, 2011, 20:58:47 »

Oops, nevermind, it works Smiley
Logged
staff88
Newbie
*

Karma: 0
Offline Offline

Posts: 1


« Reply #9 on: January 25, 2012, 04:54:24 »

Hello,

I use JComments for my website, and after installed multicategories componant,  I make 2 changes in JComments component.

But the JComment Links "READ MORE" & "ADD COMMENT" are not displayed in categories pages.

How correct this problem please ?

I'm sorry for my english, I'm french
Logged
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    Integration with third-party extensions    Topic: JComments & Multicategories or FJRelated
 
Jump to: