Jump to content


  • Posts

  • Joined

  • Last visited

Profile Information

  • Activity

Wollie's Achievements


Newbie (1/14)



  1. luijt99 and webdigit thank you for your suggested solutions. I haven't tried them personally but for me, logically it doesn't make sense for the issue to be .htaccess related if I can complete the task on my remote server using IE but not Firefox. MadDawg thanks for your input. I've never had the situation where I could upload for a period of time and then the service stops working as you have described. Which browser were you using? kashibabu you make some brilliant points and I feel for you with how much effort you have put into this software to get very little in return. Hopefully the developers will take note and can bug-fix and release a patch. Perhaps taking one step back would help in taking two steps forward! afranco I'm sorry you feel I haven't written into my post but I have been away. I have provided as much information as I can, I have detailed my case and as each case is different only you can decide which post best fits your situation. As a general update to the thread I have made no further progress in determining what is causing this issue. As I put in y first post: so where exactly can the problem be? Sorry for not being much help personally but I am still relatively new with Prestashop development which is why I'm looking to more experienced users for assistance. I still haven't found any other solutions searching the forums and the internet in general.
  2. A lot of the 'solutions' I found suggested doing this too. I tried it out and it didn't work either. All the other 'solutions' I have found pointed to here: https://github.com/P...69c7c8fa4b34dea I tried changing these files on my remote server and again it made no difference. Some additional information - I enabled firebug and tried to upload the image again and this was the result in the console: http://puu.sh/1XtkZ It may be of use to someone else?
  3. I have tried searching all the forums and couldn't find a solution so my apologies if this has already been resolved and I just haven't found it. I am starting a new store and have done a fresh install of prestashop on a remote server. I navigated to the BO and created a new product. I then tried to upload a product image but it throwed an 'undefined' error. The image is well within the size and resolution boundaries. I did the same instalation of prestashop on a local server. I navigated to the BO, created a new product and tried to upload the same image. This time it worked fine. So far all of this has been done using Firefox. I then navigated to the BO of my remote server using Internet Explorer. I tried uploading the same product image and it worked fine. So now I am really confused. The problem can't be with the image - it works fine on both local and remote servers The problem can't be with the remote server - it worked fine when using internet explorer The problem can't be with the browser - it worked fine on my local server using Firefox So what is happening here? I really want to be able to use Firefox for this. Any help you can give me would be really appreciated. EDIT: Tested all the other browsers and it only seems to work in IE for the remote server
  4. For anyone interested, I think I have solved this problem now. I changed blockcms.php and can now add CMS blocks to the footer section. I found that it was not possible (within my coding abilities) to have CMS blocks in the footer section AND keep the 'Footer's various links Configuration' so I got rid of it all together. Is there any chance someone could double-check my code and make sure it is still secure and fully-functional please? So far I have found no problems but I'm not the greatest coder so any help would be great! Thanks again. P.S. I have tried to add comments to anything I have changed/added (hopefully that's helpful?) '// Wollie' appears at the end of every line I have changed/added '/*W*/' indicates the start point and end point of code changes in the middle of lines '// Wollie ... // END Wollie' indicates a block of code changed/added blockcms.php
  5. Thanks for the speedy reply tdr170! The 'Prestalove Easy Footer' is a great module (and even better it's FREE!!) but it doesn't quite do what I want (or at least as far as I understand, it doesn't!). The easy footer module provides a nice user interface in the back office to add custom html that can create the style of footer I'm after. However, I'm looking to make use of the features of the CMS block module in the back office (the ability to see all the CMS pages and be able to create links to them 'dynamically' as opposed to having to hard code each one as required when using the easy footer module). I think, if I'm not mistaken, I could achieve my footer simply by hard coding all the links into footer.tpl (and not even use the easy footer module) but I want to avoid this. Hopefully what I've said makes sense, but I really appreciate the link - thank you! Any other suggestions are very welcome. Thanks again!
  6. I've been playing around with themes in Prestashop and noticed that the CMS block (used to create links to cms pages) has poor extensibility natively. I want to create a footer similar to this: As far as I can see... natively there is no way to have more than one CMS block in the footer position. However, there are the options to have multiple CMS blocks in the left column and right column positions. How can I create a new option... let's say 'footer'... that acts like the left and right column (allows multiple CMS blocks) but places them in the footer? I'm pretty sure I have to edit 'blockcms.php' in the modules folder but I'm not certain on what to add to the code or change to achieve the desired result. Any help would be really appreciated. Thanks!
  7. I am relatively new to prestashop and have been considering using it for a project of mine. Ultimately, I want to achieve the site structure as detialed in the images at the bottom of this post (please note the urls). I am developing on a local wamp server though for the purposes of this post I have assumed that the root is an actual domain (http://www.mydomain.com/). I am using the 'permanent links' module for the main site navigation. Currently, I have prestashop installed in the root (http://www.mydomain.com/). I have edited the home page using the 'Home text editor' module to insert the content I require. I have excluded the modules that I don't wish to appear on the home page in the back office (back office > modules > positions > edit > exceptions). I have created an about-us.php file in the root (root/about-us.php): require(dirname(__FILE__).'/config/config.inc.php'); ControllerFactory::getController('AboutUsController')->run(); And associated AboutUsController.php in the controllers folder (root/controllers/AboutUsController.php): class AboutUsControllerCore extends FrontController { public $php_self = 'about-us.php'; public function displayContent() { self::$smarty->display(_PS_THEME_DIR_.'about-us.tpl'); } } I have created an about-us.tpl file in my theme where I added the html code to display the required content. I modified the 'permanent links' module to include a link to about-us.php. I have added about-us.php to the list of urls in the back office (back office > preferences > seo & urls > add new). I have excluded the modules that I don't wish to appear on the about page. I tested it and everything worked fine: http://www.mydomain.com/en/about-us displays the content I want. I then repeat the process for shop.php (root/shop.php): require(dirname(__FILE__).'/config/config.inc.php'); ControllerFactory::getController('ShopController')->run(); And ShopController.php (root/controllers/ShopController.php): class ShopControllerCore extends FrontController { public $php_self = 'shop.php'; public function displayContent() { self::$smarty->display(_PS_THEME_DIR_.'shop.tpl'); } } And shop.tpl in my theme: {$HOOK_HOME} I tested it and everything worked fine: http://www.mydomain.com/en/shop displayed the conetent I wanted. The issue is when I click a link to a product category: The url is: http://www.mydomain....roduct-category The url I want is: http://www.mydomain....oduct-category. Is there an easy solution to what I want to achieve? Appolgies for the long post, I hope it is clear and thank you for any help.
  • Create New...