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: Fabrik and Latest Comments module URL writing needs to be tweaked
Pages: [1]   Go Down
  Print  
Author Topic: Fabrik and Latest Comments module URL writing needs to be tweaked  (Read 1334 times)
0 Members and 2 Guests are viewing this topic.
mk1200
Newbie
*

Karma: 0
Offline Offline

Posts: 8


« on: November 18, 2011, 01:01:43 »

Joomla 1.5.25
Jcomments 2.2.0.2

I apologize if I should have put this into the Modules forum, but figured it was more of a Fabrik integration issue.

Bad URL from Latest Comments module, which works if you're on the same page as the original comment:
index.php?option=com_fabrik&view=table&tableid=4&calculations=0&resetfilters=0&Itemid=2#comment-3

Good URL from comment-anchor counter in comments:
index.php?option=com_fabrik&c=form&view=form&Itemid=2&fabrik=4&tableid=4&rowid=49#comment-3

It's controlled by lines 430 - 434 of mod_jcomments.php and I think line 383 where the $link variable is.

Is there a way to force the module to write the URL like the 2nd example?
Logged
mk1200
Newbie
*

Karma: 0
Offline Offline

Posts: 8


« Reply #1 on: November 18, 2011, 20:07:12 »

After digging in a little further, I see that a com_fabrik.plugin.php file in the com_jcomments/plugins directory may be the answer. If I find the answer, I'll post it.
Logged
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    Integration with third-party extensions    Topic: Fabrik and Latest Comments module URL writing needs to be tweaked
 
Jump to: