Editing Review Page

  • gsadeghi67
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 1 month ago #14451 by gsadeghi67
Editing Review Page was created by gsadeghi67
hey guys,

I need to find out which file do i need to modify in order to make changes to the review information page. The page which user check all the data entered and click for confirmation and registration on the event.

I need to change the part that says "press the process registration button"

Thanks,

SH

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

More
12 years 1 month ago #14452 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Editing Review Page
Hi

If you just need to change the message, just go to Event Booking -> Configuration, looks at Messages tab, find and change the messages .

If you want to change the code, the files are located under components/com_eventbooking/views/confirmation/tmpl folder .

Regards,

Tuan

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

More
12 years 3 days ago #15353 by lukashajek
Replied by lukashajek on topic Re: Editing Review Page
Dear Tuan,

I want in my confirmation event date and event end date included. I added into view/confimation/tmpl/default.php these lines (copied from table view), but it doesnt show the date of event, but todays date. Can you help me with this please.

Thank you, Lukas.
Code:
<tr> <td class="title_cell"> <?php echo JText::_('EB_EVENT_DATE'); ?> </td> <td> <?php if ($item->event_date == EB_TBC_DATE) { echo JText::_('EB_TBC'); } else { echo JHTML::_('date', $item->event_date, $this->config->event_date_format, $param); } ?> </td></tr><tr> <td class="title_cell"> <?php echo JText::_('EB_EVENT_END_DATE'); ?> </td> <td> <?php if ($item->event_end_date == EB_TBC_DATE) { echo JText::_('EB_TBC'); } else { echo JHTML::_('date', $item->event_end_date, $this->config->event_date_format, $param); } ?> </td> </tr>

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

More
12 years 3 days ago #15362 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Editing Review Page
You need to use $this->event instead of using $item. For example :
Code:
$this->event->event_date ; $this->event->event_end_date ;

Hope this help

Tuan

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

More
12 years 2 days ago #15366 by lukashajek
Replied by lukashajek on topic Re: Editing Review Page
Working! Thank you for great support.

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

Moderators: Tuan Pham Ngoc