Logo of SermonSpeaker Extension Claim

Login Form

Player button is not visible on mobile under 480 px

More
2 weeks 3 days ago #8166 by Bruno PASSERAT
Dear ThomasI hope you are doing well with your familyWe can't use the player for SermonSpeaker on mobile under 480 pxThe player button is not visible (see attached files)




The player is too small, we can't click on the start button to playHave a good dayBruno 

Que l'Eternel te bénisse, et qu'il te garde !
Que l'Eternel fasse luire sa face sur toi, et qu'il t'accorde sa grâce !
Que l'Eternel tourne sa face vers toi, et qu'il te donne la paix !
Nombres 6 : 24 - 26
Attachments:

Please Log in or Create an account to join the conversation.

More
2 weeks 2 days ago #8167 by Bruno PASSERAT
Hi all
In com_sermonspeaker/sermon/extnewline.php (line 109) I replace
<?php if (in_array('sermon:player', $this->columns)) : ?>
    <div class="col-md-4"></div>
    <div class="col-md-8">
        <?php echo LayoutHelper::render('plugin.player', array('player' => $player, 'items' => $this->item, 'view' => 'sermon')); ?>
    </div>
<?php endif; ?>

By

<?php if (in_array('sermon:player', $this->columns)) : ?>
    <div class="col-md-12">
        <?php echo LayoutHelper::render('plugin.player', array('player' => $player, 'items' => $this->item, 'view' => 'sermon')); ?>
    </div>
<?php endif; ?>

And It works, but I don't know if it is the best way

Bruno

Que l'Eternel te bénisse, et qu'il te garde !
Que l'Eternel fasse luire sa face sur toi, et qu'il t'accorde sa grâce !
Que l'Eternel tourne sa face vers toi, et qu'il te donne la paix !
Nombres 6 : 24 - 26

Please Log in or Create an account to join the conversation.

More
2 weeks 2 days ago #8168 by Thomas Hunziker
That's a good way. You can do that in a layout override in your template, then it will not be overwritten by the next SermonSpeaker update.

But I think it's also good to include in the next release, it makes a lot of sense to do it your way.

Please Log in or Create an account to join the conversation.

Time to create page: 0.167 seconds
Powered by Kunena Forum