Error in PDF view

More
5 years 7 months ago #76159 by tonnick
Replied by tonnick on topic Error in PDF view
/components/com_flexicontent/templates# ll
total 32
drwxrwsr-x 5 origin origin 4096 May 5 2016 blog
drwxrwsr-x 5 origin origin 4096 Jan 29 2018 database >>>>>>>>>>>>>>> My custom layout
drwxrwsr-x 5 origin origin 4096 May 5 2016 default
drwxrwsr-x 5 origin origin 4096 May 5 2016 faq
-rw-rw-r-- 1 origin origin 31 Mar 25 10:44 index.html
drwxrwsr-x 5 origin origin 4096 May 5 2016 items-tabbed
drwxrwsr-x 5 origin origin 4096 May 5 2016 presentation
drwxrwsr-x 5 origin origin 4096 Nov 16 2016 web_template

/components/com_flexicontent/templates# grep -ir data-fancybox-type ./*
/components/com_flexicontent/templates#

>> nothing here

/plugins/flexicontent_fields/file/tmpl# ll
total 44
-rw-rw-r-- 1 origin origin 10608 Mar 25 10:44 field_InlineBoxes.php
-rw-rw-r-- 1 origin origin 10528 Mar 25 10:44 field_Table.php
-rw-rw-r-- 1 origin origin 17049 Mar 25 10:44 value_InlineBoxes.php

the only result is here :

# grep -ir data-fancybox-type ./*
./value_InlineBoxes.php: . ' class="'.($viewinside==0 ? 'fancybox ' : '').$file_classes.' btn-info fcfile_viewFile" '.($viewinside==0 ? 'data-fancybox-type="iframe" ' : '')
./value_InlineBoxes.php: <a href="' . $dl_link . (strpos($dl_link, '?') !== false ? '&amp;' : '?') . 'method=view" class="fancybox ' . $file_classes . ' fcfile_viewFile" data-fancybox-type="iframe" title="' . $viewinfo . '" >

>> I updated the files and it is working now ! well done !

>> can you do a new release to keep those files updated with right fix ?

thx !

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

More
5 years 7 months ago #76163 by tonnick
Replied by tonnick on topic Error in PDF view
what do you think about it ? can you consider to add it in next release ? thx

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

More
5 years 7 months ago #76171 by ggppdk
Replied by ggppdk on topic Error in PDF view
Hello

i am sorry but i forgot that we had option for using fancybox modal instead of jQuery modal

i have committed the fix for next release


-- 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
5 years 7 months ago #76172 by tonnick
Replied by tonnick on topic Error in PDF view
ok :)

just by the way, whatever the option used in field options >> viewing >> file actions >> in-browser viewing >> fancybox / jquery modal / same window / new window, the result is always the same, the file is opened into fancybox

right ?!

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

More
5 years 7 months ago #76173 by ggppdk
Replied by ggppdk on topic Error in PDF view
Hello

yes, if you use "links" instead of buttons, it will happen as you say, fancybox is always used and the configuration is ignored

i have already fixed this too, (case of using links instead of buttons) to respect the configuration and use jQuery modal when this is selected


-- 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
5 years 7 months ago #76174 by tonnick
Replied by tonnick on topic Error in PDF view
yes I set up links in order to put a font awesome icon ;)
ok thx waiting for release then ! :)

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

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