Registration Confirmation Button Not working

  • kevind
  • Topic Author
  • Offline
  • New Member
  • New Member
More
14 years 10 months ago #13111 by kevind
Hi there,

I have today upgraded to the latest version of Event Booking (version 1.4.3) For the reason being that I needed the TAX component for event pricing.

However, I have been unable to get the "registration button" for individual or group registrations working. It just appears to be a dead button now where it was working prior to the upgrade.

I have a backup of my old files so all is not lost, but would really like to get this issue fixed as the tax addition to this componenet is invaluable to me.

Here is an example page that demonstrates my problem..


This is a Joomla 1.7 Site and Event Booking 1.4.3

Any help to resolve this would be much appreciated as this is a live site. Thank you.

Please Log in or Create an account to join the conversation.

More
14 years 10 months ago #13112 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Registration Confirmation Button Not working
The title of the field "I agree to the Course Terms " has special character (the html a tag) and It causes javascript error . Unpublish this field and It will work fine !

Tuan

Please Log in or Create an account to join the conversation.

  • kevind
  • Topic Author
  • Offline
  • New Member
  • New Member
More
14 years 10 months ago #13113 by kevind
Hi Tuan,

Thanks for that, it seems to have done the trick.


HOWEVER:
I added in the custom code because I couldn't get the terms and conditions pop up to work, any ideas? It "pops up" thinks for a while and just displays a small empty box.
  • kevind
  • Topic Author
  • Offline
  • New Member
  • New Member
More
14 years 10 months ago #13119 by kevind
Hi there Tuan, Have you had an opportunity to look into this?

Please Log in or Create an account to join the conversation.

More
14 years 9 months ago #13137 by ruud68
Hi,

I have exact the same issue. the pop-up stays empty just like your screen shot.
have tried different articles, even removed all formatting but to no avail.

Now I have on my site disabled the terms, but this is not acceptable. but an empty popup is also not acceptable.

If any help is needed in testing or testsite, please say so, I am glad to be of any assistance.

regards,
Ruud.

Please Log in or Create an account to join the conversation.

More
Registration Confirmation Button Not working - Joom Donation - Joomla Extensions by Joomdonation
Need help with Joomla? We are available for hire to help with Joomla customization, upgrades, maintenance, and custom development.
Explore our services
14 years 9 months ago - 14 years 9 months ago #13144 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Registration Confirmation Button Not working
@All : This issue only happens on some templates. I will include a config option to fix this issue in the next release. For now, if you have this issue, the instruction is at follow :

1. If you have Activate Shopping cart feature config option set to No:

- Open the file components/com_eventbooking/views/confirmation/tmpl/default.php .
- Find the code below :
Code:
if ($this->config->accept_term ==1) { $articleId = $this->event->article_id ? $this->event->article_id : $this->config->article_id ; $db = & JFactory::getDbo() ; $sql = 'SELECT id, catid, sectionid FROM #__content WHERE id='.$articleId ; $db->setQuery($sql) ; $rowArticle = $db->loadObject() ; $catId = $rowArticle->catid ; $sectionId = $rowArticle->sectionid ; require_once JPATH_ROOT.'/components/com_content/helpers/route.php' ; $termLink = ContentHelperRoute::getArticleRoute($articleId, $catId, $sectionId).'&tmpl=component&format=html' ; ?> <tr> <td colspan="2"> <input type="checkbox" name="accept_term" value="1" class="inputbox" /> <?php echo JText::_('EB_ACCEPT'); ?>&nbsp;<a class="modal" title="<?php echo JText::_('EB_TERM_AND_CONDITION'); ?>" href="<?php echo JText::_($termLink); ?>"><strong><?php echo JText::_('EB_TERM_AND_CONDITION'); ?></strong></a> </td> </tr> <?php }

