Star Posted January 16, 2009 Share Posted January 16, 2009 Do we? Link to comment Share on other sites More sharing options...
Star Posted January 17, 2009 Author Share Posted January 17, 2009 Anyone? Link to comment Share on other sites More sharing options...
Pursuant Posted January 17, 2009 Share Posted January 17, 2009 I would recommend using a module for Prestashop or using the product editorial/comments module included with v1.1. It would be much better than trying to integrate another script.Feel free to msg me with questions.-Kevin Link to comment Share on other sites More sharing options...
Star Posted January 18, 2009 Author Share Posted January 18, 2009 I would recommend using a module for Prestashop or using the product editorial/comments module included with v1.1. It would be much better than trying to integrate another script.Feel free to msg me with questions.-Kevin I will try with your suggestion first. Thanks for the idea. Link to comment Share on other sites More sharing options...
Tamas Szegedi Posted January 18, 2009 Share Posted January 18, 2009 I can integrate one guest book, because i want to use the 1.0 (because i already made a lot of modofication) ... I'm not a programer, so it was not too easy Look it Link to comment Share on other sites More sharing options...
Tamas Szegedi Posted January 18, 2009 Share Posted January 18, 2009 - You can't write if you're not loged in (If you are not loged in it jump back to the sign in page)- It's write your name automatical in to the top of you msg - etc..etc... Link to comment Share on other sites More sharing options...
Star Posted January 18, 2009 Author Share Posted January 18, 2009 I can integrate one guest book, because i want to use the 1.0 (because i already made a lot of modofication) ... I'm not a programer, so it was not too easy Look it May I ask how did you do it? Link to comment Share on other sites More sharing options...
Tamas Szegedi Posted January 19, 2009 Share Posted January 19, 2009 I'm not a programer, i do it and find it from myselfe !!!! So if it's not too good versio, never mind everybody, it's good for me and it is only the important for me 1.) I download a ready php guestbook2.) I put it into a folder which name is /gbook3.) I made a php file and name it to igbook.php and put it into the root folder <?php include(dirname(__FILE__).'/config/config.inc.php'); include(_PS_ROOT_DIR_.'/header.php'); include(_PS_ROOT_DIR_.'/gbook/index.php'); $smarty->display(_PS_THEME_DIR_.'footer.tpl'); ?> 4.) I made the name control I put some variable from the blockuserinfo This is the name area: <input type="hidden" name="vname" size="30" maxlength="70" value="<?=($cookie->logged ? $cookie->customer_lastname.' '.$cookie->customer_firstname : false)?>"> 5.) I made the registration needed with a simple "if".. because if you are not loged in the name area will be empty and if it's empty : if ($vname == "") { input_err('<META http-equiv="Refresh" content="0;url=../../my-account.php" />'); So, it's not too easy, but working, and i think everything can be integrate to the PS if you are know what you do Link to comment Share on other sites More sharing options...
Star Posted January 20, 2009 Author Share Posted January 20, 2009 okay. Thanks Link to comment Share on other sites More sharing options...
Tamas Szegedi Posted January 20, 2009 Share Posted January 20, 2009 No, becaue I downloaded a ready guest book, which don't need tpl, it's a "graphic php" or I don't know what is the name when the php is include the graphic Link to comment Share on other sites More sharing options...
Star Posted January 20, 2009 Author Share Posted January 20, 2009 No, becaue I downloaded a ready guest book, which don't need tpl, it's a "graphic php" or I don't know what is the name when the php is include the graphic Can you share us your module? My program requires database, and it do not work the way you show me. Your help is greatly appreciated. Link to comment Share on other sites More sharing options...
Ehinarr Posted January 21, 2009 Share Posted January 21, 2009 I also would know about this php guesbook program. If you let i take it. Link to comment Share on other sites More sharing options...
Star Posted January 21, 2009 Author Share Posted January 21, 2009 I also would know about this php guesbook program. If you let i take it. You know this php guestbook program? Great. Can you show me how to do it? Link to comment Share on other sites More sharing options...
Tamas Szegedi Posted January 21, 2009 Share Posted January 21, 2009 http://www.prestashop.com/forums/viewthread/11043/general_discussion/ready_prestashop_guestbook Link to comment Share on other sites More sharing options...
Recommended Posts