Dominik L
1 year ago
When you open a chat on mobile devices for example, you have no possibility to go back to your messages overview
With this component, you get a "back" button beside the username inside the chat.
This button takes you directly back to your messages overview, so you can easily see your other (maybe unread) chats.
Version 1.0: inital release
Version 1.1: calling ossn_print directly in JS, thanks to @Michael for this info

Helen Trott
Replied 1 year ago
The marketplace component needs this. It's very hard to go back to the Marketplace to view original start page. I have to put a link in the comments to take me back there...
Aleksandar Novakovic added the product in marketplace. <<- I wish this was a link back to the marketplace. Always have to use back button in browser or on phone. Just a thought.
Dominik L
Replied 1 year ago
Ahhh, that's what you meant.
Thanks for the hint, I'll change.
Michael Zülsdorff
Replied 1 year ago
i was addressing the hard-coded link associated with your button, not the button.
Proceed through the following workflow...
Step 1 starting at the newsfeed page:

Step 2 being forwarded to the message box of Botox:

That is, your "Back" button won't take you back where you've been before in this case, but to a different page. Thus 'Back' is irritating here and 'Close' a better label to my opinion,
Dominik L
Replied 1 year ago
What do you mean?
The name is not hard-coded, it's translatable?
I'm confused what do you mean?
Michael Zülsdorff
Replied 1 year ago
No doubt, this feature makes sense. I'm just a little unhappy with naming the button 'Back' and hard-coding it to messages/all. Because that's not necessarily the location where you've been before. That why my idea would be to use a 'Close' icon instead next to the trash can.
Dominik L
Replied 1 year ago
I mean, when you get a message and you click on it then you get directly to the chat, but if you want to go back to your message overview (where you can see all your chats) then you have to click on the message icon and then on "see all"
With this component you can go directly to the overview without a second more click
Michael Zülsdorff
Replied 1 year ago
You wrote 'there's no way back', thus you must have been there before, so how did you get there?
Dominik L
Replied 1 year ago
What do you mean with ?
Just wondering which way you were able to initially enter Test123?
And thanks
Michael Zülsdorff
Replied 1 year ago
Ah yes. ;)
Just wondering which way you were able to initially enter Test123?
And: Inside of javascripts you may simply use
Ossn.Print('some:key:to:translate', [arg1, arg2, argn]);
no need to call PHP
see system/plugins/default/javascripts/libraries/ossn.lib.languages.php