Advanced search  

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]

Pages: [1]   Go Down

Author Topic: anycontent2  (Read 2688 times)

0 Members and 1 Guest are viewing this topic.

Barbeytes

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 29
    • Modellbahn Galerie
anycontent2
« on: November 19, 2006, 01:17:32 pm »

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
« Last Edit: November 19, 2006, 08:31:14 pm by GauGau »
Logged
(http://home.arcor.de/zierberg/images/galerietip88x31.png)
ModellbahnGalerie

Barbeytes

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 29
    • Modellbahn Galerie
Re: anycontent2
« Reply #1 on: November 19, 2006, 02:47:35 pm »

Ich habe es nun doch gefunden!

Wen es auch interessiert:
http://forum.coppermine-gallery.net/index.php?topic=34951.msg164057#msg164057

Logged
(http://home.arcor.de/zierberg/images/galerietip88x31.png)
ModellbahnGalerie
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 22 queries.