Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: [PHP] Integracja Plogger z Php Fusion
Forum PHP.pl > Forum > Przedszkole
kraski
Witajcie, otóż mam taki problem że nie potrafię zintegrować skryptu galerii z moim phpfusion'em.

Instalacja wydaje się łatwa tylko nie wiem gdzie to wkleić oto plik readme:

Kod
INSTALLATION
============
To install, upload all of the files in the Plogger distribution to
your Web server.  Then, run the _install.php script from the Web
browser of your choice.  That script should guide you through the
rest of the installation process.

To integrate Plogger into your website, place the following PHP
statements in the HTML document you wish display the gallery:

First line of HTML file ->  <?php require("gallery.php"); ?>
In HEAD section of HTML -> <?php the_gallery_head(); ?>
Somewhere in BODY section -> <?php the_gallery(); ?>

That's it!

Version: Beta2

UPGRADE
===========
If you are upgrading from Beta 1 or any checked out test version, Follow these simple instructions:

1.) Upload and Overwrite ALL FILES except for plog-connect.php, and index.php (if you modified it)
2.) Run _upgrade.php


Prosiłbym informacje do jakiego pliku to wkleić i gdzie.

eh, czy dostałbym odpowiedź questionmark.gif
lopez86
Przecież wszystko pisze jak byk smile.gif wysyłasz pliki na serwer i np. w głównym indexie który znajduje się w tym samym katalogu co zuploadowane pliki wklejasz
  1. <?php require("gallery.php"); ?> na początku pliku index
  2.  
  3.  
  4. <?php the_gallery_head(); ?> sekcja head <head>TUTAJ</head>
  5.  
  6.  
  7.  
  8.  
  9. <?php the_gallery(); ?> pomiędzy <body> a </body>

plik index.php i gallery.php w tym samym katalogu plik index do którego wklejasz to musi mieć rozszerzenie .php chyba że masz włączony parser na html'u PoZdRo LoPeZ
To jest wersja lo-fi głównej zawartości. Aby zobaczyć pełną wersję z większą zawartością, obrazkami i formatowaniem proszę kliknij tutaj.
Invision Power Board © 2001-2025 Invision Power Services, Inc.