Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • lg21 Friend
    #192849

    in my website

    http://www.controcorrentelido.it/corriere

    I click on a news item, jcomment because the component is not to be just below the news, but it’s as if you put in the form below?

    phong nam Friend
    #514930

    Hi,

    The Jcomment box is selected to display on afterDisplayContent postion on article view layout while we defined this position under the content and sidebar section. That is why the Jcomment go down and there is an empty space above it.

    You can simply solve this issue by moving the afterDisplayContent inside the content (article-body) section so that the Jcomment box will display right below the content then.

    You can try on these steps:

    – Open templatesja_magzhtmlcom_contentarticledefault.php file, at 270th line, remove or comment:

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

    – Open templatesja_magzhtmlcom_contentarticledefault_text.php file, and put above codes at 147th line above (<?php if ($t3app->countModules($sidebar1)) : ?>) like my snapshot.

    Note: You should apply these codes into other article content types (gallery, video …)


    1. display_content
    lg21 Friend
    #515014
    phong nam Friend
    #515035

    Hi lg21,

    The issue is caused by the condition that we defined with $exinfo in default.php file. We should use the code:

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

    to display the afterDisplayContent position. You can check the result in here.

    lg21 Friend
    #515066

    Thank you, now it works

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

This topic contains 5 replies, has 2 voices, and was last updated by  lg21 10 years, 11 months ago.

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