- Posts: 43
- Thank you received: 3
Page Redirection
- hjames
-
Topic Author
- Offline
- Senior Member
-
Part of the solution is to restrict events to certain user groups in Joomla, so to achieve this we are requiring users to register before they can actually join the event. To handle this ACL situation in Joomla we decided to use Membership Pro which handles the ACL needs perfectly. However, the issue comes at the time the user attempts to register for an event.
What happens:
- User is NOT a member of en eligable ACL level - they are taken to an error that looks like the following: screencast.com/t/gzvDMlhHG
What SHOULD happen:
- User is NOT a member of an eligable ACL level - they should be great with a notification of some sort (page redirect, popup, something) that tells them they must be a member of group a, b, c, etc.. whatever it may be to register for that event.
As of now, it simply looks like the website is broken.
Sample where user is not part of the correct ACL: screencast.com/t/tPlKZY15
Need help ASAP!
- James
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
You can get this get this file, unzip it, upload it to components/com_eventbooking/views/register folder. After that, when users try to register, if they have not logged in, they will be asked to login to continue the registration
Tuan
Please Log in or Create an account to join the conversation.
- hjames
-
Topic Author
- Offline
- Senior Member
-
- Posts: 43
- Thank you received: 3
It looks like line 37 of the file above is handling the re-direct currently.
Any help is appreciated.
Thanks,
James
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
Please Log in or Create an account to join the conversation.
- hjames
-
Topic Author
- Offline
- Senior Member
-
- Posts: 43
- Thank you received: 3
Was I correct that line 37 is holding the redirect link and it is the line that should be changed with my custom URL?
Also, is it possible to add this as an option in the Configuration of Event Booking or even to each plan? Rather than hacking things up and hoping they are not overwritten on a future release it would be nice to just have an option.
Last, rather than putting this in the folder mentioned above to prevent it from being over written can I place it in my template html folder? If so, which folder?
Thanks,
James
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
Also, is it possible to add this as an option in the Configuration of Event Booking or even to each plan? Rather than hacking things up and hoping they are not overwritten on a future release it would be nice to just have an option
=> Unfortuantely, I could not add this as a standard feature in Events Booking. Seems not many customers need it
Last, rather than putting this in the folder mentioned above to prevent it from being over written can I place it in my template html folder? If so, which folder?
The view class in Joomla could not be override in template folder, so it is not possible to use template override. Template override only works for layout files (files in tmpl folder of each view)
So you will need to keep this "hack" and redo it yourself when you upgrade to future releases of the extension
Tuan
Please Log in or Create an account to join the conversation.
- hjames
-
Topic Author
- Offline
- Senior Member
-
- Posts: 43
- Thank you received: 3
=> Unfortuantely, I could not add this as a standard feature in Events Booking. Seems not many customers need it
Tuan, I paid you an additional $50.00 to make me a plugin that would handle the redirects. Now your telling me I am going to have to hack the code each time there is a new release? Sorry, but I don't see where the $50.00 was used?
Thanks,
James
Please Log in or Create an account to join the conversation.
- hjames
-
Topic Author
- Offline
- Senior Member
-
- Posts: 43
- Thank you received: 3
James
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
I will get back to that work this afternoon. We will talk on Skype on your morning to finalize the project. (I am busy in the morning with support forum/tickets, and could not talk now)
Tuan
Please Log in or Create an account to join the conversation.
- hjames
-
Topic Author
- Offline
- Senior Member
-
- Posts: 43
- Thank you received: 3
Thanks,
James
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.