Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • zviadi Friend
    #891383

    How to configure item image in video article as in regular article? Now, image in Video article covers both columns (article itself and right sidebar) I need to customise it as regular article – meaning Image on the top of the article and right sidebar next to item Image.

    Adam M Moderator
    #892220

    Hi @zviadi,

    Please edit the thread (first post), choose Require Help From Staff + Mod/Admin? then provide your site url with temporary admin account first. You might want to provide a mockup screenshot about the desire result or clarify a little bit so I can check this matter for you.

    zviadi Friend
    #893480

    See screenshot:
    Video in Video article should be the same size as in regular article.
    Look at the attached image, it shows that VIDEO on your template covers content and banner and Most viewed block on right sidebar position.
    In regular article image of the item covers just text. but NOT right banner and other moduls below it.
    My question is: how to use the same design for video articles?


    1. Video-article
    Adam M Moderator
    #893997

    Hi @zviadi,

    Please edit the thread (first post), choose Require Help From Staff + Mod/Admin? then provide your site url with temporary admin account there so I can assist you in this matter.

    zviadi Friend
    #894430

    May I set in admin myself?

    Adam M Moderator
    #894953

    Hi @zviadi,

    In order to investigate any technical issue, you will need to specify your site and temporary admin account as requested. We won’t modify anything in your site unless you asked us to do so and I will guide you how to adjust this part.

    zviadi Friend
    #895342

    i have added admin data

    Adam M Moderator
    #896362

    Hi @zviadi,

    Thanks for the info. I checked your site but see another template instead, could you please confirm your status ?

    zviadi Friend
    #896561

    sorry there must be: finchannel.com/demo

    Adam M Moderator
    #897530

    Hi @zviadi,

    Please open file templates/ja_magz_ii/html/com_content/article/default.php and look for this block :

    <div class="col-xs-12 <?php if ($content_type=='video' && $params->get('access-view') ): ?>affix-video<?php endif; ?>">
        <?php if ($content_type=='video' && $params->get('access-view') ): ?>
        <div id="ja-main-player" class="embed-responsive embed-responsive-16by9" itemprop="video">
            <div id="videoplayer">
              <?php echo JLayoutHelper::render('joomla.content.video_play', array('item' => $this->item, 'context' => 'featured')); ?>
            </div>
        </div>
        <hr />
        <?php elseif ($content_type=='gallery' && $params->get('access-view')): ?>
          <div itemtype="http://schema.org/VideoObject" itemscope="" itemprop="gallery" class="ja-gallery-list-wrap">
            <?php echo JLayoutHelper::render('joomla.content.gallery_play', $this->item); ?>
          </div>
        <?php endif; ?>
    </div>
    <div class="col col-xs-12 <?php if ($sidebar) : ?> col-md-8 <?php endif; ?> item-main">

    all you have to do is move the last line to top as below :

    <div class="col col-xs-12 <?php if ($sidebar) : ?> col-md-8 <?php endif; ?> item-main">
    <div class="col-xs-12 <?php if ($content_type=='video' && $params->get('access-view') ): ?>affix-video<?php endif; ?>">
        <?php if ($content_type=='video' && $params->get('access-view') ): ?>
        <div id="ja-main-player" class="embed-responsive embed-responsive-16by9" itemprop="video">
            <div id="videoplayer">
              <?php echo JLayoutHelper::render('joomla.content.video_play', array('item' => $this->item, 'context' => 'featured')); ?>
            </div>
        </div>
        <hr />
        <?php elseif ($content_type=='gallery' && $params->get('access-view')): ?>
          <div itemtype="http://schema.org/VideoObject" itemscope="" itemprop="gallery" class="ja-gallery-list-wrap">
            <?php echo JLayoutHelper::render('joomla.content.gallery_play', $this->item); ?>
          </div>
        <?php endif; ?>
    </div>
Viewing 10 posts - 1 through 10 (of 10 total)

This topic contains 9 replies, has 2 voices, and was last updated by  Adam M 8 years, 8 months ago.

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