|
Joomsuite Resource Integration 8 Months, 2 Weeks ago
|
Karma: 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['onAfterArticleRender'] 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;?>
|
|
Chris
Fresh Boarder
Posts: 2
|
|
|
|
|
Re:Joomsuite Resource Integration 8 Months, 2 Weeks ago
|
Karma: 68
|
|
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?
|
|
|
|
Please write a review for joomlacomment at extensions.joomla.org
When you send me more info through the PM system, please provide a link to your problem in the forum!
|
|
|
Re:Joomsuite Resource Integration 8 Months, 2 Weeks ago
|
Karma: 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. 
|
|
Chris
Fresh Boarder
Posts: 2
|
|
|
|
|
Re:Joomsuite Resource Integration 6 Months, 2 Weeks ago
|
Karma: 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.
|
|
Toni
Junior Boarder
Posts: 21
|
|
|
|
|
Re:Joomsuite Resource Integration 6 Months, 2 Weeks ago
|
Karma: 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?
|
|
Toni
Junior Boarder
Posts: 21
|
|
|
|
|
Re:Joomsuite Resource Integration 6 Months, 1 Week ago
|
Karma: 0
|
|
No feedback? Not possible?
|
|
Toni
Junior Boarder
Posts: 21
|
|
|
|
|
Re:Joomsuite Resource Integration 6 Months, 1 Week ago
|
Karma: 68
|
|
I have the component and I will write a plugin for it soon. Stay tuned...
|
|
|
|
Please write a review for joomlacomment at extensions.joomla.org
When you send me more info through the PM system, please provide a link to your problem in the forum!
|
|
|
Re:Joomsuite Resource Integration 4 Months ago
|
Karma: 0
|
|
how is the progress of working on plugin ??
|
|
|
|
|
|
|
Re:Joomsuite Resource Integration 4 Months ago
|
Karma: 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.
|
|
Toni
Junior Boarder
Posts: 21
|
|
|
|
|
Re:Joomsuite Resource Integration 4 Months ago
|
Karma: 68
|
|
Hm, I have completly forgotten about that. Do you need a plugin for Joomsuite recource? If you still do, I will write one.
|
|
|
|
Please write a review for joomlacomment at extensions.joomla.org
When you send me more info through the PM system, please provide a link to your problem in the forum!
|
|
|