How can we help you today?

Known Issue: Linked items in Table element adding ?web=1 parameter to the URL

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:

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.

World's best intranet sites are designed using ShortPoint

Get started today! Learn more
See all 27 topics

Start a trial

Ignite your vision. Install ShortPoint directly on your site, or play in sandbox mode. No credit card required.

Get started today

World’s best intranet sites are designed using ShortPoint

Thousands of companies using ShortPoint everyday to design, brand and build award winning intranet sites.

Get started Learn more