Jump to content

keiichi

Members
  • Posts

    47
  • Joined

  • Last visited

keiichi's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I'm having the same problem, but whit the module "cronjobs" can't install PS 1.6.0., stuck at 78% I've tried in Osx Maverics using Mampro, and onlina with my hosting on webfaction the same error.
  2. Hola, Necesitaba urgentemente instalar pago por Dineromail Chile en una tienda, inteté usar modulo que entrega Dineromail en su sitio, pero no me fuciona correctamente, no me aparecen las opciones de pago. Entonces empecé a buscar un módulo para comprar y encontré este sitio web: http://www.goldenfoxi.com en donde vendían el modulo para Dineromail Chile. Lo compré usando Pay Pal y lo descargué sin problemas, pero cuando lo instalo no me aparece listado en la lista de modulos del BO. Lo intenté instalar desde el BO y por FTP y de ninguna manera me funciona, el modulo esta el directorio "módulos", pero no se instala. Me comunique por email con www.goldenfoxi.com, pero no contestan mis correos. Alguien prodía ayudarme en como solucionar este problema que tengo? Información sobre del servidor Versión de PrestaShop: 1.4.8.3 Información sobre su servidor: Linux #1 SMP Wed Mar 14 14:10:01 EDT 2012 x86_64 Versión del software servidor: Apache Versión de PHP: 5.3.10 Versión de MySQL: 5.5.24-cll Muchas Gracias.
  3. Manuel podrias compartir el módulo porfa perro, no lo he podido encontrar. Gracias de antemano mail: [email protected]
  4. The best way to do that is to override the css style for the header: Example: #informations_block_left h4 { background: url("../img/block_info_h.png") no-repeat scroll left bottom transparent; text-indent: -9999px; } In that snippet I've chanced the default header image to a .png file located in the img folder inside the themes folder. I have also move the text to the left so I can put the text directly in the image. Hope that helps.
  5. I think the easiest way to modify a theme is with firebug. That way you can find and replace a single item in a theme. It's awesome how a single modification to block_header.gif can do.
  6. Grrr! I cant make it work... Maybe I need a coofee Ok this is all the code I have: File: oferta.php <?php include(dirname(__FILE__).'/config/config.inc.php'); include(dirname(__FILE__).'/init.php'); include(dirname(__FILE__).'/header.php'); $smarty->assign('strOutput' , $strOutput); $smarty->display(_PS_THEME_DIR_.'oferta.tpl'); include(dirname(__FILE__).'/footer.php'); //*** Include the library. include(dirname(__FILE__).'/libraries/ValidForm/class.validform.php'); //*** Create an instance of the form. $objForm = new ValidForm("contactForm", "Required fields are printed in bold."); //*** Add the Name field. $objForm->addField("name", "Your name", VFORM_STRING, array( "maxLength" => 255, "required" => TRUE ), array( "maxLength" => "Your input is too long. A maximum of %s characters is OK.", "required" => "This field is required.", "type" => "Enter only letters and spaces." ) ); //*** Add the Email field. $objForm->addField("email", "Email address", VFORM_EMAIL, array( "maxLength" => 255, "required" => TRUE ), array( "maxLength" => "Your input is too long. A maximum of %s characters is OK.", "required" => "This field is required.", "type" => "Use the format [email protected]" ), array( "tip" => "[email protected]" ) ); //*** Add the Remarks field. $objForm->addField("remarks", "Remarks", VFORM_TEXT, array( "maxLength" => 2000 ), array( "maxLength" => "Your input is too long. A maximum of %s characters is OK.", "type" => "Enter only characters, punctuation, numbers and spaces" ) ); //*** Set the general alert. $objForm->setMainAlert("One or more errors occurred. Check the marked fields and try again."); //*** Set the label of the submit button. $objForm->setSubmitLabel("Send"); //*** Default output. $strOutput = ""; //*** Check the form. if ($objForm->isSubmitted() && $objForm->isValid()) { //*** HTML body of the email. $strMessage = "<html><head><title></title></head><body>"; $strMessage .= $objForm->valuesAsHtml(); $strMessage .= "</body></html>"; //*** Mail headers. $strHeaders = "MIME-Version: 1.0\r\n"; $strHeaders .= "Content-type: text/html; charset=utf-8\r\n"; $strHeaders .= "From: Awesome website <[email protected]>\r\n"; //*** Send the email. mail("[email protected]", "Contact form submitted", $strMessage, $strHeaders); //*** Set the output to a friendly thank you note. $strOutput = "Thank you for your interest. We will contact you as soon as possible."; } else { //*** The form has not been submitted or is not valid. $strOutput = $objForm->toHtml(); } ?> File: oferta.tpl {$strOutput} If I harcode the variable : $smarty->assign('strOutput' , 'strOutput'); I get : strOutput not the content of the variable. but if I change to: $smarty->assign('strOutput' , $strOutput); I get my regular PS page without content, if I look at the source code i can see:
  7. Hi people, I'm trying to integrate a php library to build forms: http://validformbuilder.org I need to build a form and use the library to validate and send the email with the data of the form. So far I have this: <?php include(dirname(__FILE__).'/config/config.inc.php'); include(dirname(__FILE__).'/init.php'); include(dirname(__FILE__).'/header.php'); $smarty->assign(array('strOutput' => $strOutput)); $smarty->display(_PS_THEME_DIR_.'oferta.tpl'); include(dirname(__FILE__).'/footer.php'); //*** Include the library. include(dirname(__FILE__).'/libraries/ValidForm/class.validform.php'); ... ... .... .... And the code used by the library to build and validate the form... .... $strOutput = $objForm->toHtml(); I have created oferta.tpl in the themes folder, and put this code: {strOutput} but is not rendering anything, I'm getting a blank page. If I try to include a simple $hello variable and asign to $smarty->assign(array('hello' => $hello)); blank page too. Any help or advice is well received Thank you!
  8. I think the big problem with PS is the module templating; I mean, whe you need to adapt a module designed to work only in the left or right side of the template is dificult to implement for someone new to PS. In the other hand a theming engine like drupal's relies in 4 or so .tpl files, and beliveme that is POWER!
  9. I think MrBaseball34 is ironizing about that PS will never have template engine like Drupal.
  10. I'm seeing in your compiled css and you have this tag: > </pre> <ul style="height:1710px;"> I searched in yout global css, but couldn't find that tag.
  11. Hello, I'm triying to create a large form in a cms page to gather info from costumers. I need like 8 or so input fields, 2 select fields and a submit button. For security I planned to use re-captcha. Is this the best approach or could be done in a different way, or the default contact-form.php can be duplicated and modified to do what I need? Thank you!!
×
×
  • Create New...