cheesegrits
Support Gopher
Rob,
Unless I'm losing my mind, you seem to have introduced a 2.x dependency into 1.04, in changeFolder(), around line 217 in elements.js:
... which is referencing the new 'plugin' features of 2.0 for handling the AJAX. Needless to say, this don't work too good in 1.04. Try creating an Image element, allow front end selection, and point to a root that has sub folders. Then try changing folders on the front end.
Anyhoo, this is way beyond me. You'll have to fix this one! Then I can get on with fixing what I was actually trying to fix, which is Image element values being assigned with "- Select Folder -" instead of the actual folder path.
-- hugh
Unless I'm losing my mind, you seem to have introduced a 2.x dependency into 1.04, in changeFolder(), around line 217 in elements.js:
Code:
var url = 'index2.php?option=com_fabrik&no_html=1&Itemid=' + this.options.Itemid + '&task=elementPluginAjax&plugin=fabrikImage&method=ajax_GetImages&element_id=' + this.options.id + '&f=' + encodeURIComponent(this.selectedFolder);
... which is referencing the new 'plugin' features of 2.0 for handling the AJAX. Needless to say, this don't work too good in 1.04. Try creating an Image element, allow front end selection, and point to a root that has sub folders. Then try changing folders on the front end.
Anyhoo, this is way beyond me. You'll have to fix this one! Then I can get on with fixing what I was actually trying to fix, which is Image element values being assigned with "- Select Folder -" instead of the actual folder path.
-- hugh