Multiple images within a slide
Permalink
Hey all. I am trying to modify the stock image slider to allow each slide to have two images selected. Thought it would be pretty easy but I ran into a snag.
with this i get an error AFTER selecting an image from the file manager that says...
{"error":{"message":"The identifier fID is missing for a query of Concrete\\Core\\File\\File"},"errors":["The identifier fID is missing for a query of Concrete\\Core\\File\\File"]}
what am i missing? why is it referencing fID when I am trying to manipulate fID2?
Thank you in advance for any insight.
Cheers,
Chris
var attachFileManagerLaunch = function($obj) { $obj.click(function(){ var oldLauncher = $(this); ConcreteFileManager.launchDialog(function (data) { ConcreteFileManager.getFileDetails(data.fID, function(r) { jQuery.fn.dialog.hideLoader(); var file = r.files[0]; oldLauncher.html(file.resultsThumbnailImg); oldLauncher.next('.image-fID').val(file.fID) }); }); }); } var attachFileManagerLaunch2 = function($obj) { $obj.click(function(){ //alert('wooohoooo');
Viewing 15 lines of 26 lines. View entire code block.
with this i get an error AFTER selecting an image from the file manager that says...
{"error":{"message":"The identifier fID is missing for a query of Concrete\\Core\\File\\File"},"errors":["The identifier fID is missing for a query of Concrete\\Core\\File\\File"]}
what am i missing? why is it referencing fID when I am trying to manipulate fID2?
Thank you in advance for any insight.
Cheers,
Chris