Joomla clean curly braces {} from content Topic is solved
Moderators: pe7er, General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
-
- Joomla! Apprentice
- Posts: 25
- Joined: Thu Apr 25, 2013 10:45 pm
Joomla clean curly braces {} from content
Hello everyone.
I am using the "JNofollow by SEO NW" plugin to add the rel=nofollow tag to all external links. But in some articles I don't want the rel=nofollow to appear in the links. For this, the plugin has an option that is to add {mnf=off} in the text so that the above occurs.
This has worked fine forever, but since a few days it doesn't work. There have been several updates lately that might be breaking the plugin, but I can't figure out what they might be. I use JCE Editor, JCH Optimize and the template uses "Jollyany" as framework.
Can someone give me a clue where to look to locate the error. Thank you so much.
I am using the "JNofollow by SEO NW" plugin to add the rel=nofollow tag to all external links. But in some articles I don't want the rel=nofollow to appear in the links. For this, the plugin has an option that is to add {mnf=off} in the text so that the above occurs.
This has worked fine forever, but since a few days it doesn't work. There have been several updates lately that might be breaking the plugin, but I can't figure out what they might be. I use JCE Editor, JCH Optimize and the template uses "Jollyany" as framework.
Can someone give me a clue where to look to locate the error. Thank you so much.
- xfsgpr
- Joomla! Ace
- Posts: 1099
- Joined: Mon Feb 14, 2011 4:02 am
- Location: London
Re: Joomla clean curly braces {} from content
The only clue I can give you is to ask this question on their support forum. They are the best people to deal with their products.Can someone give me a clue where to look to locate the error. Thank you so much.
https://jnofollow.com/support
joomla gets updates regularly (todat there is version 4.3.2) so some plugins might not work as advertised and this includes some templates might work as advertised. Only the makers of those products can help you quickly as they must be prepared for such eventualities.
- toivo
- Joomla! Master
- Posts: 16525
- Joined: Thu Feb 15, 2007 5:48 am
- Location: Sydney, Australia
Re: Joomla clean curly braces {} from content
Unable to reproduce the error in Joomla 4.3.2 and PHP 8.0.13, using JCE 2.9.36 and JNofollow 4.0.4. Are you using these versions?
The plugin option 'How should the Plugin work?' is set to 'Relaxed', as recommended, and the option 'What should the Plugin do with external Links?' set to 'Everytime Nofollow on external Links if no Taget is set'.
This plugin was last updated in November 16, 2021, before PHP 8.0.0 was released a week later. If the website is run using PHP 8.1.16, the plugin reports a Deprecated error, but it still works:
In PHP 8.2.3 a new Deprecated message is displayed at the back end but the plugin keeps working as documented:
The plugin option 'How should the Plugin work?' is set to 'Relaxed', as recommended, and the option 'What should the Plugin do with external Links?' set to 'Everytime Nofollow on external Links if no Taget is set'.
This plugin was last updated in November 16, 2021, before PHP 8.0.0 was released a week later. If the website is run using PHP 8.1.16, the plugin reports a Deprecated error, but it still works:
Code: Select all
Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in C:\www\joomla4test\plugins\content\nofollow\nofollow.php on line 72
Code: Select all
Deprecated: Use of "self" in callables is deprecated in C:\www\joomla4test\plugins\content\nofollow\nofollow.php on line 75
Toivo Talikka, Global Moderator
-
- Joomla! Apprentice
- Posts: 25
- Joined: Thu Apr 25, 2013 10:45 pm
Re: Joomla clean curly braces {} from content
Thank you toivo for your answer.
I am using PHP 8.0.28, plg_nofollow_j4x_v404.zip and JCE version 2.9.37, today with the latest version of Joomla 4.3.2
I have contacted the developer and am waiting for his response.
If I follow your advice the plugin removes the nofollow from all links, whether they have the {mnf=off} tag or not, then it is not a valid solution.
Before I had the options in "Stric" and "Everytime Nofollow on all external Links" and it worked perfectly until a few days ago.
I'm going to wait for the developer's response and I'll tell you how the issue has gone. Thank you very much again
I am using PHP 8.0.28, plg_nofollow_j4x_v404.zip and JCE version 2.9.37, today with the latest version of Joomla 4.3.2
I have contacted the developer and am waiting for his response.
If I follow your advice the plugin removes the nofollow from all links, whether they have the {mnf=off} tag or not, then it is not a valid solution.
Before I had the options in "Stric" and "Everytime Nofollow on all external Links" and it worked perfectly until a few days ago.
I'm going to wait for the developer's response and I'll tell you how the issue has gone. Thank you very much again
-
- Joomla! Apprentice
- Posts: 25
- Joined: Thu Apr 25, 2013 10:45 pm
Re: Joomla clean curly braces {} from content
Hello again,
I am writing to inform you that the culprit behind the malfunction of the Nofollow by SEO NW plugin is another plugin that interferes with its work. It is this: https://extensions.joomla.org/extension/inner-content/
I am writing to its developer to try to correct this inconvenience. Thanks for your help
I am writing to inform you that the culprit behind the malfunction of the Nofollow by SEO NW plugin is another plugin that interferes with its work. It is this: https://extensions.joomla.org/extension/inner-content/
I am writing to its developer to try to correct this inconvenience. Thanks for your help
-
- Joomla! Champion
- Posts: 5445
- Joined: Tue Aug 23, 2005 1:56 pm
- Location: South coast, UK
- Contact:
Re: Joomla clean curly braces {} from content
I cant see any advantage to that plugin over joomla core.
http://www.gadsolutions.biz Electrical services
http://www.electrical-testing-safety.co.uk Testing services
http://www.electrical-testing-safety.co.uk Testing services
-
- Joomla! Apprentice
- Posts: 25
- Joined: Thu Apr 25, 2013 10:45 pm
Re: Joomla clean curly braces {} from content
gws, I don't understand what you mean, which of the two plugins?
-
- Joomla! Champion
- Posts: 5445
- Joined: Tue Aug 23, 2005 1:56 pm
- Location: South coast, UK
- Contact:
Re: Joomla clean curly braces {} from content
Inner content.
http://www.gadsolutions.biz Electrical services
http://www.electrical-testing-safety.co.uk Testing services
http://www.electrical-testing-safety.co.uk Testing services
-
- Joomla! Apprentice
- Posts: 25
- Joined: Thu Apr 25, 2013 10:45 pm
Re: Joomla clean curly braces {} from content
Well, I used Inner content to insert blocks HTML code (for example Google Adsense) between article paragraphs. I think this cannot be done by the Joomla core. Or can it?
-
- Joomla! Champion
- Posts: 5445
- Joined: Tue Aug 23, 2005 1:56 pm
- Location: South coast, UK
- Contact:
Re: Joomla clean curly braces {} from content
Yes it can. You can insert nearly anything in an article,modules,scripts,images from within tinymce and perhaps sorcerer a plugin that lets you insert code wherever you want. Sorcerer is not core but it is free. If your skilled you can manage without sorcerer.
http://www.gadsolutions.biz Electrical services
http://www.electrical-testing-safety.co.uk Testing services
http://www.electrical-testing-safety.co.uk Testing services
-
- Joomla! Apprentice
- Posts: 25
- Joined: Thu Apr 25, 2013 10:45 pm
Re: Joomla clean curly braces {} from content
I think we are not talking about the same thing. I know you can insert HTML, PHP, CSS and JavaScript code into the content of an article, but what the Inner content plugin does is insert the same code between article paragraphs, in all articles!
With Sourcerer you have to manually insert into each article a tag wrapped in {} that has the predefined code. It doesn't insert that tag in each and every article which is what I want and is what Inner content does but, as I said, it has the flaw of interfering with other plugins. I do not know why. I will write to the developer to see if he can give me a solution.
Anyway thanks for your interest gws.
With Sourcerer you have to manually insert into each article a tag wrapped in {} that has the predefined code. It doesn't insert that tag in each and every article which is what I want and is what Inner content does but, as I said, it has the flaw of interfering with other plugins. I do not know why. I will write to the developer to see if he can give me a solution.
Anyway thanks for your interest gws.