Topic-icon SCOpenGraph tags disapears in frontend editor

Active Subscriptions:

None
11 years 1 week ago - 11 years 1 week ago #53429 by mseelig
I have added Opengrash tags to my article and saved the article:
{SCOpenGraph title=title text}
{SCOpenGraph description=blablba}
{SCOpenGraph image=http://mypage.com/mages/fb/test.jpg}

If I open and edit the article in the back end, the tags are still in the article, but if I choose to edit the article from the front end while logged in as user, the editor does not show the tags anymore (even other tags from other plugins are still visible). After saving the tags are not in the article anymore (also in the backend editor).

I changed user settings to use "No editor"m just raw html code, to ensure its not an editor problem, but it does not make any difference.

So is this something about joomla (I use Version 3.4.1) or could this be a template problem?

Regards,
Michael
Last edit: 11 years 1 week ago by mseelig.
The topic has been locked.
Support Specialist
11 years 1 week ago #53435 by alzander
Michael,
We'll have to look into what's happening there. My guess is that our tag replacement process isn't properly recognizing the tags within the textbox area on the front end and just replacing them like normal. We'll look into the problem and try to come up with a good solution, but it may take a little bit to figure out something that doesn't cause any other issues.

Thanks for reporting this,
Alex
The topic has been locked.
Active Subscriptions:

None
11 years 1 week ago #53444 by mseelig
Thanks for the reply Alex!

Just want to confirm, I also switched to the protostar joomla default template, but the same error happen. So I think its really something that you have to look into.

Regards,
Michael
The topic has been locked.
Support Specialist
11 years 1 week ago #53448 by alzander
I never thought it was a template issue. I understand the problem and it will take some work for us to improve our logic in one of a few possible ways to either detect that you're on the edit page or detect if the tag is in a textbox area. Either way will take some work on our end, and it won't be something we'll have a solution for tomorrow.

Ultimately, we've supported Easy-Tags for more than 4 years, and this is the first time we've heard of the issue. The overwhelming majority of Joomla users edit articles from the backend, which is what we cater too. We will look into this, but until then, we'd recommend using the back-end editor or use alternative ways to add the {SCOpenGraph ... } tags to the page, like a custom HTML module on those pages.

I hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
11 years 1 week ago #53454 by mseelig
Thanks for the explanation, I really hope you get a solution soon, as limiting editing via back-end is not a real solution for us. Difficult to prevent en editor opening an article in front-end and if it happend you do not realize that.

Thanks,
Michael
The topic has been locked.
Support Specialist
11 years 1 week ago #53498 by mel
Sorry for the delay. Could you try making the following code change on your site?

In /plugins/system/jfbcsystem/jfbcsystem.php, around line 266, you will have the doTagReplacements method. Can you add the following lines of code at the beginning of the function, right after the opening brace { right before the comment "Code to strip any {JFBCxyz} tags from head."
$view = JRequest::getCmd('view');
$layout = JRequest::getCmd('layout');

if($view == 'form' && $layout == 'edit')
   return;
The topic has been locked.