- CHange it to :
Code:
if ($this->config->accept_term ==1) { $articleId = $this->event->article_id ? $this->event->article_id : $this->config->article_id ; $db = & JFactory::getDbo() ; $sql = 'SELECT id, catid, sectionid FROM #__content WHERE id='.$articleId ; $db->setQuery($sql) ; $rowArticle = $db->loadObject() ; $catId = $rowArticle->catid ; $sectionId = $rowArticle->sectionid ; require_once JPATH_ROOT.'/components/com_content/helpers/route.php' ; $termLink = ContentHelperRoute::getArticleRoute($articleId, $catId, $sectionId).'&format=html' ; ?> <tr> <td colspan="2"> <input type="checkbox" name="accept_term" value="1" class="inputbox" /> <?php echo JText::_('EB_ACCEPT'); ?>&nbsp;<a target="_blank" title="<?php echo JText::_('EB_TERM_AND_CONDITION'); ?>" href="<?php echo JText::_($termLink); ?>"><strong><?php echo JText::_('EB_TERM_AND_CONDITION'); ?></strong></a> </td> </tr> <?php }
- Do the same for the file components/com_eventbooking/views/confirmation/tmpl/group.php

- Or you can get the file below (if you are using version 1.4.3), unzip it, get the two files, upload it to components/com_eventbooking/view/confirmation/tmpl folder. After that, the issue should be solved .

Attachment tmpl-20120108.zip not found

More
14 years 9 months ago #13145 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Registration Confirmation Button Not working
If you have Activate Shopping Cart config option set to Yes, please follow the steps below :

1. Open the file components/com_eventbooking/views/confirmation/tmpl/cart.php

2. Find the code below :
Code:
if ($this->config->accept_term ==1) { $articleId = $this->config->article_id ; $db = & JFactory::getDbo() ; $sql = 'SELECT id, catid, sectionid FROM #__content WHERE id='.$articleId ; $db->setQuery($sql) ; $rowArticle = $db->loadObject() ; $catId = $rowArticle->catid ; $sectionId = $rowArticle->sectionid ; require_once JPATH_ROOT.'/components/com_content/helpers/route.php' ; $termLink = ContentHelperRoute::getArticleRoute($articleId, $catId, $sectionId).'&tmpl=component&format=html' ; ?> <tr> <td colspan="2"> <input type="checkbox" name="accept_term" value="1" class="inputbox" /> <?php echo JText::_('EB_ACCEPT'); ?>&nbsp;<a href="<?php echo JRoute::_($termLink); ?>" target="_blank"><strong><?php echo JText::_('EB_TERM_AND_CONDITION'); ?></strong></a> </td> </tr> <?php }

- Change it to :
Code:
if ($this->config->accept_term ==1) { $articleId = $this->config->article_id ; $db = & JFactory::getDbo() ; $sql = 'SELECT id, catid, sectionid FROM #__content WHERE id='.$articleId ; $db->setQuery($sql) ; $rowArticle = $db->loadObject() ; $catId = $rowArticle->catid ; $sectionId = $rowArticle->sectionid ; require_once JPATH_ROOT.'/components/com_content/helpers/route.php' ; $termLink = ContentHelperRoute::getArticleRoute($articleId, $catId, $sectionId).'&format=html' ; ?> <tr> <td colspan="2"> <input type="checkbox" name="accept_term" value="1" class="inputbox" /> <?php echo JText::_('EB_ACCEPT'); ?>&nbsp;<a href="<?php echo JRoute::_($termLink); ?>" target="_blank"><strong><?php echo JText::_('EB_TERM_AND_CONDITION'); ?></strong></a> </td> </tr> <?php }

- After that, the issue will be fixed.

- The other way is that you get the file below, unzip it, get the file cart.php , , upload it to components/com_eventbooking/view/confirmation/tmpl folder. After that, the issue should be solved .

Attachment cart-20120108-2.zip not found

More
14 years 9 months ago #13146 by ruud68
Hi Tuan,

thanks for the quick fix! just to confirm that it is working.
I have changed the code (added the tmpl=component) a little to avoid the whole template and menu structure also loading in the new window > &tmpl=component&format=html, which for me is a little bit confusing (personal :))

Thanks!
regards,
Ruud.

Please Log in or Create an account to join the conversation.

More
14 years 9 months ago #13156 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Registration Confirmation Button Not working
This issue is fixed in latest version (1.4.3) . If you are having this issue :

- Download latest version (1.4.3) and upgrade to your site .

- Go to Event Booking -> Configuration, find the config option Fix Terms and Conditions popup issue and set it to Yes. After that, the issue will be fixed !

Regards,

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc