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

TOPIC: My Cart - how to add text?

My Cart - how to add text? 8 years 11 months ago #25327

  • annsiegle
  • annsiegle's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 50
  • Thank you received: 0
Hi,

A client uses dtregister however, they use two events, one for members, and one for guests. They do two separate events for reporting so name columns line up on export for all the names.

So I was thinking of hiding "Register for another event button" using CSS, but I want to add a link that says "Add a guest", and link to the guest event.

Any assistance would be greatly appreciated! :)

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

My Cart - how to add text? 8 years 11 months ago #25332

  • nathan.dth
  • nathan.dth's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1857
  • Karma: 19
  • Thank you received: 218
Can you not just change the text "Register for another event" in the language file to say "Add a guest"? The language file is at:

/language/en-GB/en-GB.com_dtregister.ini

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

Nathan is no longer affiliated with DTH since the recent acquisition. You can connect with him and get any type of Joomla website help at www.JoomlaEmployee.com .

My Cart - how to add text? 8 years 11 months ago #25333

  • annsiegle
  • annsiegle's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 50
  • Thank you received: 0
I saw that post, and thought maybe, but the button still goes to the wrong event since Guest is a whole new event.

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

My Cart - how to add text? 8 years 11 months ago #25345

  • annsiegle
  • annsiegle's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 50
  • Thank you received: 0
Just adding more details.

The Add another event redirects back to the same event. So it doesn't let you really register another event, but the same one again.

I need to have them add a completely new event.

Also, question about changing the ini file... will updates override this?

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

My Cart - how to add text? 8 years 11 months ago #25347

  • nathan.dth
  • nathan.dth's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1857
  • Karma: 19
  • Thank you received: 218
That button returns to the list of events and lists any event that is set to use the same Pay Option as the event already in the cart. Yes, that can be the same event also, on purpose.

Sounds like you'll need to hardcode a different URL for your needs. Go to this file:

/components/com_dtregister/views/event/tmpl/viewcart.php

Towards the bottom of the file is the URL you'd need to edit.

Changes to this file or the language file WOULD be overwritten when updating DT Register in the future. You can use template overrides though to keep your changes. Just Google Joomla template overrides to find help with that if you are unfamiliar with how to do that.
The following user(s) said Thank You: annsiegle

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

Nathan is no longer affiliated with DTH since the recent acquisition. You can connect with him and get any type of Joomla website help at www.JoomlaEmployee.com .
  • Page:
  • 1
Time to create page: 0.300 seconds