Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP] Integracja Plogger z Php Fusion
kraski
post
Post #1





Grupa: Zarejestrowani
Postów: 10
Pomógł: 0
Dołączył: 6.04.2007

Ostrzeżenie: (0%)
-----


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ź (IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif)
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 1)
lopez86
post
Post #2





Grupa: Zarejestrowani
Postów: 187
Pomógł: 0
Dołączył: 24.12.2006

Ostrzeżenie: (0%)
-----


Przecież wszystko pisze jak byk (IMG:http://forum.php.pl/style_emoticons/default/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

Ten post edytował lopez86 8.04.2007, 17:57:19
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 23.08.2025 - 04:16