Сега има инсталирана тази книга за гости:
http://www.mdsjack.bo.it/index.php?page=mjguest
Трябва да се постигне ефектут показан долу в лиаво - Guestbook (Embedded layout):
http://www.mdsjack.bo.it/index.php?page=mjguest_demo
т.е. мненията са на самата страница и долу да могат да се сменят страниците.
Сега като се инсталира ето какво са инструкцийте:
(1) If you guestbook web page has a ".htm" extension, rename it to ".php".
(2) Insert this code at the very beginning of your website header (it may be in an included file):
(3) If your web pages are UTF-8 encoded, set "mjguest_embedded_iso" to "0"
(4) Then, paste this code in your guestbook page, exactly where you want to include the script:
(5) Replace "PATH_TO_MJGUEST" with the folder path from your web page is located (not the URL!).
(6) Now, to edit the layout, the active CSS file is "style_embedded.css" in theme folder.
Ми правя го и не се показва абсолютно нищо ... не мога да разбера защо ...
http://www.mdsjack.bo.it/index.php?page=mjguest
Трябва да се постигне ефектут показан долу в лиаво - Guestbook (Embedded layout):
http://www.mdsjack.bo.it/index.php?page=mjguest_demo
т.е. мненията са на самата страница и долу да могат да се сменят страниците.
Сега като се инсталира ето какво са инструкцийте:
(1) If you guestbook web page has a ".htm" extension, rename it to ".php".
(2) Insert this code at the very beginning of your website header (it may be in an included file):
Код:
<?php ob_start(); $mjguest_embedded_iso = 1; if($mjguest_embedded_iso){function ob_utf8_encode($buffer){return utf8_encode($buffer);}ob_start('ob_utf8_encode');} ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
(3) If your web pages are UTF-8 encoded, set "mjguest_embedded_iso" to "0"
(4) Then, paste this code in your guestbook page, exactly where you want to include the script:
Код:
<?php define('mjguest_basedir', 'PATH_TO_MJGUEST/'); include(mjguest_basedir.'mjguest.php') ?>
(5) Replace "PATH_TO_MJGUEST" with the folder path from your web page is located (not the URL!).
(6) Now, to edit the layout, the active CSS file is "style_embedded.css" in theme folder.
Ми правя го и не се показва абсолютно нищо ... не мога да разбера защо ...