Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • lililout Friend
    #193679

    Comments plugins don’t show on photos and videos article type. I use Komento. How can I turn it on? Thanks

    phong nam Friend
    #518222

    The issue relates to the displayContent position that our template defines for the text article type only. In order to show the Komento comments on Videos and Photo article, you can open templatesja_magzhtmlcom_contentarticledefault.php file, replace the code:

    <?php if ($exinfo['type'] == 'text'): ?>
    <?php echo $this->item->event->afterDisplayContent; ?>
    <?php endif ?>

    with:

    <?php echo $this->item->event->afterDisplayContent; ?>

    lililout Friend
    #518274

    Hi,

    Thanks for your reply. The suggested change works but it breaks the gallery/video layout (see screenshot). It does not respect the margins and layout of the page.

    Regards,


    1. Capture
    phong nam Friend
    #518275

    @lililout: You can PM me the site’s url. I will take a look and give you the suitable override styles to adjust the padding of that pages.

    lililout Friend
    #518305

    @leo Burnetts, did you receive my PM ? I’ve sent it a few hours ago. Thanks

    phong nam Friend
    #518336

    You can try to create a custom.css file at …/templates/ja_magz/css/ path and add following css rules:

    #section-kmt #kmt-fame {
    width: 586px;
    margin-left: 100px;
    }

    #kmt-form {
    width: 600px;
    margin-left: 100px;
    }

    That should help to display the Komento comment section better.

    lililout Friend
    #518421

    Hi @leo Burnetts,

    Thanks for the tips. To keep it responsive and only on video/gallery pages. I’ve added the following code and it works well !

    .view-article.photo-page body .t3-content div#section-kmt.theme-freso,
    .view-article.video-page body .t3-content div#section-kmt.theme-freso,
    .view-article.media-page body .t3-content div#section-kmt.theme-freso {
    width: 70%;
    margin-left: 15%;
    }

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

This topic contains 7 replies, has 2 voices, and was last updated by  lililout 10 years, 9 months ago.

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