[solved] r1475 format=pdf, J2.5must redirect to HTML

More
12 years 10 months ago - 12 years 8 months ago #27522 by loicberder
Hello,
i have an error on all pdf item link

Erreur: 500
Classe d'affichage introuvable [class, file] : flexicontentViewitem, /.../components/com_flexicontent/views/item/view.pdf.php

loïc

using 2.5 r1420
recently updated from previous rev
Last edit: 12 years 8 months ago by loicberder.

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

More
12 years 10 months ago #27523 by ggppdk
aaa, yes , pdf support was removed from J1.6+

i will update code not to display the PDF button,
i have forgotten do to do so ... thanks for pointing out this one :)


-- 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
12 years 10 months ago #27524 by loicberder
hello
thanks to you

url have been previously generated and referenced by search engine... can you include an autoredirect to the normal page in case of "?format=pdf" ??

thanks

loic

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

More
12 years 10 months ago #27526 by ggppdk
what about silently ignoring the format=pdf and showing the html version instead?


-- 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
12 years 10 months ago #27551 by loicberder
thats sounds perfect
loïc

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

More
12 years 10 months ago #27560 by ggppdk
ok, in r1433:

For J2.5 FLEXIcontent version,
(a) removed PDF parameters from all forms,
(b) forced hiding PDF button regardless of already saved "show_pdf_icon" parameter
(c) forced redirecting existing pdf URLs to html, e.g. user bookmarked URLs or search engline indexed URLs


-- 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.303 seconds
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
Save