$item->can_register stopping buttons showing
- Dan Atrill
-
Topic Author
- Offline
- Junior Member
-
Less
More
1 year 2 months ago #163987
by Dan Atrill
Web developer in London, England
$item->can_register stopping buttons showing was created by Dan Atrill
Hi,
I was trying to change the wording on the button in button_register.php when I found that buttons weren't showing. This seems to be because $item->can_register isn't set for some events. My problem is I can't see where this is set.
I tried adding a Registration start date for the event but it didn't make any difference. What am I doing wrong?!!!
I was trying to change the wording on the button in button_register.php when I found that buttons weren't showing. This seems to be because $item->can_register isn't set for some events. My problem is I can't see where this is set.
I tried adding a Registration start date for the event but it didn't make any difference. What am I doing wrong?!!!
Web developer in London, England
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
1 year 2 months ago #163991
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic $item->can_register stopping buttons showing
Hello
That is dynamic calculated. Do you have any override which could cause the issue? Normally, if event is open for registration, $item->can_register should be true
Regards,
Tuan
That is dynamic calculated. Do you have any override which could cause the issue? Normally, if event is open for registration, $item->can_register should be true
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- Dan Atrill
-
Topic Author
- Offline
- Junior Member
-
1 year 2 months ago #163998
by Dan Atrill
Web developer in London, England
Replied by Dan Atrill on topic $item->can_register stopping buttons showing
Thank you. I had to put a SQL query to test for additional categories and one of the variables seemed to have interfered with variables in the file.
All working now
All working now

Web developer in London, England
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
1 year 2 months ago #163999
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic $item->can_register stopping buttons showing
OK Dan. Please continue using the extension. If you have questions or need help, please don't hesitate to ask us
Regards,
Tuan
Regards,
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
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.
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.