Page 2 of 3

Re: Phoca Plugin Not Working

Posted: 29 Jul 2011, 00:37
by frt
I just did a quick test to make sure the plugin is even being called/used. I edited the phocadownload.php (in the \plugins\content\phocadownload folder), near the top as seen here:

Code: Select all

require_once( JPATH_ADMINISTRATOR.DS.'components'.DS.'com_phocadownload'.DS.'helpers'.DS.'phocadownload.php' );

echo 'boo'; //test actual loading...

class plgContentPhocaDownload extends JPlugin
and "boo" was echoed on the page where I have my phocadownload code embedded. Just no rendering of the phocadownload code into the actual file download view. :(

Re: Phoca Plugin Not Working

Posted: 29 Jul 2011, 09:56
by katay
I did it everything yesterday with all listed problems. Just to do following:

-install component
-install plugin
-install download button (recommended)

-everything must be public - category, folder, files (if it is for unregistered too)
-everything must be enabled

-put the link to file through phoca download button (it generates 100% code), because if you use copy/paste tag, something happen in editor/code an tag does not work.

-ofc if you use SEF, you have to create hidden menu item and link it to phoca file category you created

After that you win.

katay

Re: Phoca Plugin Not Working

Posted: 29 Jul 2011, 10:49
by Dragonbait
hmm didn't seem to work for me, even using the button to create the code it still just shows me the code.
I don't use SEF, and I have tried it on a clean install of joomla 1.7 with just a single public document all with no joy :(

Re: Phoca Plugin Not Working

Posted: 29 Jul 2011, 12:32
by katay
Hm, strange. I did it on my Joomla 1.6, may be there is bug with 1.7. I had some problems but as I describe, everything is fixes yet. Put the link with article where is wrong tag. I can take a look if there is same looking failure sa I had.

Re: Phoca Plugin Not Working

Posted: 29 Jul 2011, 13:00
by frt
Same here. I've tried uninstalling/reinstalling all three parts. Everything is public, I use the button to generate the code, I tried writting it manually... I don't use SEF. I've tried disabling every other nonsystem plugin. I upgraded to J1.7 last night from 1.6.5 hoping that might help, but it didn't. Still just the code displayed in the article. :(

Re: Phoca Plugin Not Working

Posted: 29 Jul 2011, 13:16
by frt
Another quick note. During all this, I've been using no editor. Just plain old text entry. So whether I typed it in or the button entered the code, it's clean. As mentioned before, I can see the code as it should be written... in the source of the rendered page on the front end...

Re: Phoca Plugin Not Working

Posted: 30 Jul 2011, 16:30
by Jan
Hi, if the pure code of the plugin is installed, then mostly this means:

the Phoca Download Plugin (not the Phoca Download Button Plugin) is not installed properly or it is not enabled in Plugin manager.
Jan

Re: Phoca Plugin Not Working

Posted: 30 Jul 2011, 18:09
by frt
:? Everything has been uninstalled, cleaned up (verified folders/sql tables, etc were gone), reinstalled... Everything has been enabled. And yet the code is simply displayed in the rendered article page instead of displaying the desired file download view.

Best of luck to the rest of ya, I give up. :(

\\m//

Re: Phoca Plugin Not Working

Posted: 30 Jul 2011, 21:54
by mardink
Hi, I had the same problem.
I downloaded the plugin version 2.0.1, but it downloaded the wrong one. Make sure you click the correct version 2.0.1 and that you also get this version. Somehow the links to the files are mixed up.

Now I have the correct one. Go to download in the menu and click on the link file name and not the download button. When clicking the download button you get the old version and not 2.0.1. That was the reason it didn't work for me.

Martijn

Re: Phoca Plugin Not Working

Posted: 30 Jul 2011, 22:50
by frt
:D
THANK YOU! Yes, those links could use some clarity. :x