Get file size of file URLs automatically does not work anymore

More
6 years 6 months ago #70239 by lipatovroman

ggppdk wrote: Hello

examine the HTML of the links what is the value of the "target" attirbutes
e.g.

Code:
<a href="google.com" target="_blank" ...> Goggle </a>


There is no target attributes for file filed in HTML.

But, I think I found issue.

When I use link
Code:
https://support.microsoft.com/ru-ru/help/179113/how-to-install-the-latest-version-of-directx

FC detects size:

www.dropbox.com/preview/Monosnap/2017-10-20%2009-40-23.jpg

But this is not file, this a simple page.

So, when size is detected - URLs opens in same tab.

I have deleted size in DB using MYSQL Client - and now link opens in new tab.

The question is why FC detects size from this URL:
Code:
https://support.microsoft.com/ru-ru/help/179113/how-to-install-the-latest-version-of-directx

Please Log in or Create an account to join the conversation.

More
6 years 6 months ago #70244 by ggppdk
Hello

then we can also check the file type given by server
if response is 'text/HTML' or 'text/*'

then open in new tab


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
6 years 6 months ago #70245 by ggppdk
Hello

please open a new issue at
github.com/FLEXIcontent/flexicontent-cck/

asking to add this possibility


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
The following user(s) said Thank You: lipatovroman

Please Log in or Create an account to join the conversation.

More
6 years 6 months ago #70247 by lipatovroman

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.603 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline