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

More
12 years 10 months ago #27602 by loicberder
ok really great
waiting for the new nightlybuild or maybe i'll try to make the changes manually following r1434
thanks again
loïc

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

More
12 years 10 months ago #27618 by ggppdk
for now, maybe only do the redirection to HTML

in components/com_flexicontent.php/flexicontent.php
Just after:
Code:
// Import the flexicontent_fields plugins and flexicontent plugins if (!FLEXI_ONDEMAND) JPluginHelper::importPlugin('flexicontent_fields'); JPluginHelper::importPlugin('flexicontent');
Try adding:
Code:
// No PDF support in J2.5 if ( FLEXI_J16GE && JRequest::getVar('format') == 'pdf' ) { JRequest::setVar('format', 'html'); }


-- 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 #27632 by loicberder
done
but it doesn't work
same error !
loïc

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

More
12 years 10 months ago #27635 by ggppdk
Then please do it with rewrite rule in your .htaccess
this is common practice for non-existing URL.

using this rule to remove
&format=pdf
and
?format=pdf

from the URL

Regards


-- 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 9 months ago - 12 years 8 months ago #28401 by loicberder
hello

part of the rev 1433 doesn't work :
(c) forced redirecting existing pdf URLs to html, e.g. user bookmarked URLs or search engline indexed URLs

joomla 2.5
flexi r1475
joomla SEF activated


thanks in advance
loïc
Last edit: 12 years 8 months ago by loicberder.

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

More
12 years 9 months ago #28404 by micker
hello you can update to RC8 here
code.google.com/p/flexicontent/downloads/list
and try again
:)

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

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