Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • greg_o Friend
    #153494

    Hello,

    First of all thanks for a great product!!.

    I use Joomla Tags (http://www.joomlatags.org) on my site and I’m trying to allow users to leave comments on every tag’s landing page.

    For example,
    When you see an article tagged with “workflows” you click the tag which takes you to a “workflows” landing page. The page contains some description (regular rich text field) and lists all articles tagged with “workflows”. I would like users to be able to add comments on the page itself.

    I have tried adding “{jacomment on}” to the rich text “Description” field – however, this will not cause JA Comments to show up. I’ve tested some other plugins (for example, Articles Anywhere) and they work fine with the Description field.

    I’m wondering if JA Comment contains some code that checks and loads comments only with joomla articles. Any ideas how to enable this functionality with Joomla Tags?

    Thank in advance,
    Greg

    nghiatd Friend
    #352605

    Dear greg_o,

    Kindly install plugin system jacomment and try adding code:
    {jacomment contentid=TAG_ITEM_ID option=com_joomtag contenttitle=TAG_TITLE}

    Sincerely,

    greg_o Friend
    #352608

    Hi Nghiatd,

    Thanks a lot for the tip. Adding the code does load the comments – however, for some reason the comments (as well as the Twitter and ShareThis buttons) show at the very top of the page (not at the top of the article but the top of the browser window – even before your Joomla template). They effectively split the page in 2 – in the top part you have the comments then below comes your template elements (the header, menu items etc. followed by the content of the article itself). I have tried applying 3 different Joomla templates and the result is always the same.

    Any idea why JA Comment will load in this very different position? Unfortunately, the comments can’t be used in this way as they completely mess up the layout of the site..

    Any help greatly appreciated,
    Greg

    Anonymous Moderator
    #352877

    Please send me url, ftp and admin account for further check.

    You can send it via a ticket http://support.joomlart.com. Your information will be saved and secured.

    greg_o Friend
    #354816

    Good morning,

    Login details, URL and FTP info send via http://support.joomlart.com (ticket number RTW-725164

    Thanks in advance,
    Greg

    greg_o Friend
    #355015

    Morning,

    I am very happy to report that the issue has now been solved. The following solution was provided:

    The following lines of code need to be added to blog.php file located at /sharepointresourcecenter/components/com_tag/views/tag/tmpl/blog.php

    <?php
    $db = &JFactory::getDBO();
    $query=’select * from #__tag_term WHERE name=”‘.$tag.'”‘;
    $db->setQuery($query);
    $rowTerm = $db->loadObject();
    ?>
    {jacomment contentid=<?php echo $rowTerm->id;?> option=com_tag contenttitle=<?php echo $tag; ?>}

    Once the code has been added comments are now loading as they should. Perfect!!

    I have to say I am VERY impressed with the support provided by JoomlArt. Especially that the issue turned out to be not with JAComment itself but rather with the 3rd party component (Joomla Tags) and the Support Team still took the time to investigate and resolve it. Very very impressive! Definitely makes me want to continue purchasing JoomlArt products!!

    Thank you again!
    Greg

Viewing 6 posts - 1 through 6 (of 6 total)

This topic contains 6 replies, has 3 voices, and was last updated by  greg_o 14 years, 2 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum