Joomla Components and Professional Joomla Templates

      
    | 

13th of March 2010

Joomla Backend Mastery - FREE webinar - find out more here.

JoomlaComment and K2 integration

( 4 Votes )

As of today there is a plugin for the wonderfull K2 component from joomlaworks. I wish to thank our forum user Benny for the initial work on this plugin. I took his code, rewrote it for joomlacomment 4.0 beta2, added the ability to have friendly urls to use rss and the module :) and now the plugin is available in the download section.

If you wish to use the plugin in connection with our latest comment module you will have to go to modules/mod_comments/mod_comments.xml and edit it. Find

<param name="component" type="list" default="" label="Component" description="Will display comments of the specified component.">

and add a new option for k2 like this

<option value="com_k2">com_k2</option>

save the file and now in the module you should have the componet option k2.

This plugin will be added to the next version of joomlacomment and perhaps the guys from joomlaworks will make a backend option to use joomlacomment instead of their own comment system one day :).

If you have any problems with the plugin you can ask for help in our forum in the section for the k2 plugin.

Comments (24)
  • adam
    avatar

    Hi,
    Great news:-) I'm happy!

  • Jenny
    avatar

    I just wanna show hotspot in my website so I install cb and comment. But I have some problems. First, the "com_k2" directions says:
    go to components/com_k2/templates/yourtemplate/item.php at the end of this file add:

    But I did not find components/com_k2/templates/yourtemplate/item.php

    Am I missing something?

    Second, according to the site (http://www.lunajoom.de/en/extensions/category/4-miscellaneous.html) diretions, I do not understand this sentence, After that go to Hotspots settings and activate Joomla Comment support.
    What does Hotspots means? Is it inside community builder and Plugin Management or TabManagement? Or just inside component of Hotspots? I have tried severl days and can not figure out please help me. Thanks!!

  • Daniel Dimitrov
    avatar

    components/com_k2/templates/yourtemplate/item.php

    yourtemplate means: the template that you use( there are several folders, but only one of them is the template that you use).

    Hotspots is just another joomla component.

  • vikas  - Upload com_k2
    avatar


    1. upload com_k2 to administrator/components/com_comment/plugin

    First of all thank you for effort to make this component available.

    Here is my issue - unable to move com_k2 into my 'plugin' folder.

    Tried several times,but it does not show up their in the 'plugin' folder.


    -Vikas

    -

  • vikas  - Uploaded the com_k2
    avatar

    Uploaded com_k2 to my 'Joomla 1.5' location and was trying to move into the path given '
    1. upload com_k2 to administrator/components/com_comment/plugin'

    But, it does not allow me to move it overthere. Therefore, can not excute the other steps.

    I am the super administrator for Joomla blog i am working on, i set it up from the scratch. May be i am missing something that you can help. Do i need to activate any special permission to store the 'com_k2' in 'Plugin' directory.

    Please advise.

    -Vikas

  • Daniel Dimitrov
    avatar

    well, the fact that you can not move the file to the specified path indicates that you don't have some kind of permissions over the file system. Do you use an ftp client or how are you trying to move the files?

  • vikas  - Uploaded the file to the 'tmp' folder in the roo
    avatar

    I could put it into the root directory where i hosted the Joomla 1.5 package.

    Technically it should allow me to move into the plugin folder from there..

    Earlier i tried uploading through conventional install through 'Extension Manager' But, i got error "Warning! Failed to move file.
    JFolder::create: Could not create directory
    Unable to create destination"

    Let me know if it helps.

  • vikas  - ****Edit***
    avatar

    Just now I tried using the 'Extenion Manager'
    with 'Install from Directory' option.

    I have already uploaded the 'com_k2' into 'tmp' folder before.

    Now, When i used the 'Install from Directory' method.
    I noticed the following error:
    "Error! Could not find an XML setup file in the package.
    Path does not have a valid package."

    I have downloaded the com_k2.zip from the compojoom.

    Please advise.

    -Vikas

  • Daniel Dimitrov
    avatar

    Please, don't install it through the extension manager (you will not be able to do so, because it is neither a plugin or extension for joomla - it is something that joomlacomment needs). You just should move the files through an ftp program such as filezilla. If you are unnable to do so - then there are some very tight restriction on your account. Contact your hosting support and ask them to remove those restrictions for your ftp user. Then you won't have problems moving files around in the future.

  • Vikas
    avatar

    Thanks for you quick response.

    I have the 'com_k2' in a tmp folder at the hosting site.

    I manage that myself so have the 'SAdmin' rights. Unless, i am missing something here..

    All i am trying to achieve that the blog articles on my site should have options for the viewers to comment on it. Do you have any other alternative to make it work...

    Thanks.

    -Vikas

  • Daniel Dimitrov
    avatar

    I thought that the readme file is clear enough.
    First thing unzip the file you have downloaded. Second step go to administrator/components/com_comment/plugin and upload com_k2 to this folder. This is all here.
    Then you have to make changes to the k2 templates.

    The first step should be easy enough, how did you manage to upload joomla to your hosting? It is the same.

  • Anonymous
    avatar

    It's strange that i can upload 'com_K2' in the Plugin folder neither can i transfer the same from the 'root' directory.

    Unless, you have the 'xml' file packaged within 'com_k2' so anyone can upload from the 'Extension' Manager.

    -Vikas

  • Vikas  - com_k2
    avatar

    Daniel,

    Reference to com_k2: components/com_k2/templates/yourtemplate/item.php

    I am using the beez template and modified it as per my requirement.

    - Could not find templates in com_k2 folder.
    - item.php is not there ethier.
    - Unable to upload com_k2 in the com_comment folder. I tried changing its file premissions but i get a message

    "FileOp Failure on:/home/netuserc/public_html/Blog_Test/administrator/components/com_comment: Operation not permitted."

    Any suggestions how to fix it :( Please advise.

    -Vikas

  • Daniel Dimitrov
    avatar

    Obviously you are have a very strange hosting configuration.
    You could try to make the changes to the filesystem using the backend of joomla. try it with this extension for example:
    http://extensions.joomla.org/extensions/102/details

  • Vikas  - Re: com_k2
    avatar

    I used Beez template already in the joomla version 1.5

    how do i added comments to my articles. How can i intergrate it with Beez template to have comments on my every article published.

    Can we try it one more time right from the scractch if you don't mind please. Just wanted to make sure i did not miss anything.

    -Vikas

  • Daniel Dimitrov
    avatar

    would you start a thread in the forum and let us begin from the beginning. I have the feeling that either I don't understand what you do, or you don't understand what you have to do :)

  • vikas
    avatar

    I did start a thread in the forum. However,your help will be appreciated

    -Vikas

  • Neil  - other CCKs
    avatar

    Hey Daniel, i'm curious...any plans on building it for other CCK's like flexicontent etc?

    Good work here ;) Much needed!..

  • Samer  - Hi
    avatar

    Thanks

  • nico  - !joomlacomment and community builder
    avatar

    Hi,
    Before enything, sorry for my english I'm french, so I'm not really sure to post in the good comment!!

    I would like to know if it exist a community builder plugin to have a tab with users comments in their profiles (with !joomlacomment component)?

    If it exist, where can I find him?

    Thank you very much...

  • Dimitris  - Little problem.
    avatar

    Is this working with k2 v2.2?

    It doesn't look like.

    Best regards,
    Dimitris

  • MizaĆ«l
    avatar

    Hi,
    I also wonder if com_k2 works with K2 v2.2, as I am not able to see the com_k2 option in the dropdown list (step 3 of installation_instruction.txt).

    Thanks for you help! :)

Write comment
Your Contact Details:
Gravatar enabled
Comment:
[b] [i] [u] [url] [quote] [code] [img]   
:angry::0:confused::cheer:B):evil::silly::dry::lol::kiss::D:pinch::(:shock:
:X:side::):P:unsure::woohoo::huh::whistle:;):S:!::?::idea::arrow:
Security
Please input the anti-spam code that you can read in the image.

Our sponsors

Newsletter




Who's online

We have 2306 guests and 3 members online

Support us!

Our Blog

Joomla Backend Mastery - free Webinar! (23)
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