{loadposition xxx} module not rendering

  • ozwest
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
7 years 2 weeks ago #114922 by ozwest
I am referencing a module using {loadposition xxx} when the user registers for the event and uses the OFFLINE payment.

So I added a module into the output that is shown after the click the REGISTER button.

The module does not show I still see the code {loadposition ...} there.

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

More
7 years 2 weeks ago #114925 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic {loadposition xxx} module not rendering
The question is where you add this code?

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

  • ozwest
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
7 years 2 weeks ago #114926 by ozwest
Replied by ozwest on topic {loadposition xxx} module not rendering
In the EMAILS & MESSAGING section

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

More
7 years 2 weeks ago #114927 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic {loadposition xxx} module not rendering
We don't support content plugin in the message, so if you want to have it works, you will need to modify code

Look at the file components/com_eventbooking/view/complete/tmpl/default.php , find this line of code
Code:
<div id="eb-message" class="eb-message"><?php echo $this->message; ?></div>

Change it to:
Code:
<div id="eb-message" class="eb-message"><?php echo JHtml::_('content.prepare', $this->message); ?></div>

After that, it should work

Tuan

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

  • ozwest
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
7 years 2 weeks ago #114944 by ozwest
Replied by ozwest on topic {loadposition xxx} module not rendering
And indeed it does!!! Beautiful, thank you.

Are you intending to put this into the next update of the component or would I need to redo it again after an update, I guess?

Petra

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

More
7 years 2 weeks ago #114945 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic {loadposition xxx} module not rendering
Hi Petra

No hurt for adding support for it. So I will include it into next release of the extension

Regards,

Tuan

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

  • ozwest
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
7 years 2 weeks ago #114946 by ozwest
Replied by ozwest on topic {loadposition xxx} module not rendering
AWESOME, thank you Tuan!

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

More
7 years 2 weeks ago #114954 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic {loadposition xxx} module not rendering
You're welcome

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

Moderators: Tuan Pham Ngoc