By Anibal Sanchez on Tuesday, 26 September 2017
Posted in General
Replies 7
Likes 0
Views 505
Votes 0
Hi, Mark

Following the previous topic, I've implemented the suggested modification in Joocial. https://stackideas.com/forums/self-explanatory-question-is-why

In the process, I'm finding that the TinyMCE buttons (any of them that open a modal) break the session variable easyblog.callback. So, when you click on the back button, the composer returns to the modal window.

I've just reproduced it in a clean J38 with EasyBlog 5.1.12.

Best Regards,
Hey Anibal,

Hm, we actually have a system plugin that determines the origin of the page when the user accesses the composer. Does the modal window renders an iframe? Does it have tmpl=component in the URL?
·
Tuesday, 26 September 2017 01:28
·
0 Likes
·
0 Votes
·
0 Comments
·
For example, these are the steps to reproduce the issue in TinyMCE:

1. Click on Articles

2. ... $session->set('easyblog.callback', $data, EBLOG_SESSION_NAMESPACE);

3. Now $data is "s168:"http://.../j38/administrator/index.php?option=com_content&view=articles&layout=modal&tmpl=component&f30d577be9e2d0778bac72a6dd917414=1&editor=content";"

4. Publish

5. Back

6. Browser returns to the index.php?option=com_content&view=articles&layout=modal&tmpl=component...
·
Tuesday, 26 September 2017 01:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

Can you try download my temporary fix then replace into this following file location and see how it goes?

JoomlaFolder/plugins/system/easyblogcomposer/easyblogcomposer.php
·
Tuesday, 26 September 2017 18:37
·
0 Likes
·
0 Votes
·
0 Comments
·
It works OK.

Thank you!
·
Tuesday, 26 September 2017 21:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for updating Anibal, this is just a temporary patch. We'll find a better solution for this
·
Tuesday, 26 September 2017 23:10
·
0 Likes
·
0 Votes
·
0 Comments
·
Been living with this for quite a while now but didn't report as having a bit of bug reporting fatigue. What I was doing to get around this was using the browser back button to try to select where I wanted to go to.

Putting this change in makes the editor's back button work properly.
·
Saturday, 30 September 2017 23:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for getting back to us that worked

By the way, this fix will included in next release version as well.
·
Sunday, 01 October 2017 12:05
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post