Komento position in Zoo template
20 responses Add a reply
-
OK. I found out that if you create a new item after Komento installation, it places the comment section under the description element. If you install Komento into a preexisting Zoo install with items already added, the comment section will be placed above the main menu. This will cause problems unless you are installing Komento over a fresh install of Zoo.
Even with a fresh install, it would be helpful to move Komento into different element positions. -
-
Subscribed Products: -
-
I have the same problem, like Matts. I think, the problem is in Blog application that most of us duplicate the textarea where the content is in. In the first div there is a short teaser of the article and in the second div is the rest of the article. The comments form will be inserted right after the first div, in the middle of the article. (Edit: I just saw, that the comment form is also added after the second div. There are 2 comment forms in my article.) I cannot leave this for long (it's a live site), but you can have a look at it here: http://www.wowzoo.de/mop/news/item/mop-neue-wildtierfamilien
I provided all neccessary informations in the site details tab. Thanks in advance.
I also like to change the position of the comment form, cause it will be inserted before the related articles and they should come first.
Oh, I nearly forgot to mention that there should be an option to chose whether to show the username or the real name. Currently the link to Jomsocial profile is correct and working, but it shows the user's real name.
Subscribed Products: -
Ok, I will shut down Komento again. On application frontpage (like http://www.wowzoo.de/news) I get a white page with following error:
Fatal error: Call to a member function getParams() on a non-object in /.../components/com_komento/komento_plugins/com_zoo.php on line 192
Subscribed Products: -
Hello Noemi,
I'm sorry for this late reply. After some inspection, Komento do not seamlessly integrate with multiple textarea in a Zoo item, at least for now. My suggestion is to insert {KomentoDisable} to the textarea content of those you don't need to avoid duplicating Komento.
We'll try to seek a better solution on this issue. Any suggestions or ideas are welcomed. -
Thank you for looking into it, Jewei. It is at least a solution and I am thankful. I can insert the code quickly in PHPMyAdmin. Edit: I tried it now and if I insert the code in the first text element, then comments will be disabled for the whole article. And I can see the code {KomentoDisable}, normally it should be not visible.
Subscribed Products: -
I'm sorry, but Komento is still not usable for me. 1. Profile link shows real name instead of username. 2. For some unknown reason the comment form will not be duplicated now (yey!), BUT after a new import of the comments, they appeare twice. As I wanted to delete the duplicates in backend, the comments site shows only the table headings but not the comments themselves. 3. Comments are still above related articles. I don't like that, but the first point is more important for me.
Subscribed Products: -
-
Hello Noemi,
Regarding to the real name /username issue, are you sure you wanted to show the Joomla username instead? We actually intended Komento to show real name because if we expose the login username, it might be a security tread to the users.
Anyway, we'll gladly assist you and provide you a hack if you insist to. No worry
We've fixed point (2), there were 2 comments loaded as com_fabrik, we've remove that and now it works well.
Regarding to point (3) - comments are above related articles. This would not be possible as for now, Komento is attaching to the textarea content.
We'll look into the future if we could load Komento in Zoo as an element. Thanks! -
Subscribed Products: -
Another little bug: The comment count seems to be not correct. Please compare the Zoo comment count and the Kometo comment count. You will see, that there is a difference. It's not only that it doesn't count replies as independent comments, but sometimes it shows that there are comments where actually no comments are.
Subscribed Products: -
Hi Noemi,
Sorry for the delay. I've applied a few changes on your site to reflect your requests.
Show username instead of real name:
/components/com_komento/themes/kuro/comment/item/author.php
added line 16:
$row->name = $row->author->username;
Rest assured that this will be added in the integration settings page for you to easily switch between Real Name/Username to display.
As for the comment count bug, I've fixed this on your site, and here are the fixes I've applied:
/components/com_komento/models/comments.php
line 57
if( empty( $this->_total[$component][$cid] ) )
change to
if( empty( $this->_total[$component][$cid] ) )
line 75
$this->_total = $db->loadResult();
change to
$this->_total[$component][$cid] = $db->loadResult();
line 77
return $this->_total;
change to
return $this->_total[$component][$cid];
Noemi Siko likes this post. -
Hello Jason,
thank you very very much, now it's almost perfect
I found another little bug. Comment count, Hits and Readmore don't work on category pages like http://www.wowzoo.de/news/category/haustiere
Is there a possibility to set the time zone? I don't really know which time it shows, it's not the server time, I suppose. There is a difference of 2 hours.
And a last question: Are there any JomSocial rules for userpoints? I made a quick search in the rules section of JomSocial (backend) and I couldn't find any. The integration in the activity feed works very well.
Subscribed Products: -
-
Hello Noemi,
I've fixed the logic so now http://www.wowzoo.de/news/category/haustiere also shows the summary text
We'll include this fix in our next Komento release! -
Subscribed Products: -
Your Response
Please login to reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.