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: JPortfolio v.1.3 ?
Pages: [1]   Go Down
  Print  
Author Topic: JPortfolio v.1.3 ?  (Read 4492 times)
0 Members and 2 Guests are viewing this topic.
allos
Newbie
*

Karma: 0
Offline Offline

Posts: 7


Email
« on: August 01, 2009, 02:21:22 »

Is there any integration tutorial for JPortfolio v.1.3 ?
This one doesn't work.

I tried to add this
Code:
 global $mosConfig_absolute_path;
  $comments = $mosConfig_absolute_path . '/components/com_jcomments/jcomments.php';
  if (file_exists($comments)) {
    require_once($comments);
    echo JComments::showComments($proj[0]->id, 'com_jportfolio', $proj[0]->name);
  }

after this in all possible positions but nothing. The site didn't load correctly.
Code:
   
echo '</div>';
  }
  bottom();
echo '</div>';
}

In some tests the jcomments appear on top of the page and the comments in the backend don't have the title.

I attach the 1.3 jportfolio.html.php if someone could find a solution.

* jportfolio.html.php (6.65 KB - downloaded 825 times.)
Logged
allos
Newbie
*

Karma: 0
Offline Offline

Posts: 7


Email
« Reply #1 on: August 02, 2009, 20:55:59 »

any news for that ?  Nothing yet ?Sad
Logged
allos
Newbie
*

Karma: 0
Offline Offline

Posts: 7


Email
« Reply #2 on: August 09, 2009, 22:27:02 »

fixed!!

The difference with that
http://www.joomlatune.com/jcomments-jportfolio.html

instead of this
Code:
 global $mosConfig_absolute_path;
  $comments = $mosConfig_absolute_path . '/components/com_jcomments/jcomments.php';
  if (file_exists($comments)) {
    require_once($comments);
    echo JComments::showComments($proj[0]->id, 'com_jportfolio', $proj[0]->name);
  }

use this
Code:
global $mosConfig_absolute_path;
  $comments = $mosConfig_absolute_path . '/components/com_jcomments/jcomments.php';
  if (file_exists($comments)) {
    require_once($comments);
    echo JComments::showComments($proj->id, 'com_jportfolio', $proj->name);
  }
Logged
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    Integration with third-party extensions    Topic: JPortfolio v.1.3 ?
 
Jump to: