Back to competitions

10 months 1 week ago #1276
Topic Author
Adriano Smoke's Avatar
Posts: 33
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!

The topic has been locked.
10 months 1 week ago #1277
Eugene's Avatar
Posts: 505
Back to competitions

Hello Adriano!

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.



]


Like our extensions and support?
Add your voice to the JED listing with a 100 score review:: bit.ly/2ciJBqC
Thanks!
Attachments:
Last edit: 10 months 1 week ago by Eugene. Reason: Screenshots
The topic has been locked.
10 months 1 week ago #1278
Topic Author
Adriano Smoke's Avatar
Posts: 33
Back to competitions

Hi!

But this way it displays the option for the list of participants and not the list of competitions. Or am I mistaken? because it did not work for me here.

The topic has been locked.
10 months 1 week ago #1281
Eugene's Avatar
Posts: 505
Back to competitions

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.


Like our extensions and support?
Add your voice to the JED listing with a 100 score review:: bit.ly/2ciJBqC
Thanks!
The topic has been locked.
10 months 1 week ago #1282
Dmitry's Avatar
Posts: 660
Back to competitions

Hello Adriano.

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.

Best regards,
Dmitry


Like our extensions and support?
Add your voice to the JED listing with a 100-score review: bit.ly/2ciJBqC
Thanks!
Last edit: 10 months 1 week ago by Dmitry.
The topic has been locked.
10 months 1 week ago #1284
Topic Author
Adriano Smoke's Avatar
Posts: 33
Back to competitions

Thanks!
Where do I put this code?

The topic has been locked.
10 months 1 week ago #1285
Dmitry's Avatar
Posts: 660
Back to competitions

Adriano Smoke wrote: Thanks!
Where do I put this code?

It depends where do you want to see it?


Like our extensions and support?
Add your voice to the JED listing with a 100-score review: bit.ly/2ciJBqC
Thanks!
The topic has been locked.
10 months 1 week ago #1286
Topic Author
Adriano Smoke's Avatar
Posts: 33
Back to competitions

I have 10 competitions and I would like to leave the option to return to facilitate access to the other competitions, because all are part of the same award

The topic has been locked.
10 months 1 week ago #1287
Dmitry's Avatar
Posts: 660
Back to competitions

But where exactly? When you are on the full page of participant?


Like our extensions and support?
Add your voice to the JED listing with a 100-score review: bit.ly/2ciJBqC
Thanks!
The topic has been locked.
10 months 1 week ago #1289
Topic Author
Adriano Smoke's Avatar
Posts: 33
Back to competitions

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):

The topic has been locked.

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