Jump to content

Eickhardt

Members
  • Posts

    8
  • Joined

  • Last visited

Profile Information

  • First Name
    Daniel
  • Last Name
    Eickhardt

Eickhardt's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. tuk66: Thanks for the suggestions, I'm reading up on the options now! They look promising. misucmaster: I can't find the option to disable the moving of javascript - are you sure that option exists in v.1.6.0.5?
  2. I solved my problem. I SSH'd into my server and ran: "find /img/p/{whatever-you-have} -type d -exec chmod 775 {} +" This CLI command sets the permissions for all folders (recursively) in the provided path to 775.
  3. Thank you for your reply musicmaster! Does this version you mention have the same features? I'm afraid the module I'm using is already modified, so just replacing it will not do. I'm gonna try it anyway though, thank you again for the suggestion.
  4. Hello fellow prestausers! I'm tasked with adjusting the blocklayered module in such a way that the price range will search on the price pr. square meter (m2) instead of the default price. In other words, I'd like to know where I can edit the SQL that is being executed when searching for a price range, and then add a calculation that takes into account the size of the product in question. You can see here how it works at the moment: http://www.garant.nu/185-stavparket-traegulve#/price-300-1110 This specific link will show an item with a price lower than the price range indicates. This is because the square meter price is calculated in the .tpl, after the search has returned the products whose default price matches the price range. I have searched far and wide to no avail. This looks promising, but does not work in 1.6.0.5, which is what I'm using. I'm looking for a solution that does not require weeks to implement. If that is not possible, I'd also be happy to know that it's simply not possible or a task too big for it's little benefit. Thanks in advance!
  5. Hello fellow prestausers I'm tasked with enabling CCC/smart cache for CSS/JS on an existing 1.6.0.5 site that I did not build myself. CSS works, but Javascript is causing issues. Mainly "$ is not defined", but I also get a couple of other errors. Probably because of the many modules that are installed on the site (some of them are custom made). I have two questions. Can you provide any advice on how to debug this? What is the proper way to add Javascript in a module so it doesn't break CCC? If I knew, I might be able to fix the modules that are breaking it. I haven't been able to find any information regarding this, and I imagine others would like to know aswell. Thanks in advance!
  6. Thanks for your reply Paulito! However, the Top column hook is called on all pages, so even if I remove !Sliders Everywhere! from all other hooks, it is still displayed on all pages in the top column. I have found another solution though. On this page: http://nemops.com/page-specific-prestashop-module/#.VWGodfmqpBc it is explained how to target specific pages from a Prestashop Module’s Hook. To accomplish my goal, I edited some code of the !Sliders Everywhere! module. The code I used specifically was put in homesliderpro.php and looked like this: public function hookdisplayTopColumn($params) { if ('index' != $this->context->controller->php_self) return false; return $this->generalHook('displayTopColumn'); } The added if statement prevents the module from running at all on all other pages than the front page (for the displayTopColumn hook ONLY). Apologies for asking a question there already was a solution for.
  7. Greetings Prestausers, I cannot for the life of me figure out how to place a "!Sliders Everywhere!" module before my home page product Tabs. I am currently modifying a 1.6 default theme. On the 1.6 default theme, there is a slider before/above the tabs. I have removed the default slider, and installed !Sliders Everywhere! instead, but I'm unable to hook it to be displayed above/before the "displayHomeTab" hook. If I put it in the "Top column" hook, I get the desired result, but it is now displayed on all pages. I only want it disaplayed on the front page. My apologies if I have overlooked something obvious, but I have searched the internet to no avail. Thank you!
×
×
  • Create New...