Migration lightbox effect url issues
-
At the moment I’m using GIT to deploy the website from my local development server and it does create a big issue, as I need to constantly change the url.
The worst part is that, when I’m browsing through the website it looks like everything is working as expected, due to the url pointing to my local server that is only accessible from my computer, therefore until someone actually starts to complain or I test it on different computer I’m not aware that the js/css files are not found and the lightbox effects are not working.
I’m was wondering if it possible to do it same way the custom styles work. We save lightbox folder on ngg_styles folder and then link it from there if is available. Example would be
../ngg_styles/lightbox/{effectName}/effectname.css
../ngg_styles/lightbox/{effectName}/effectname.jsWould solve the problem, otherwise I’m assuming I could define this path somewhere and do a check to see if it’s development or production server and adjust the paths then.
I would like to note that I’m using the the modified shutter effect, therefore it needs to be upgrade safe (outside plugin directory), so ngg_styles folder works well for that.
Thanks,
Kes
- The topic ‘Migration lightbox effect url issues’ is closed to new replies.