- Posts: 290
- Home
- Forum
- Community Forum
- Feature requests / Suggestions
- Availability visible already on JS Calendar in Module Check Availability
Experience - auto registration
- Thellie
- Topic Author
- Offline
Less
More
6 years 7 months ago #11995
by Thellie
Replied by Thellie on topic Experience - auto registration
Oh hang on, this isn't doing quite what I want it to at the moment...
Please Log in or Create an account to join the conversation.
- Thellie
- Topic Author
- Offline
Less
More
- Posts: 290
6 years 7 months ago #12002
by Thellie
Replied by Thellie on topic Experience - auto registration
I'm stuck on this after all...
I had a look in the com_solidres->controller.php for some clues. There's some redirect code in a switch statement for guests, which I wondered whether could be adapted for what I want to do?
The 'Book Now' button on the experience page - I would like it to redirect to the login popup, if the user isn't logged in. Is this possible?
Book Now button
Redirect to login popup for guests only
I had a look in the com_solidres->controller.php for some clues. There's some redirect code in a switch statement for guests, which I wondered whether could be adapted for what I want to do?
The 'Book Now' button on the experience page - I would like it to redirect to the login popup, if the user isn't logged in. Is this possible?
Book Now button
Redirect to login popup for guests only
Please Log in or Create an account to join the conversation.
- solidres
-
- Offline
Less
More
- Posts: 2952
6 years 7 months ago #12007
by solidres
FAQ: www.solidres.com/support/frequently-asked-questions
Support Policy: www.solidres.com/support-policy
Replied by solidres on topic Experience - auto registration
Hi,
We are sorry but it is not a minor modification therefore you may want to request our Custom Development service.
Regards,
We are sorry but it is not a minor modification therefore you may want to request our Custom Development service.
Regards,
FAQ: www.solidres.com/support/frequently-asked-questions
Support Policy: www.solidres.com/support-policy
The following user(s) said Thank You: Thellie
Please Log in or Create an account to join the conversation.
- Thellie
- Topic Author
- Offline
Less
More
- Posts: 290
6 years 7 months ago #12008
by Thellie
Replied by Thellie on topic Experience - auto registration
Ah okay... I may have to think of another way then...
Please Log in or Create an account to join the conversation.
- Thellie
- Topic Author
- Offline
Less
More
- Posts: 290
6 years 7 months ago #12011
by Thellie
Replied by Thellie on topic Experience - auto registration
FINALLY worked out a way of doing this...
In your plugins/solidres/experience/components/com_solidres/views/experience/tmpl/default_form.php
I added some code to check whether the user is logged in or not. If logged in, the 'Book Now' button shows, but if not, a message shows instead, and links to the login page:
LOGGED IN USER
GUEST USER
In your plugins/solidres/experience/components/com_solidres/views/experience/tmpl/default_form.php
I added some code to check whether the user is logged in or not. If logged in, the 'Book Now' button shows, but if not, a message shows instead, and links to the login page:
LOGGED IN USER
GUEST USER
Please Log in or Create an account to join the conversation.
- solidres
-
- Offline
Less
More
- Posts: 2952
6 years 7 months ago #12014
by solidres
FAQ: www.solidres.com/support/frequently-asked-questions
Support Policy: www.solidres.com/support-policy
Replied by solidres on topic Experience - auto registration
Hi,
Thank you for your update, it seems to be a very nice way to solve this issue without changing a lot of code.
You should also make it as a template override to avoid being overwritten in future update.
Regards,
Thank you for your update, it seems to be a very nice way to solve this issue without changing a lot of code.
You should also make it as a template override to avoid being overwritten in future update.
Regards,
FAQ: www.solidres.com/support/frequently-asked-questions
Support Policy: www.solidres.com/support-policy
Please Log in or Create an account to join the conversation.
Moderators: solidres