×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Joomsuite Resource Integration

Joomsuite Resource Integration 15 years 5 months ago #4617

  • Chris
  • Chris's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Our system is partially Joomla 1.5 for Category, Section, Article, etc and partially JoomSuite so that content can be threaded. Using JoomlaComment in any native Joomla sections is great, but I am having a hard time implementing it into JoomSuite's Resource plugin. Can I get some help?

I have some examples of how to implement another comment system into resource, which seems that it should be real simple.

here is what the default.php looks like from JoomSuite Resource:

<?php defined('_JEXEC') or die('Restricted access'); ?>
<?php echo $this->loadTemplate('article_'.$this->params->get('tmpl_article'));?>
<div style="clear:both"></div>
<p><?php foreach ($this->events AS $result):?>
<?php if($result) echo $result; ?>
<?php endforeach; ?>
<div style="clear:both"></div>

<?php if($this->params->get('comments')):?>
<?php echo $this->loadTemplate('comments');?>
<?php endif;?>

<span class="article_separator"> </span>

and here is the modified code for the blue highlighted code above:

<?php if($this->params->get('comments')):?>

<?php include_once(JPATH_BASE.DS. "/plugins/content/jom_comment_bot.php");
echo jomcomment($this->article->id, "com_resource"); ?>
<?php endif;?>

Joomsuite Resource Integration 15 years 5 months ago #4620

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey there Chris!
I think you are wrong here. From the code I see, I think that you use jomcomment from azrul and not !joomlacomment from us.

Am I right?

Joomsuite Resource Integration 15 years 5 months ago #4696

  • Chris
  • Chris's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
That example code is what I had to change to try JomComment. JomComment doesn't do everything I need it to do, so when I found JoomlaComment, and saw that it does everything I need, I was happy. But, I am a little new to Joomla in general, so modifying things to get the functionality I need is a little tricky. :)

Joomsuite Resource Integration 15 years 3 months ago #6333

  • Toni
  • Toni's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 21
  • Thank you received: 0
I was looking also for the samed solution. The code pasted by Chris is the one needed to integrate Joomcomment into resources, as stated by Jommsuite (Miightyextensions) Staff, integrating !joomlacomment shouldn't be that hard, just adjusting the posted code.

Can someone give a hint of what line to paste instead the one for Joomcomment?

For reference:

How to JomComment integration

!joomlacomment is great, thanks.

Joomsuite Resource Integration 15 years 3 months ago #6364

  • Toni
  • Toni's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 21
  • Thank you received: 0
Sill trying, let me get it straight:
Mightyextensions Resources is a complement that lets you post articles in a diferent, more complete, way than Joomla; Resources articles don't follow the joomla content rules. Resources articles display can be modified via the template files, which you can edit freely. Resources has it's own comment system, but you can switch it to your preferred one modifying the article template, changing the line that loads Resources comment system.

For Joomcomment integration, you should go to the Resource article template and change the line

{php}<?php echo $this->loadTemplate('comments');?>

for the Joomcoment code:


{php}<?phincnclude_once(JPATH_BASE.DS. "/plugins/content/jom_comment_bot.php");
echo jomcomment($this->article->id, "com_resource"); ?>


The question is, would it be possible to do the same with !joomlacommet? It shouldn't bee too hard, should it?

NOTE: I think the last part of Joomcomment code has beenn added so it identifies the article and links the comments with that article id.

Anybody has a solution? Can !joomlacomment developers help?

Joomsuite Resource Integration 15 years 3 months ago #6437

  • Toni
  • Toni's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 21
  • Thank you received: 0
No feedback? Not possible?

Joomsuite Resource Integration 15 years 3 months ago #6440

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
I have the component and I will write a plugin for it soon. Stay tuned...

Joomsuite Resource Integration 15 years 1 month ago #7682

  • ProZak
  • ProZak's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
how is the progress of working on plugin ??

Joomsuite Resource Integration 15 years 1 month ago #7685

  • Toni
  • Toni's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 21
  • Thank you received: 0
I forgot about this. Finally, what I did was switching from Resources to jSeblod CCK, which works with Joomla core content and lets you use any extension.

Joomsuite Resource Integration 15 years 1 month ago #7686

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hm, I have completly forgotten about that. Do you need a plugin for Joomsuite recource? If you still do, I will write one.

Joomsuite Resource Integration 15 years 1 month ago #7687

  • ProZak
  • ProZak's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Yes, I need plugin for Joomsuite recource. joomlacomment is better :)
  • Page:
  • 1
Time to create page: 0.133 seconds