Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


Snade last won the day on December 31 2011

Snade had the most liked content!


About Snade

  • Birthday 09/26/1988

Contact Methods

  • Skype

Profile Information

  • Location
    Presta Universe
  • Activity

Recent Profile Visitors

12,326,974 profile views

Snade's Achievements


Newbie (1/14)



  1. Hello, I got this error when trying to upload category image: "Unexpected token <" What can be the reason for this JS error ? ------ currently Im working on test website, that has been updated from 1.5 to 1.6. Maybe the upgrade or moving is somehow related. This is the only place it gives me error when uploading image, tried on other locations and they work good Thank you very much ========= UPDATE =========== I found this http://stackoverflow.com/questions/18561556/syntax-error-unexpected-token "This usually happens when you're including or posting to a file which doesn't exist. The server will return a regular html-formatted "404 Not Found" enclosed with '<html></html>' tags. That first chevron < isn't valid js nor valid json, therefore it triggers an unexpected token. What if you try to change 'funcoes/enquete_adm.php' to an absolute url, just to be sure? " ===== solution ===== Uninstall, deleting files, getting original files from presta archive and installing again categories block module
  2. Hello everyone, I want to develop a custom theme out of the prestashop default one, but I cannot export the theme. When using the Export button in Preferences->Themes, and when trying with the Import/Export module, the result is the same 0 bytes zip file. Do you have any idea why the prestashop cant generate the archive, maybe some permissions issue or what? ----- I've also tried to copy the whole theme folder, which seems to half-work, I get the theme in the admin panel, I can activate it, but there are many problems with it like broken search, completly missing hover effects on product list and more. If you have idea how can I make the copied version work, thats also good for me. Thanks in advance, all the best, Alexander
  3. Hello everyone, I'm trying to get Image Mapping (scenes) show on homepage. I've found this solution in the forum, but cant get it running in http://www.prestashop.com/forums/topic/43699-solved-image-mapping-on-the-home-page/page-2?do=findComment&comment=1174995 <?php class IndexController extends IndexControllerCore { public function __construct() { parent::__construct(); } public function setMedia() { parent::setMedia(); if ($this->context->getMobileDevice() == false) { //TODO : check why cluetip css is include without js file $this->addCSS(array( _THEME_CSS_DIR_.'scenes.css' => 'all', _THEME_CSS_DIR_.'category.css' => 'all', _THEME_CSS_DIR_.'product_list.css' => 'all', )); if (Configuration::get('PS_COMPARATOR_MAX_ITEM') > 0) $this->addJS(_THEME_JS_DIR_.'products-comparison.js'); } } public function process() { parent::process(); $this->assignScenes(); } /** * Assign scenes template vars */ protected function assignScenes() { $this->category->id=2; // Scenes (could be externalised to another controler if you need them) $scenes = Scene::getScenes($this->category->id, $this->context->language->id, true, false); $this->context->smarty->assign('scenes', $scenes); // Scenes images formats if ($scenes && ($sceneImageTypes = ImageType::getImagesTypes('scenes'))) { foreach ($sceneImageTypes as $sceneImageType) { if ($sceneImageType['name'] == ImageType::getFormatedName('m_scene')) $thumbSceneImageType = $sceneImageType; elseif ($sceneImageType['name'] == ImageType::getFormatedName('scene')) $largeSceneImageType = $sceneImageType; } $this->context->smarty->assign(array( 'thumbSceneImageType' => isset($thumbSceneImageType) ? $thumbSceneImageType : null, 'largeSceneImageType' => isset($largeSceneImageType) ? $largeSceneImageType : null, )); } } } In your index.tpl: {if $scenes} <!-- Scenes --> {include file="$tpl_dir./scenes.tpl" scenes=$scenes} {/if} I dont have any idea why its not working. Will appriciate very much any help Thank you very much All the best, Alexander
  4. Cant get it running on, anyone have any ideas? Maybe even different approach ?
  5. I just want to thank you so much for writing the styles with SASS and using bootstrap3.0!
  6. Hello guys, I'm looking for someone who can help me with a custom wordpress plugin. The plugin is will be simple I hope, and I will help with the front-end part. in short, I need backend possibility to add stores to the company portfolio. The portfolio is in the shape of a map, and will have tabs-like navigation. So, you click, METRO, and all metro stores appear on the map and below the map(with details) What I need is plugin so the client can add/remove stores anytime from the backend. I see it like that, 1. possibility to add tab(brand). the separate brands will be actually separate tabs with different content 2. possibility to add/remove store under the brand/tab. In the backend the user will have to enter Name, Address and Link to the store page AND X: Y: cordinates for the map icon Basically, it will be only adding content and creating html elements and I can supply the front-end by your requirements, so you will be able to concentrate on the backend. I hope that some of you are available after the summer holidays Please send your quotes as PM or E-mail (alexander {at} webiz.bg) Thank you very much and All the best, Alexander
  7. Hi Not sure if there is an option to set this color trough the admin panel of the theme, but in case there is not, you can use this css: #cart_block .first_price { color: #ff5db1; } ofc replace the color with your own
  8. What can be better for moving dom elements, than actually moving them ? not sure what tips you expect....
  9. also, have you submited new sitemap in webmaster tool? That will probably solve search engine problem as google will know your new pages, but still your old links wont be working
  10. Not fully sure, but I think your site has worked some time without friendly urls, and now when you have turned it on, the already known urls are no longer working(replaced by friendly) and they give 404 I think normally they should be working, but as you have disabled the languages, there is no longer id_lang property. My only advice is to make by hand 301 redirects for each of these. Have to personally see and play with this to find more neat solution. Hopefully someone will share ideas also.
  11. Ofcource it is, actually, many of the paid themes got admin panel from where you can do that. In case there is no option for changeing what you want, you can always edit the theme files directly
  12. I also need to see the design to give you exact price, but if its really straigh forward you can be sure that it will fit your budget. But lets discuss price by e-mail after you send me the psd. My e-mail is alexander(at)webiz.bg (@) Even better, you can contact me directly on skype - speeder-snade
  • Create New...