test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • zener79 Friend
    #180806

    Hello, I’m trying tu use JComments in NEX template. I can’t switch to other comments manager because I have already lot’s of comment imported from the old website.

    Jcomments works perfectly with Beez Template and other default joomla template, so the problem is probably on JA Nex.

    Joomla relies on certain events to occur in the process of building a page for the components to have a chance to insert their output. If the template does not accommodate for those events, there is no way for components to interact with it and do what they supposed to do.
    In this case the JComments Plugin relies onAfterDisplayContent event, but with your template, doesn’t seems to be able to inject any content on the page.

    Is there any way to fix the problem?

    Thank you
    Claudio

    HeR0 Friend
    #467610

    Hi Zener79
    Please open file templates/ja_nex/html/com_content/articles/default.php, you can find afterDisplayContent . So you should change in JComments Plugin event onAfterDisplayContent to afterDisplayContent or revert.

    Hope that can help you

    zener79 Friend
    #468238

    No need to change the event name.

    I just uncommented the line 218..

    [PHP]<?php echo $this->item->event->afterDisplayContent; ?>
    [/PHP]

    Thanks
    Claudio

    HeR0 Friend
    #468303

    Hi Zener79,

    Has your issue been fixed yet ?

    Regards,

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

This topic contains 4 replies, has 2 voices, and was last updated by  HeR0 12 years, 3 months ago.

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