Error in PDF view

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

do you have a custom layout file ?
you seem to be trying to view the file inside a fancybox modal

our current code uses a jQuery modal to display the file inside the browser


-- 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 #76154 by tonnick
Replied by tonnick on topic Error in PDF view
yes I have, I put at the beginng the code which is calling the field :
Code:
<?php if (isset($item->positions['attachment'])) : ?> <?php foreach ($item->positions['attachment'] as $field) : ?> <?php echo $field->display ? $field->display : ''; ?> <?php endforeach; ?> <?php endif; ?>

do you want me to paste the entire file ?!

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

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

we have updated fancybox JS
e.g. instead of

data-fancybox-type="iframe"

you will need
data-type="iframe"

and other similar changes


-- 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 #76156 by tonnick
Replied by tonnick on topic Error in PDF view
sorry but I am not sure about where should I find that ?!

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

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

Try looking into files

category_items.php
category_items_html5.php

And then you may also look into custom layout files in
plugins/flexicontent_fields/file/tmpl/value_mycustom1.php


-- 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 - 5 years 7 months ago #76158 by ggppdk
Replied by ggppdk on topic Error in PDF view
Try something like
Code:
<a href="..." data-fancybox="somename" data-title="..." data-caption="..." data-type="iframe"> ...</a>


-- 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...
Last edit: 5 years 7 months ago by ggppdk.

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

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