Joomla Components and Professional Joomla Templates

      
    | 

13th of March 2010

Joomla Backend Mastery - FREE webinar - find out more here.
Welcome, Guest
Please Login or Register.    Lost Password?

Joomsuite Resource Integration
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: Joomsuite Resource Integration
#4617
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">&nbsp;</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
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#4620
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?
Daniel Dimitrov
Developers, developers, developers :)
Administrator
Posts: 3042
graph
User Online Now Click here to see the profile of this user
Gender: Male Location: Karlsruhe, Germany Birthday: 05/06
The administrator has disabled public write access.
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!
 
#4696
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
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#6333
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
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#6364
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
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#6437
Re:Joomsuite Resource Integration 6 Months, 1 Week ago Karma: 0
No feedback? Not possible?
Toni
Junior Boarder
Posts: 21
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#6440
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...
Daniel Dimitrov
Developers, developers, developers :)
Administrator
Posts: 3042
graph
User Online Now Click here to see the profile of this user
Gender: Male Location: Karlsruhe, Germany Birthday: 05/06
The administrator has disabled public write access.
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!
 
#7682
Re:Joomsuite Resource Integration 4 Months ago Karma: 0
how is the progress of working on plugin ??
ProZak
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#7685
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
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#7686
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.
Daniel Dimitrov
Developers, developers, developers :)
Administrator
Posts: 3042
graph
User Online Now Click here to see the profile of this user
Gender: Male Location: Karlsruhe, Germany Birthday: 05/06
The administrator has disabled public write access.
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!
 
Go to topPage: 12
Moderators: Daniel Dimitrov, JonusC

Our sponsors

Who's online

We have 1003 guests and 5 members online

Support us!

Our Blog

Joomla Backend Mastery - free Webinar! (15)
09.03.2010, 07:57:
I had a look over compojoom's forum last days. There are always some people that ask obvious questions in my eyes: "The comments are not showing" - we ...
Read more

Advertisement