anycontent2 anycontent2
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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