- Posts: 13
- Thank you received: 0
[Date] field in configuration messages
- curlingkc
- Topic Author
- Offline
- New Member
-
Less
More
13 years 7 months ago #11305
by curlingkc
[Date] field in configuration messages was created by curlingkc
I would be useful to have the Start time/date listed with the event such as [date] tag that would display the starttime within the messages tab of the configuration so when one registered they can see more than the event title but the date in question to.
I have many events with the same title.
I have many events with the same title.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
13 years 7 months ago #11382
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: [Date] field in configuration messages
Will add it very soon into the extension. Please give me few more days !
Tuan
Tuan
Please Log in or Create an account to join the conversation.
- curlingkc
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 13
- Thank you received: 0
13 years 6 months ago #11762
by curlingkc
Replied by curlingkc on topic Re: [Date] field in configuration messages
I added the following in bold to your program in several places where I wanted to use an [event_date]. Seems to work for me.
<?php
}
$msg = $this->config->registration_form_message ;
if (strlen($msg)) {
$msg = str_replace('[EVENT_DATE]', JHTML::_('date', $this->event->event_date, $this->config->event_date_format, null), $msg) ;
$msg = str_replace('[EVENT_TITLE]', $this->event->title, $msg) ;
$msg = str_replace('[AMOUNT]', $this->config->currency_symbol.number_format($this->event->individual_price, 2), $msg) ;
?>
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.