Hey guys,
So we’re running into some problems with PageBuilder. It seems PageBuilder is writing full file paths in the JS. When we migrate to the staging server, broken images show up, unless we go activate PageBuilder’s edit mode which rewrites the JS file. But it just seems like an unnecessary step after every deploy.
Example:
else{module.addClass('fl-animated');}}};$(function(){FLBuilderLayout.init();});})(jQuery);YUI({'logExclude':{'yui':true}}).use('fl-slideshow',function(Y){var slideshow=new Y.FL.Slideshow({autoPlay:false,clickAction:'url',clickActionUrl:'/products/',color:'light',googlePlusButtonEnabled:true,height:155,imageNavEnabled:true,likeButtonEnabled:true,navPosition:'bottom',navType:'none',pinterestButtonEnabled:true,protect:false,randomize:false,responsiveThreshold:768,source:[{type:"urls",urls:[{thumbURL:"http://local.dev/wp-content/uploads/callout_nighttime-150x150.png",largeURL:"http://local.dev/wp-content/uploads/callout_nighttime.png",x3largeURL:"http://local.dev/wp-content/uploads/callout_nighttime.png",caption:""},{thumbURL:"http://local.dev/wp-content/uploads/callout_daytime-150x150.png",largeURL:"http://local.dev/wp-content/uploads/callout_daytime.png",x3largeURL:"http://local.dev/wp-content/uploads/callout_daytime.png",caption:""},{thumbURL:"http://local.dev/wp-content/uploads/callout_long-acting-150x150.png",largeURL:"http://local.dev/wp-content/uploads/callout_long-acting.png",x3largeURL:"http://local.dev/wp-content/uploads/callout_long-acting.png",caption:""}]}],speed:3000,tweetButtonEnabled:true,thumbsImageHeight:50,thumbsImageWidth:50,transition:'slideHorizontal',transitionDuration:1});slideshow.render('.fl-node-53d7f8cf6f009 .fl-slideshow-container');});var wpAjaxUrl='http://local.dev/wp-admin/admin-ajax.php';var flBuilderUrl='http://local.dev/wp-content/plugins/fl-builder/';
Anything we can do to fix this behavior?