Back to competitions
Is it possible to insert a link to return to the competitions page? I have 10 competitions and after voting in one of them, I would like a link / button to return to the main competitions screen. I am using the module to view the competitions. Thanks!
Sure, it is possible. Please go to NorrCompetition options > Participant tab and enable Back to List param.
Also, you can enable Navigation param to display previous/next participant.
Well, we have designed a button that returns a user back to the list of participants.
As concerning the button which can return the user to the list of competitions:
I think the easiest way is to add a custom HTML module with a return button that uses BS2 class. You use any available template position and assign the module to specified pages.
Just my 2c The code that will generate URL to the list of competition is:
<a href="<?php echo JRoute::_(CompetitionHelperRoute::getCompetitionsRoute()); ?>">Back to competitions</a>
Please note, the link will lead to the list of competitions inside component. Not to the page where competitions module is displayed.
It depends where do you want to see it?
Adriano Smoke wrote: Thanks!
Where do I put this code?
I'll try to explain through a video. See, after voting for a competition, I have to go to the main menu to get back to the main screen where the other competitions are. What I want is not to need to click on the main menu and so I would like to have a button / link to return to the main screen of the competitions whenever necessary.
See Video (youtube):
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.
Product Latest Update
- 30.03.2018 - NorrCompetition