Jump to content

ovy79ro

Members
  • Posts

    40
  • Joined

  • Last visited

About ovy79ro

  • Birthday 06/10/1979

Profile Information

  • Activity
    Freelancer

Recent Profile Visitors

4,592,138 profile views

ovy79ro's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. Hello, I have query: I need to display value of 'customer' column but I did not manage how to do that. This does not work: $customer = $this->content['customer']; Any help here, please?
  2. Hi, I don't know if it's the right place to post this question but i will try: if i'm a webdesign company and i sell to my customers websites that use prestashop platform do i need to use mysql comercial license? I have read the terms listed on the mysql site but did not get a clear answer. Thank you!
  3. I try this jquery code: $(document).ready(function() { $("#category").click(function(){ $(".tree-folder-name").find(":input[type=checkbox]").each(function(){ $(this).prop("checked", true); $(this).parent().addClass("tree-selected"); }); }); }); But it is not working.
  4. Hi, I use helper class to display product category tree in back office but i want to automatically select child category when parent category is selectet. The code that i use is: array( 'type' => 'categories', 'label' => $this->l('Product Category'), 'name' => 'category', 'required' => true, 'tree' => array( 'id' => 'category', 'selected_categories' => array((int)Configuration::get('category')), 'use_checkbox' => true, ) )
  5. Hi all! I want o make a module that add new functionality to product.tpl page on prestashop 1.6. For example i want that module to add a jquery effect when a client mouse hover product description line. I follow prestashop tutorial 'How to make prestashop 1.6 module' but this doesn't help me because this tutorial explain how to add a new block in front page. I see that classes can be modify using override but how about tpl files? Is there an tutorial that explain how to modify tpl files witn new module? Thank you!
  6. Found the solution: 'use_checkbox' => true
  7. Hello! Sorry for reopening this thread. I try to list category tree list, I use the code below, but this code list with radio buttons, and i need checkbox buttons, like in picture from first post. I dont want to use any .tpl file. array( 'type' => 'categories', 'label' => $this->l('Product Category'), 'desc' => $this->l('Product Category.'), 'name' => 'category', 'tree' => array( 'id' => 'category', 'selected_categories' => array((int)Configuration::get('category')), ) ), Does anyone know how to do that? Thank you!
  8. Hi, I need to get URL parameter for an XML file, but Tools::getValue() removes backslash from URL ("D:\update_preturi\ral.xml" becomes "D:update_preturiral.xml"). The solution is to use $_POST or $_GET, but if i use them I don't pass the prestashop validation. What is the solution? Thank you!
  9. Hello, When you turned off those modules, the error still appers? Maybe you need to uninstall those modules.
  10. Hello, htmlspecialchars function require only string parameter. The syntax is: htmlspecialchars(string,flags,character-set,double_encode) For example: $string = 'My name is John'; echo htmlspecialchars($string); If your $string variable is an array, you get the error like in your post.
  11. Solved! Work with this: <option value="1" '.(Tools::getValue('id_supplier') == 1 ? 'selected="selected"' : '').'>1</option>
×
×
  • Create New...