Jump to content

fabrizio.brignone

Members
  • Posts

    26
  • Joined

  • Last visited

Profile Information

  • Location
    Nettuno
  • Activity
    Developer

fabrizio.brignone's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi, i have a trouble. I try to login in my back office, prestashop accept username and password, but after it reload the login page instead of backoffice panel. Why?
  2. Hi, which table contains the carrier'range price( talking about weight)??
  3. Salve, sarà una discussione fatta e rifatta, ma io nel mio prestashop 1.6 non ho trovato nessuna soluzione. Ho windows server 2012 con iis8. Come devo fare per far funzionare il mod_rewrite? Grazie
  4. Maybe a i understand, but how i can use two controller in the same page?
  5. For sure but, when in my homepage when i click to "Contact Us" what happenend? When open the page mysite.com/contact-us what is the first page,class,module.... that is loaded?
  6. SAlve, ho una domanda da farmi, sperando che qualcuno con molta pazienza piò aiutarmi a capire. Ho istallato sulla mia macchina prestashop con il tema di default (default-bootstrap). Cliccando in alto a destra sulla voce "Contattaci" vengo rindirizzato sulla pagina con il form mail, fin qui tutto ok. Volevo sapere proprio quali passaggi fa prestashop per caricare la pagina. Cioè mi pare di aver capito che la pagina visualizzata è scritta in contact-form.tpl. Il problema è che in quel file ci sono variabili come $confirmation,$alreadySent che appartengono a smarty, ma non riesco a capire in che modo vengono inizializzate. Qualcuno potrebbe spiegarmelo? Grazie
  7. And if you want to calling this classes from a form, how i can do it?
  8. Ok, i have copied che code from the contact-form.tpl but i have a problem....the variable isn't initializated so i can't get the value. This is the code attached to product.tpl <!-- /MODULE Block contact infos --> <form action="{$request_uri|escape:'html':'UTF-8'}" method="post" class="contact-form-box" enctype="multipart/form-data"> <fieldset> <h3 class="page-subheading">{l s='Info'}</h3> <div class="clearfix"> <div class="col-xs-12 col-md-3"> <div class="form-group selector1"> <label for="id_contact">{l s='Subject Heading'}</label> {if isset($customerThread.id_contact)} {foreach from=$contacts item=contact} {if $contact.id_contact == $customerThread.id_contact} <input type="text" class="form-control" id="contact_name" name="contact_name" value="{$contact.name|escape:'html':'UTF-8'}" readonly="readonly" /> <input type="hidden" name="id_contact" value="{$contact.id_contact}" /> {/if} {/foreach} {else} <select id="id_contact" class="form-control" name="id_contact"> <option value="0">{l s='-- Choose --'}</option> {foreach from=$contacts item=contact} <option value="{$contact.id_contact|intval}" {if isset($smarty.request.id_contact) && $smarty.request.id_contact == $contact.id_contact}selected="selected"{/if}>{$contact.name|escape:'html':'UTF-8'}</option> {/foreach} </select> </div> <p id="desc_contact0" class="desc_contact"> </p> {foreach from=$contacts item=contact} <p id="desc_contact{$contact.id_contact|intval}" class="desc_contact contact-title" style="display:none;"> <i class="icon-comment-alt"></i>{$contact.description|escape:'html':'UTF-8'} </p> {/foreach} {/if} <p class="form-group"> <label for="email">{l s='Email address'}</label> {if isset($customerThread.email)} <input class="form-control grey" type="text" id="email" name="from" value="{$customerThread.email|escape:'html':'UTF-8'}" readonly="readonly" /> {else} <input class="form-control grey validate" type="text" id="email" name="from" data-validate="isEmail" value="{$email|escape:'html':'UTF-8'}" /> {/if} </p> {if !$PS_CATALOG_MODE} {if (!isset($customerThread.id_order) || $customerThread.id_order > 0)} <div class="form-group selector1"> <label>{l s='Order reference'}</label> {if !isset($customerThread.id_order) && isset($is_logged) && $is_logged} <select name="id_order" class="form-control"> <option value="0">{l s='-- Choose --'}</option> {foreach from=$orderList item=order} <option value="{$order.value|intval}"{if $order.selected|intval} selected="selected"{/if}>{$order.label|escape:'html':'UTF-8'}</option> {/foreach} </select> {elseif !isset($customerThread.id_order) && empty($is_logged)} <input class="form-control grey" type="text" name="id_order" id="id_order" value="{if isset($customerThread.id_order) && $customerThread.id_order|intval > 0}{$customerThread.id_order|intval}{else}{if isset($smarty.post.id_order) && !empty($smarty.post.id_order)}{$smarty.post.id_order|escape:'html':'UTF-8'}{/if}{/if}" /> {elseif $customerThread.id_order|intval > 0} <input class="form-control grey" type="text" name="id_order" id="id_order" value="{$customerThread.id_order|intval}" readonly="readonly" /> {/if} </div> {/if} {if isset($is_logged) && $is_logged} <div class="form-group selector1"> <label class="unvisible">{l s='Product'}</label> {if !isset($customerThread.id_product)} {foreach from=$orderedProductList key=id_order item=products name=products} <select name="id_product" id="{$id_order}_order_products" class="unvisible product_select form-control"{if !$smarty.foreach.products.first} style="display:none;"{/if}{if !$smarty.foreach.products.first} disabled="disabled"{/if}> <option value="0">{l s='-- Choose --'}</option> {foreach from=$products item=product} <option value="{$product.value|intval}">{$product.label|escape:'html':'UTF-8'}</option> {/foreach} </select> {/foreach} {elseif $customerThread.id_product > 0} <input class="form-control grey" type="text" name="id_product" id="id_product" value="{$customerThread.id_product|intval}" readonly="readonly" /> {/if} </div> {/if} {/if} {if $fileupload == 1} <p class="form-group"> <label for="fileUpload">{l s='Attach File'}</label> <input type="hidden" name="MAX_FILE_SIZE" value="2000000" /> <input type="file" name="fileUpload" id="fileUpload" class="form-control" /> </p> {/if} </div> <div class="col-xs-12 col-md-9"> <div class="form-group"> <label for="message">{l s='Message'}</label> <textarea class="form-control" id="message" name="message">{if isset($message)}{$message|escape:'html':'UTF-8'|stripslashes}{/if}</textarea> </div> </div> </div> <div class="submit"> <button type="submit" name="submitMessage" id="submitMessage" class="button btn btn-default button-medium"><span>{l s='Send'}<i class="icon-chevron-right right"></i></span></button> </div> </fieldset> </form>
  9. where can i found the mail form code? from contact_form?
  10. I want to put a module in another module. By coding, how i can do it? in my case i want to show shop information, showed in the foooter, in the contact us page.
  11. hi, i want to add an email form in every product's page. I think to edit the product.tpl but i can't see where i change the code. someone can help me?
  12. Ho fatto cosi ho creato prodotto associandolo a quella categoria, ma quando clicco sul menu delle categoria, alla voce della categoria dove ho inserito il prodotto, mi manda ad un lick friendly ma non trova la pagina. Come mai?
  13. Hi i'm a beginner in PrestaShop. I have a problem in my shop.I have created a category, it is show in the home page,i click it and the browser open the page: www.mysite.com/12-categoryname. but i have the 404 error page not found. How i create the category page? Can i do by admin panel, or i write code to do this?
×
×
  • Create New...