• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Multiple Selections Separator not separating :(

Multiple Selections Separator not separating :( 4 years 3 months ago #39746

  • serazoo
  • serazoo's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
Hi :)
I'm desperate :S

I have the "if " statements in the php Admin email.. my results are all in a straight line. I've read "Multiple Selections Separator"
can solve it with a <br /> but not working... please tell me how to insert a line break in this script? or another way...
So much appreciated!


$modAdminEmailText = $form->AdminEmailText;

if($_POST != '')
$modAdminEmailText .= '{your_field_name:caption}: {your_field_name:value}';

if($_POST != '')
$modAdminEmailText .= '{your_field_name2:caption}: {your_field_name2:value}';

$adminEmail = $modAdminEmailText;
$adminEmail = str_replace($placeholders, $values, $adminEmail);
Last Edit: 4 years 3 months ago by serazoo.
The administrator has disabled public write access.

Multiple Selections Separator not separating :( 4 years 3 months ago #39780

  • adrianp
  • adrianp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 631
  • Thank you received: 146
Hello,

"Multiple Selections Separator" applies to the information returned by certain placeholders and not for data generated by a script.

You should simply include the HTML from your script. For example (notice I've added <br> at the end):
$modAdminEmailText .= '{your_field_name:caption}: {your_field_name:value} <br>';
This is not official customer support. To receive your support, submit a support ticket here.
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!