anycontent2 anycontent2
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

anycontent2

Started by Barbeytes, November 19, 2006, 01:17:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Barbeytes

Hallo,

ich beschäftige mich gerade mit dem einfügen von anyconten2.

Im Forum fand ich schon wie es bei CPG 1.3 gemacht wird.

Ist das bei CPG 1.4.9 ähnlich wie bei 1.3?

case 'anycontent2':
                        if ($cat == 0) {
                            ob_start();
                            /**
                             * Any php code or HTML can be put in this file and will be displayed
                             */
                            include('anycontent.php2');
                            $anycontent = CPGPluginAPI::filter('anycontent2',ob_get_contents());
                            ob_end_clean();
                            echo ($anycontent);
                        }
                        flush();
                        break;

Irritiert bin ich durch "CPGPluginAPI::filter"

Oder könnt Ihr mir vielleicht einen Link zum richtigen Beitrag geben?

Gruß
Barbeytes
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fhome.arcor.de%2Fzierberg%2Fimages%2Fgalerietip88x31.png&hash=2767a03de9c0bbbdb88bd032313a8123b5970312)
ModellbahnGalerie

Barbeytes

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fhome.arcor.de%2Fzierberg%2Fimages%2Fgalerietip88x31.png&hash=2767a03de9c0bbbdb88bd032313a8123b5970312)
ModellbahnGalerie