i think i'm missing something obvious but is a rewrite copy/paste is required to get pdf icon to run through phoca pdf? hate to be the new guy but i've been looking at documentation forums etc for 45 minutes, is there beginner tutorial showing us how to do rewrite somewhere, I feel i'm missing some documentation maybe? i tried a rewrite in .htaccess pdf to phocapdf from something i found in forum but it's not working
just to clarify, it does work when i use the ?format=phocapdf, but the pdf icon even with rewrite is still showing default pdf view.
this is rewrite rule i found in forums:
RewriteRule (.*)\/pdf.html$ $1.html?format=phocapdf [R=301,L]
thanks for your time,
best
john
newbie sorry re phocapdf rewrite
-
- Phoca Newbie
- Posts: 6
- Joined: 18 Oct 2010, 23:21
Re: newbie sorry re phocapdf rewrite
friendly bump, is there a link to a beginner's tutorial anywhere? Trying to get the pdf icon to convert to phocapdf, is that supposed to happen automatically when the plugin is enabled? or is there a redirect required?
-
- Phoca Newbie
- Posts: 6
- Joined: 18 Oct 2010, 23:21
Re: newbie sorry re phocapdf rewrite
friendly bump - can we make a donation for a wee bit of help, need to use this component on a production site right now.
thanks,
best,
john
thanks,
best,
john
-
- Phoca Newbie
- Posts: 6
- Joined: 18 Oct 2010, 23:21
Re: newbie sorry re phocapdf rewrite
friendly bump - still not working regardless of configuration - donation for help offer going once...
-
- Phoca Newbie
- Posts: 6
- Joined: 18 Oct 2010, 23:21
Re: newbie sorry re phocapdf rewrite
friendly bump - trying i think every configuration variable possible and not working - donation for set up? Talk to me willis.
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: newbie sorry re phocapdf rewrite
Hi, I don't have any experiences with rewriting the .htaccess so cannot give any advices, the format=phocapdf is included in the url like e.g. limitstart etc.
see:
https://www.phoca.cz/demo/phocapdf-demo
For other solution you need to use some SEF external method but some which will support Phoca PDF
Jan
see:
https://www.phoca.cz/demo/phocapdf-demo
For other solution you need to use some SEF external method but some which will support Phoca PDF
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 6
- Joined: 18 Oct 2010, 23:21
Re: newbie sorry re phocapdf rewrite
Still no luck, trying different extension rewrites - we will pay a couple hours time for assistance getting this running -
-
- Phoca Member
- Posts: 16
- Joined: 13 Oct 2010, 14:14
Re: newbie sorry re phocapdf rewrite
buildbuyer wrote:friendly bump, is there a link to a beginner's tutorial anywhere? Trying to get the pdf icon to convert to phocapdf, is that supposed to happen automatically when the plugin is enabled? or is there a redirect required?
Yes, PhacoPDF component and plug in when installed will change the pdf icon url link "format=pdf" to "format=phocapdf" automatically. Not sure why you are concentrating on rewrite, are you specifically trying to use Joomla Core SEF? ( I don't think you are because you haven't mentioned it) If this is not happening then something is amiss. The plugin should automatically search for format=pdf and replace with format=phocapdf
However here is a way of hard coding format=pdf to format=phocapdf -involves edit to joomla core file, nothing to do with .htaccess rewrite.
Edit file: //components/com_content/helpers/icon.php
line 49 $url .= '&id='.$article->slug.'&format=pdf';
change pdf to phocapdf
hope this helps