Page 1 of 2
only code
Posted: 30 Dec 2011, 19:33
by mfeske
Hello,
i make the code withe the button in the Editor:
{phocadownload view=file|id=9|text=Einladung|target=s}
But in the frontend and backend is only shown the code

Phoca Download Button Plugin is active in the Plugin Manager.
Greetings Micha
Re: only code
Posted: 30 Dec 2011, 20:55
by SonRiab
You need the Phoca Download Plugin too!
The Phoca Download Button is only a nice way to create the code but do not anything else!
And please make sure you have Phoca Download installed!

Re: only code
Posted: 31 Dec 2011, 16:01
by mfeske
Okay sorry I don´t know that I need a extra Plugin. Now I have it installed an activated, but than I have a error message on some sites:
Fatal error: Call to a member function loadByOption() on a non-object in .../plugins/content/phocadownload/phocadownload.php on line 37
What´s that?
Greetings Micha
Re: only code
Posted: 31 Dec 2011, 19:14
by SonRiab
Hmm, schau ich mir mal nächstes Jahr an! (^_^)
Re: only code
Posted: 01 Jan 2012, 10:58
by mfeske
Neues Jahr
Ja wäre prima, da ich die Funktion wirklich gut gebrauchen könnte. Muss ich vielleicht an irgendwelchen Plugin Reihnfolgen etwas ändern? Mir ist so als ob ich das damals bei PhocaMaps machen mußte um die Karte anzuzeigen.
Gruß
Micha
Re: only code
Posted: 04 Jan 2012, 22:07
by SonRiab
Könntest du mir mal einen Link schicken, wo dieser Fehler zu beobachten ist (auch per PM

)? Welche Version des Plugins nutzt du?
Re: only code
Posted: 10 Jan 2012, 19:54
by mfeske
Hallo SonRiab,
konntest Du schon eine Fehlerursache erkennen?
Wie gesagt mir war so als ob ich einen ähnlichen Fehler bei einer anderen Phoca Komponente hatte und da mußte ich die Reihnfolge der Module ändern das es klappt, ich schau gleich mal ob ich den Beitrag finde.
Gruß
Micha
Re: only code
Posted: 10 Jan 2012, 21:25
by SonRiab
Wie ich dir schon schrieb, glaube ich, dass das an der Ausgabe von EventList liegt. Man müsste es halt durchtesten und die Ausgabe von EventList (wie geschrieben) entsprechend anpassen. Du kannst natürlich testweise auch die Reihenfolge ändern. Sollten alle Tests negativ ausfallen, habe ich momentan auch keine Idee.
Re: only code
Posted: 12 Jan 2012, 19:16
by mfeske
.. der Autor von EL konnte auch nichts feststellen, aber irgendwas muss doch sein, wenn es nur an dieser Stelle auftaucht und nur wenn PD aktiviert ist.
Re: only code
Posted: 16 Jan 2012, 21:17
by Jan
Anyway which version of Phoca Download Plugin code you are running?
I see no such code:
Fatal error: Call to a member function loadByOption() on a non-object in .../plugins/content/phocadownload/phocadownload.php on line 37
in latest version
