Page 1 of 1

PhocaPDF - not working with sh404sef enabled

Posted: 16 Mar 2009, 13:01
by willson
PhocaPDF doesn't seem to want to become active in the following environment
  • Joomla 1.5.9
  • JoomFish 2.0.2 (language selection: English [default] & Spanish)
  • sh404sef 1.0.19 (with .htaccess & native joomla sef enabled)
  • PhocaPDF component installed
  • PhocaPDF Content plugin installed (and enabled)
  • Ordered PhocaPDF plugin to follow JoomFish database, router and sh404sef
  • Placed a header in the customization for the plugin (to more easily detect when it is producing PhocaPDF output)
  • Disabled joomla caches, cleared sh404sef cache
  • This setup is running on a localhost (XAMPP/WAMP type)
With this setup the PhocaPDF plugin is not activating. That is, &format=pdf does not get changed to &format=phocapdf.
So, I switched the plugin order to put PhocaPDF ahead of sh404sef, cleared the sef cache, and nothing changed; I then switched it back (because, logically, to me, the Joomfish translation and sef actions are very core and should occur ahead of the pdf button and PhocaPDF will catch whatever the result is an put in its &format=phocapdf
So, I switched sh404sef off (un-enabled/disbled it using sh404sef configuration); at which point &format=phocapdf appeared in the URLs (note: native Joomla sef and .htaccess remained enabled).
Conclusion: an incompatability between sh404sef and PhocaPDF.

I suspect it is in the ordering of the plugins.
My question to someone using an SEF component (not native Joomla sef): What is the order of your plugins?
and a question to someone with Joomfish: Have you put PhocaPDF before or after JoomFish database and router?

I'm certain there's a simple answer.