-
AuthorPosts
-
August 12, 2010 at 8:14 pm #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,
Gregnghiatd Friendnghiatd
- Join date:
- October 2009
- Posts:
- 324
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 7
- Thanked:
- 39 times in 37 posts
August 13, 2010 at 11:14 am #352608Hi 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,
GregAnonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
August 17, 2010 at 1:36 am #352877Please 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.
September 7, 2010 at 9:46 am #354816Good morning,
Login details, URL and FTP info send via http://support.joomlart.com (ticket number RTW-725164
Thanks in advance,
GregSeptember 9, 2010 at 5:31 am #355015Morning,
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 -
AuthorPosts
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