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 (Moderator: korb)    Topic: Jcomments in JCAL Pro
Pages: [1]   Go Down
  Print  
Author Topic: Jcomments in JCAL Pro  (Read 1222 times)
0 Members and 1 Guest are viewing this topic.
shiner
Newbie
*

Karma: 0
Offline Offline

Posts: 1


Email
« on: February 08, 2010, 19:37:12 »

Hi,

This not work (http://www.joomlatune.com/jcomments-jcalpro.html).
I replace this and nothing appear.

I want to put Jcomments in every event, its possible?

Best regards
Logged
smart
Administrator
Hero Member
*****

Karma: 87
Offline Offline

Gender: Male
Posts: 1867



WWW
« Reply #1 on: February 09, 2010, 14:29:42 »

This guide was made for earlier versions of JCal Pro and may not work with current. In my mind the best way is ask the JCalPro developers to add JComments support in their component.
Logged

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

Karma: 0
Offline Offline

Posts: 15


« Reply #2 on: May 18, 2010, 17:01:38 »

You can prove this  Grin

Replace
Code:
    if ( $noduration ) template_extract_block($template_event_view, 'duration_row');
 
    echo template_eval($template_event_view, $params);
 
    endtable();




with
Code:
    if ( $noduration ) template_extract_block($template_event_view, 'duration_row');
 
    echo template_eval($template_event_view, $params);
 
    endtable();
 
 global $mainframe;
  $jcomments = $mainframe->getCfg('absolute_path') . '/components/com_jcomments/jcomments.php';
  if (file_exists($jcomments)) {
    require_once($jcomments);

    echo JComments::showComments($event->extid, 'com_jcalpro', $event->title);
    }
Logged
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    Integration with third-party extensions (Moderator: korb)    Topic: Jcomments in JCAL Pro
 
Jump to: