Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Problem with 'Next Step' button

Problem with 'Next Step' button 15 years 10 months ago #3491

  • awipoefnka
  • awipoefnka's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
I just set up DTRegister and all of my events. I went to test and noticed after filling in all my info, clicking NEXT STEP did absolutely nothing. (In Firefox, the button doesn\'t even depress letting the user know the button worked)

I noticed I was able to click on the BACK button. When I did that, it took me to the individual/group options page. (the one with the two images, one for individual and one for group) Now, none of my events are allowing a group registration. When I check INDIVIDUAL, and click NEXT STEP, it brings me back to the registration page, but this time, when I click NEXT STEP, it works. (It does work, but when initially clicking on it, it appears that nothing happens, the browser doesn\'t even show anything is loading. 2 maybe 3 seconds later, it proceeds to the next page)

Now, I am not using....

Ok, wait... I just went back and figured something out... I think.

I am not using any of the modules on my site. I am just linking to the registration page manually from my own elements. In my link, I had every address with the http://www.domain.com I went back, and temporarily enabled the DT module and saw the all of those links have an address without the www, just http://domain.com .

I figured out that when I click on the module\'s links (or just manually enter the address without the www, the next step button works.

I guess my first question is, why is this?

I guess my second question might not be relevant here. Why do I have such an inconsistency? Why isn\'t Joomla defaulting to a www.?

As I am typing this, I am wondering if this issue has nothing to do with DTRegister but with my links and url addressing. But, why wouldn\'t it work either way?

If I force Joomla to display the www, will the DT module links not work, or will they then.. as well as the manual links I created?


UPDATE: Ok, yes, it definitely has something to do with the www prefix. I don\'t get it.

I also noticed a difference in the module links sometimes >

....1&task=event_register&type=reg_individual

&

....55&task=event_register&type=reg_individual

What is this \"55\" and how did I find it?

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

Problem with 'Next Step' button 15 years 10 months ago #3492

  • dthadmin
  • dthadmin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 5470
  • Thank you received: 3
You can force Joomla to use the www by putting this in your .htaccess file:

RewriteBase /
# non-www to www
RewriteCond %{HTTP_HOST} !^www\\.yourdomain\\.com$
RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [R=301,L]

Of course, you would change \"yourdomain\" to your actual domain and change the \".com\" if your extension is something else.

Regarding the difference in the numbers in your url, hard to say since you didn\'t actually show the full url. The numbers could have been the EventID or the ItemID. The ItemID is related to menu items. The EventID is unique to each event.

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

Problem with 'Next Step' button 15 years 10 months ago #3502

  • awipoefnka
  • awipoefnka's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Thanks, I appreciate your help. After I have this site totally set up, I am going to have to deal with SEF links and urls, so I am sure this will be included in my htaccess.

One more question though...

I read on here that there\'s no way to remove the BACK button. Upon entering the registration page, it goes straight to the forms to sign up, but the BACK button is there, even though I don\'t have any events that have a group registration available. So when someone enters the form page, it might create confusion, and they might click BACK, only to see the choice between individual and group.

Obviously I want the BACK button on the detail confirmation page, but I don\'t like it on the form page.

Is there something I am missing or doing wrong? Is there a way I can remove.. or at least hide the BACK button?

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

Problem with 'Next Step' button 15 years 9 months ago #3506

  • dthadmin
  • dthadmin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 5470
  • Thank you received: 3
Yes, we will probably remove that one location of the Back button in the next release for this reason. You can easily remove it by commenting out line 4305, which is the line that starts with this:

<input type=\"button\" name=\"billingInfo\" id=\"next\" value=\"<?php echo(DT_BACK); ?>\"

in this file:

/components/com_dtregister/dtregister.php

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

  • Page:
  • 1
Time to create page: 0.372 seconds