Field with file need to open in another window

More
8 years 1 week ago #61594 by melissa.blanchard
Hi,

I'm using FLEXIcontent version 3.0.14-rc2a and Joomla! version 3.5.1.
I created a field with the type File. What I need to do, upload a pdf file and then be able to open the pdf in another window, but the only settings I see is In-browser viewing(which is close but not good enough since it doesn't allow scrolling the pdf file on mobile) and download. Is what I'm asking to do possible, if yes how? and if no what are my other options.

Thanks!

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

More
8 years 1 week ago #61608 by ggppdk

which is close but not good enough since it doesn't allow scrolling the pdf file on mobile)


the viewing is done by browser software it is not done by FLEXIcontent,
FLEXIcontent only instuct browser to view it if possible, (if browser can do it) if browser cannot do it then it is downloaded


-- 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
8 years 1 week ago #61624 by melissa.blanchard
Is there a way to edit the template to add the open in new window option?

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

More
8 years 1 week ago - 8 years 1 week ago #61634 by ggppdk
Hello

now i see / remember what is happening,
- the file opens in a FANCYBOX modal popup, which will not allow scroll in some Apple devices

i will commit options:
- view inside
FANCYbox modal
New window
Same window



-- 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...
Attachments:
Last edit: 8 years 1 week ago by ggppdk.

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

More
8 years 1 week ago #61635 by ggppdk
or it is even better to use our jQuery-based modal , it should display properly in all cases and it also autofits screen on resize


-- 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
8 years 1 week ago - 8 years 1 week ago #61638 by melissa.blanchard
How do I call the value of the link, I tried this but doesn't work
<?php
echo $this->fields{' pdf '} ->value;
?>
{ } are supposed to be square brackets
Last edit: 8 years 1 week ago by melissa.blanchard.

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

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