AmericanRev2 Posted December 14, 2019 Share Posted December 14, 2019 <iframe height="800px" scrolling="auto" src="https://www.mymilitia.com/pdfjs/web/viewer.html?file={$record->customFieldDisplayByKey('pdfupload', 'processed')|raw}" width="100%">PDF</iframe> shows: https://www.mymilitia.com/atlas/alabama/test1-r11/ its suppose to show the PDF embedded like this...https://www.mymilitia.com/intel/tactical-skills/field-craft-r11/ can you tell me why the field is not showing the pdf embedded? what am i missing Link to comment Share on other sites More sharing options...
Pete T Posted December 14, 2019 Share Posted December 14, 2019 33 minutes ago, fix3r said: <iframe height="800px" scrolling="auto" src="https://www.mymilitia.com/pdfjs/web/viewer.html?file={$record->customFieldDisplayByKey('pdfupload', 'processed')|raw}" width="100%">PDF</iframe> shows: https://www.mymilitia.com/atlas/alabama/test1-r11/ its suppose to show the PDF embedded like this...https://www.mymilitia.com/intel/tactical-skills/field-craft-r11/ can you tell me why the field is not showing the pdf embedded? what am i missing When view first link you see no iframe but do on second link you sure added the iframe ? Link to comment Share on other sites More sharing options...
AmericanRev2 Posted December 14, 2019 Author Share Posted December 14, 2019 1 minute ago, Pete T said: When view first link you see no iframe but do on second link you sure added the iframe ? I have tried listing, processed, raw ect i cannot get the thing to embed Link to comment Share on other sites More sharing options...
AmericanRev2 Posted December 14, 2019 Author Share Posted December 14, 2019 Im just about there now... https://www.mymilitia.com/atlas/alabama/test27-r27/ Looks like the permissions on my uploads folder is stopping it, whats the best way to resolve that? Link to comment Share on other sites More sharing options...
AmericanRev2 Posted December 14, 2019 Author Share Posted December 14, 2019 I have CHMOD the file 777 and still get 403 error Link to comment Share on other sites More sharing options...
AmericanRev2 Posted December 15, 2019 Author Share Posted December 15, 2019 I have fixed this - https://www.mymilitia.com/atlas/ DEMO: https://www.youtube.com/watch?v=PpJ2Oq0C_O4 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.