- Posts: 2
- Thank you received: 0
Registration button behavior
- maxwellscott
- Topic Author
- Offline
- New Member
-
Less
More
13 years 7 months ago #11538
by maxwellscott
Registration button behavior was created by maxwellscott
I have some content that I want to have displayed only when the default menu item ("Home") is active. I put the follow code in the template's index file to accomplish this:
This works on every page that isn't associated with the "Home" menu item, and my problem is that the submit buttons on the individual and group registration pages DO link to this default menu item, thus showing the content I need hidden at this point. The HTML that these buttons have in common are:
Can someone tell me how to customize the URL linkage for these buttons so as avoid being redirected to index.php or to anything beginning with "?" (e.g. "baseURL/?view=complete&id=23"). Neither SEF nor URL Rewriting configurations seem to make a difference. Any help greatly appreciated.
Code:
<?php $menu = &JSite::getMenu(); ?>
<?php if (($menu->getActive() == $menu->getDefault()) || (JRequest::getVar('view') == 'frontpage')) { ?>
This works on every page that isn't associated with the "Home" menu item, and my problem is that the submit buttons on the individual and group registration pages DO link to this default menu item, thus showing the content I need hidden at this point. The HTML that these buttons have in common are:
Code:
<input type="button" class="button" name="btnSubmit"...onclick="checkData();">
Can someone tell me how to customize the URL linkage for these buttons so as avoid being redirected to index.php or to anything beginning with "?" (e.g. "baseURL/?view=complete&id=23"). Neither SEF nor URL Rewriting configurations seem to make a difference. Any help greatly appreciated.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
13 years 7 months ago #11539
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Registration button behavior
Hi
Could you please go to Event Booking -> Configuration, set Fix Process Button not working config option to Yes to see whether the issue solved ? If it still doesn't work, please submit a support ticket giving me administrator and FTP account of your site so that I can check it for you !
Tuan
Could you please go to Event Booking -> Configuration, set Fix Process Button not working config option to Yes to see whether the issue solved ? If it still doesn't work, please submit a support ticket giving me administrator and FTP account of your site so that I can check it for you !
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.