Any "if" structure in Email ?

  • STEPHAN HERBY
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 days 5 hours ago - 3 days 6 hours ago #175413 by STEPHAN HERBY
[SOLVE] Any "if" structure in Email ? was created by STEPHAN HERBY
Hi there,
I did not find any docs about "If" structure in mail notification.
By "if" strucuture" I mean something like :
Code:
if [AMOUNT] = 0 then "Text" else "Otherbtext"
Is there any chance to see that or any advice, turnaround, etc ?
Thanks in advance...

Stephan Herby
Joomla Webmaster
Last edit: 3 days 6 hours ago by STEPHAN HERBY.

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

More
4 days 19 hours ago #175416 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Any "if" structure in Email ?
Hi Stephan

Yes, it's conditional text feature in the extension. See docs.joomdonation.com/eventsbooking/basi...tup/conditional-text for documentation. But it only support if, not if else

Regards,

Tuan

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

  • STEPHAN HERBY
  • Topic Author
  • Offline
  • New Member
  • New Member
More
3 days 7 hours ago #175467 by STEPHAN HERBY
Replied by STEPHAN HERBY on topic Any "if" structure in Email ?
Hi Tuan, thank you so much - Sorry for my bad search in your docs !
However, in the example on this link, We have :

{ebShowText [PUBLISHED]=0}
-> OK for that I understand how it works

{mpShowText [PUBLISHED]=1}
-> Why is there an "mpShowText" as it is never mentionned before in your doc (only "ebShowText") ?

Stephan Herby
Joomla Webmaster

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

More
3 days 7 hours ago #175468 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Any "if" structure in Email ?
Ah, typo. Guess it is copy/paste error. It should be mpShowText

Tuan

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

More
3 days 7 hours ago #175470 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Any "if" structure in Email ?
Typo in the doc updated

Tuan

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

  • STEPHAN HERBY
  • Topic Author
  • Offline
  • New Member
  • New Member
More
3 days 6 hours ago #175473 by STEPHAN HERBY
Replied by STEPHAN HERBY on topic Any "if" structure in Email ?
Great !
Happy to participate to your docs ! Haha
Thanks for your feedback !

Stephan Herby
Joomla Webmaster

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

More
3 days 6 hours ago #175475 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Any "if" structure in Email ?
Hehe, thanks again

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

Moderators: Tuan Pham Ngoc