Raw files

Search
Other Bug Reports questions
Forum

Raw files

Fabrice's Avatar Fabrice
Hi,

I'm the developper of GMapFP extension, and for past datas to my extension, I'm use raw file.
Your extesnion add information in this type of file.
Can you update your extension for add your content only on html files or not add CR LF in your code, because that break my json data ?

Best regard,
Fabrice

PS : You can see the problem in :
www.cantalpassion.com/0nouveau/index.php...387&map=1&catid=1141
Peter van Westen's Avatar Peter van Westen ADMIN
What extension of mine are you referring to?
Please post a rating at the Joomla! Extensions Directory
Fabrice's Avatar Fabrice
I'm talking about Modules Anywhere.
Peter van Westen's Avatar Peter van Westen ADMIN
There is a "Disable on Components" option in the Modules Anywhere settings.
So you (or your users) could switch that on for com_gmapfp
Please post a rating at the Joomla! Extensions Directory
Fabrice's Avatar Fabrice
Yes, but I don't want disable it in the html views of GMapFP component.
Only in the files with "raw" extension.
And the best, would be that it does not generate CR LF in this code
Peter van Westen's Avatar Peter van Westen ADMIN
The output of that com_gmapfp url contains {module} tags.
What do you expect to happen with those tags?

Leaving them as they are is probably not what you want, as that would output the raw {module} tags into the map.

So the question begs, should those {module} tags be used in the content used by com_gmapfp in the first place.
If not, tell the user that you can't use Modules Anywhere inside content used by com_gmapfp.
And/or strip the content from any plugin tags on your end of the code.
Please post a rating at the Joomla! Extensions Directory
Peter van Westen's Avatar Peter van Westen ADMIN
Or: parse the content through the system plugins before converting it to the syntax and final output you want.
Please post a rating at the Joomla! Extensions Directory
Fabrice's Avatar Fabrice
If your code will not generate CF LF characters, there will be no problems.
If is not possible, the user will use the Joomla "Content - Load Modules" plugin.
Peter van Westen's Avatar Peter van Westen ADMIN
Try disabling the "Fix HTML" option in the Modules Anywhere system plugin settings.
Please post a rating at the Joomla! Extensions Directory
Fabrice's Avatar Fabrice
It's good.
Thanks for the support
jean-pierre pedregosa's Avatar jean-pierre pedregosa
Hello,

sorry for my pooor english


i'm the gmapfp and module anywhere user in www.cantalpassion.com/0nouveau/territoir...l/communes-du-cantal


after Fabrice after asked you, all was ok, with just disabling the "Fix HTML"

But, since the last Module Anywhere update, Gmapfp is, another time, broken


I use your plugin in Gmapfp locations... because your extension is effective et easy to use.... and i'm going to use it a lot (several hundred times....)


Have you, please, an idea off the problem ?

Thank's
Peter van Westen's Avatar Peter van Westen ADMIN
It is probably due to the system plugin ordering. Try changing the ordering of the plugins in question.
See: regularlabs.com/blog/242-plugin-order-is-important
Please post a rating at the Joomla! Extensions Directory
jean-pierre pedregosa's Avatar jean-pierre pedregosa
I've changed order (see capture), but nothing better
Peter van Westen's Avatar Peter van Westen ADMIN
Try disabling the 'Place Comment Tags' option in the Modules Anywhere system plugin settings.
Please post a rating at the Joomla! Extensions Directory
Fabrice's Avatar Fabrice
Hi,

The problem is the same of the first time : there are CR LF in the code =>
<!--  Modules Anywhere Message: Le module ne peut être placé car il n'est pas publié ou assigné à cette page. --></p>
<\/p>\r\n<p>&nbsp;<\/p>\r\n<p>&nbsp;<\/p>\r\n<p>&nbsp;<!--  Modules Anywhere Message: Le module ne peut être placé car il n'est pas publié ou assigné à cette page. --></p>
Peter van Westen's Avatar Peter van Westen ADMIN
It looks like the 'Place comment tags' option is not switched off yet. Or you should clear your cache.

All Modules Anywhere does is output the module content. If that generates newlines, then Gmapfp should handle those in its output.
I recommend you ask them to fix it on their side.
This is not a Modules Anywhere issue.
Please post a rating at the Joomla! Extensions Directory
Fabrice's Avatar Fabrice
If I could have done it, I fixed it.
GMapFP doesn't use plugin to generate this ".raw" file. This file is buid by the component.
You used a system plugin and not a content plugin and your plugin change the code of files with extension .raw and break the content of json strings.
Peter van Westen's Avatar Peter van Westen ADMIN
Try the new version.
Please post a rating at the Joomla! Extensions Directory
Fabrice's Avatar Fabrice
Hi Peter,

It works fine with the new version.
Fabrice's Avatar Fabrice
Hi Peter,

we put the latest version of module anywhere on the site, and now it doesn't work again!
Can you help me ?
You can only post on this forum if you log in