Issue


ShortPoint Table design element is adding ?web=1 parameter to URL of all linked items.

This causes the issue that you are not able to download linked files in the Table design element.


Reason


There were changes in Table design element and it caused this issue.


Solution

This is going to be fixed in one of our next releases. Please follow the workaround we have prepared.


Workaround


Step 1: Open ShortPoint Dashboard


Please open your ShortPoint Dashboard and click the Theme Builder tile:




Step 2: Apply Custom JavaScript

Once Theme Builder is open, Navigate into Utilities->Custom JavaScript and insert this code:

(function () {
    'use strict';
    fixLinks();
})();
function fixLinks() {
    if (!shortpoint.$('.shortpoint-table a').length) {
        setTimeout(fixLinks, 200);
        return;
    }
    // element is ready, let's fix it
    shortpoint.$('.shortpoint-table a').each(function(index, el){
    if(shortpoint.$(this).attr('href'))
    shortpoint.$(this).attr('href',shortpoint.$(this).attr('href').replace('web=1',''));
}); 
}



Once you will Publish changes in your Theme Builder, the issue with the Table element will be fixed.


Related articles: