You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Everything works when I use the full path (legacy) to the plugin file. The needed file is in the plugin folder.
If I use pretty links, I need the full path to this file, of course, it stopped working.
I know that a base URL is possible with:
var url = e107.settings.basePath;
So I tried to put the plugin's folder name in the hidden field and I found that e_PLUGIN_DIR and e_PLUGIN_DIR_ABS are not used anymore. Is this correct?
What is correct way if I don't want to put full path in hidden field or so?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I have a frontend form with ajax call.
Everything works when I use the full path (legacy) to the plugin file. The needed file is in the plugin folder.
If I use pretty links, I need the full path to this file, of course, it stopped working.
I know that a base URL is possible with:
var url = e107.settings.basePath;
So I tried to put the plugin's folder name in the hidden field and I found that e_PLUGIN_DIR and e_PLUGIN_DIR_ABS are not used anymore. Is this correct?
What is correct way if I don't want to put full path in hidden field or so?
How to get actual e107_plugins folder name?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions