Friendly custom message on empty main page
Hello Dmitry, Eugene,
At the moment if there is no active contest the page is empty (unless you change the state in the toolbar filter)
Sadly, this make it look like there is no activity at all on the site.
I thought it would be much more "friendly" if we could display a custom message instead.
This message would only display when filter state is on "Active" and there is no active contest.
The message could be either "standard" (with override Constant/Value) or Custom.
I really like how you handled the UIkit theme, maybe you can add a styling option to this custom message?
Also having the option to select the style (Card Default, Primary, Secondary, ,..) would be an awesome addition !
Wish you both a nice week-end !
Do you mean we should style this message in competitions.php file:
<?php if (empty($this->items)) : ?> <div class="uk-margin-top"> <p><?php echo JText::_('COM_COMPETITION_NO_COMPETITIONS'); ?></p> </div> <?php else : ?>
I did it for the main language only.
But before adding a new custom override (code + new message) to the next 16 languages of the website I wanted to ask ...
Creating and maintaining overrides can in specific website be the most challenging part ...
Having to only write the sentence/word without adding code is quicker and prevents error/oversight .
Thanks for your understanding
If you have an example of message that will be suitable for all users of NorrCompetition, please share.
You can get our help: Monday - Friday / 09:00 to 17:00 (GMT+2). but not limited. Our staff will be pleased to provide Premium support to every paid subscriber asap, but sometimes you should be ready to wait for our reply for up to 3 days. In case of free extensions we do the best to develop and maintain them either, but their support is not necessary.