No idea. Both environments should behave the same when the cache is cleared. In addition, the dev mode use the unmerged assets (JS and CSS). Prod environment requires to build (merge, minify) them first. Dev environment shows the PHP errors in the browser and prod logs them.
okay bro , thank you
hi escopecz i want to ask you something. i wrote a jquery code it works and all is fine when trying it with mautic it doesnt work untill i remove this part of code $view->extend(‘MauticCoreBundle:Default:content.html.php’); the story that this line is so important for mautic view and cant be eliminated so how can i make it works with jquery ?
How is your jQuery code look like? Is there some error message? Provide please as much information as you can so I can help you fast without asking additional questions.
no errors at all. it works in my local server 100% , even when i place it in mautic xxxx.html.php it works fine but i have to delete this line code $view->extend(‘MauticCoreBundle:Default:content.html.php’); (the problem is this line code is related to the mautic interface) so i cant remove it .
Hey dude, you basically wrote the same as in the previous message and didn’t answer my questions. I’ll stop answering you if the conversation won’t be productive.
bro you asked me if i have an error i told you i have no errors at all , ok check jquery code please
https://drive.google.com/open?id=0By1rOlT63sKGTkNBUW1iT0RzVjA
When I look at your code:
- Why do you load jQuery again when Mautic loads it by default?
- Use ‘mQuery’ instead of ‘$’
- Load javascript the same way as all other bundles do. If you want to load it in a plugin, here is a docs for it: https://developer.mautic.org/#asset-helper
thank you bro i really appreciate it .
bro sry but jquery didnt work with me , i tried what you tell me exactly but no changes at all please check the link
https://drive.google.com/open?id=0By1rOlT63sKGNWRXdkJnUjhsWEU
Howdy, why don’t you send me the whole plugin? This script doesn’t exist in the zip you’ve sent me:
$view['assets']->includeScript('plugins/MauticMediaBundle/assets/facebookscript.js');
The best would be if you could show me the GitHub repo with your plugin and I could clone it.
the problem that i tried alot using github but it doesnt works dont know y !!! anyway this is the script file bro
https://drive.google.com/open?id=0By1rOlT63sKGY3luNG9JQXJYN2c
Hey bro, you didn’t react to my question again:
The point I was trying to make was that the path didn’t match the script name, but I didn’t know if that’s true because you’ve sent me only 2 files.
I’m sorry, but I quit. I don’t have time to ask the same questions again and again.
calm down bro i thought you only need to see the script , this is the plugin
https://drive.google.com/open?id=0By1rOlT63sKGMm4zd2k2cTBxVUU
i will reflex faster next time , please i need your help dude
escopecz u r mad at me ?
bro please
escopecz ill never waste your time jst want some help, I don’t think wat happened needs all that !!