Get file size of file URLs automatically does not work anymore

More
7 years 3 months ago #69510 by lipatovroman
But this option doen not work for me:

-- and open URLs with zero file size in new window

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

More
7 years 3 months ago #69512 by ggppdk
Hello

it was added for 2 display cases in the code
i am not sure if you are using these

maybe it would be best to create a diffent field for cases that the file is a link to a page

maybe create a webink field ?
and add value to weblink field and leave the file field empty ?


-- 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
7 years 3 months ago #69513 by lipatovroman
Hello.

An additional field will complicate the addition of items.

See, how I use it:



And how it looks:



So, I just need second link opens in new tab.

But you wrote that

all modern browsers should autoclose the new window


So, it's no matter. All links can be opened in new tab.

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

More
7 years 3 months ago #69514 by ggppdk
Hello

i think you are using a custom layout for the file field ?

then you need to update your custom layout !

please see this commit:
github.com/FLEXIcontent/flexicontent-cck...1a0f073239bbc6e990bf


-- 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
7 years 3 months ago - 7 years 3 months ago #69517 by lipatovroman
Yes, you are right.
I'm using custom custom layout for the file field.
I replaced code from commit and now filed works perfect!

Files downloads in current tab and links opens in new tab.
Thank you!

But I found strange bug.

I have custom layouts in field template folder and I use value_InlineBoxes2.php:



But in field setting this template does not displays:



In spite of this, the field uses exactly value_InlineBoxes2.php

May be it because this setting was saved in DB before.
Last edit: 7 years 3 months ago by lipatovroman.

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

More
7 years 3 months ago #69519 by ggppdk
Hello

custom layout not showing ?
this should not happen !
i will look at it


-- 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.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.361 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