Developer
Supported
Messaging
ExpressionEngine 2, ExpressionEngine 3, ExpressionEngine 4, ExpressionEngine 5, ExpressionEngine 6
Back to this add-on's main page
View Other Add-ons From Yuri Salimovskiy
About success message
Support Request
stefanos
|
Posted: 09 October 2017 03:13 PM |
|
|
|
Hi Yuri,
Messaging is a gread add-on, very flexible ! But I have a problem with the success message.
How to setup the success message , it is not documented in the docs.
{exp:messaging:bulletin_compose return="{site_url}mensagen/view_bulletins"} <p>Recipients: {recipients} <br /><input type="checkbox" name="recipients[]" value="{recipient_id}" /> {recipient_name} {/recipients} </p>
<p>Expire this bulletin on: <br /><input type="text" name="bulletin_expires" value="{current_time format="%Y-%m-%d %H:%i:%s"}" /> </p>h1 <p>Message text: <br /><textarea name="message"></textarea> </p> <p><input type="submit" value="send" /></p> {/exp:messaging:bulletin_compose}
This piece of code doesn’t return to {site_url}mensagen/view_bulletins, the return page is my domain name : mysite.com, and it’s a blank html page. Why it return to a blank page ?
It returns to {site_url}mensagen/view_bulletins, only when the skip_success_message=“yes” parameter is added.
So how to configure the success_message ? In place of a blank page, how to display a success message on a return page, or in a pop-up window ? I didn’t find any parameters, or options, documentation, about success message.
regards,
Stéphane
|
|
|
stefanos
|
Posted: 09 October 2017 03:42 PM |
# 1
|
|
|
Another doubt, in there are three folder in the Messaging package. The main one: messaging, and the other two : is_message_read, pm_between_members.
Where these two folder must be installed: is_message_read and the pm_between_members? In the user/addons/ path, or user/addons/messaging path ? I’m using EE3.5.11.
If I use {exp:is_message_read:check copy_id=”{message_id}”} {/exp:is_message_read:check}
or {exp:pm_between_members:count sender=”{segment_3}” recipient=”{segment_4}”}, it display a blank page.
|
|
|
Yuri Salimovskiy
|
Posted: 10 October 2017 05:40 AM |
# 2
|
|
Developer
|
Hi Stéphane,
by default, send_bulletin form would display success message based on ExpressionEngine built-in text. If you want to directly go to custom page showing custom success message, apply skip_success_message=“y” parameter. The return parameter does not need to have {site_url}, it would be just return=“mensagen/view_bulletins”
is_message_read and pm_between_members are complimentary plugins. They have not been converted to EE3 yet.
|
|
|
stefanos
|
Posted: 10 October 2017 10:05 AM |
# 3
|
|
|
Hi Yuri,
Thanks for your fast reply!
I have a doubt about “send_bulletin form would display success message based on ExpressionEngine built-in text”, how to use it ??
Because if I don’t apply skip_success_message=“y”, a blank page appears after the message has been sent (it is redirected to the url base of the site).
So how to setup, the default send_bulletin success message display, based on ExpressionEngine built-in text ?
|
|
|
Yuri Salimovskiy
|
Posted: 10 October 2017 10:14 AM |
# 4
|
|
Developer
|
Do you get to see “Bulletin Successfully Posted” message before the redirect happens? That’s the built-in text I’m referring to. It shows for 3 seconds.
Did you try removing {site_url} from ‘return’ parameter?
|
|
|
stefanos
|
Posted: 10 October 2017 10:36 AM |
# 5
|
|
|
No “Bulletin Successfully Posted” message appears before the redirect happens. Yes, {site_url} has been removed, using {exp:messaging:bulletin_compose return=“mensagen/view_bulletins”}, once the bulletin sent, no “Bulletin Successfully Posted” appears, it’s redirected to mysite.com, a totally html blank page. It’s under development, so i’m using Wamp, I will try now on the physical server to see if this problem appears too.
|
|
|
stefanos
|
Posted: 10 October 2017 11:03 AM |
# 6
|
|
|
Using the physical server the “Bulletin Successfully Posted” message before the redirect happens.
It works, the Custom System Message is not installed on the server…..... I totally forgot about Custom System Message, installed on the development server.
Thans a lot for your help and for your great addons !!
|
|
|
|