Jump to content

the_raven

Members
  • Posts

    89
  • Joined

  • Last visited

  • Days Won

    1

the_raven last won the day on February 8 2013

the_raven had the most liked content!

3 Followers

About the_raven

  • Birthday 09/13/1986

Contact Methods

Profile Information

  • Location
    Iran - Tehran
  • Interests
    E-commerce,SEO,Music,Guitar Playing,Singing,bodyBuilding..
  • Activity
    Web development agency

the_raven's Achievements

Newbie

Newbie (1/14)

23

Reputation

  1. Finally i solved the problem with one week ago database backup.i lost some data but this was the only thing i could do . I couldn't find the reason of this issue , and i think this topic is not solved yet . anyway, Thank you PascalVG
  2. Hi I did all your recommendations and still have the problem. Unfortunately i have no recent backup from my database . but i restored my database to one of my old backups and after that i could login to backoffice .but this Backup is too old and i will loos many of my data and customizations if want to use it . How can i find and restore only necessary tables from this backup to current database without loosing other data ?
  3. Hi I can't login to my BackOffice (ps 1.6.14 ) From this morning . I didn't install any new module recently. i did all the suggestions from other topics and unfortunatlly they are not worked for me . i did this list : 1 - I checked my back office from other browsers 3 - Ip checker is disable from admin >> Prefrences 2 - i cleaned up all the cookies cache and ... 3 - i tried to change the password using phpmyadmin 4 - i tried ' forgot password' option on login page , it worked , password has sent to my email , but nothing happens when i use that password with no error massage . I have two situation on login page now : 1- if i use a wrong password i will see the red error 2- if i use the correct password that i grab form my email,nothing happens with no error message . i really appreciate anyone can help about this topic , i can access my shop and i have no backup . i don't know what i must to do . Thanks .
  4. You are welcome. I didn't talk about override possibilities but I know the override action must be done in PS override folder.maybe modules override is different but there is no way to override using theme folder at all. I think if you do a google search about prestashop override you will find your answer very soon because override is one of the most discussed topics about prestashop
  5. I wrote a long text for you but before i send it my phone notified me about your post . as i know if you want to use override you need to use override folder ( front controller ) in main PS folder not in theme folder ! but im happy that the code worked for you . Good Luck
  6. kitfoxster I think if you do what i did and explained in my last post , you can make it works . remember after editing the blocktopmenu.php , first go to your backoffice >> advanced parameters >> performance and click clear the cache from top of the page . then refresh your site and check the changes .
  7. Hi dear Nemo Finally you came :-D I'm not much familiar with PHP and when i use your code i receive Blank Screen . I used your code in this way : <img src="_PS_IMG_DIR_ . 'm/'.$manufacturer['id_manufacturer'].'.jpg'"> i added >> ( ' . ) to the beginning of your code so blank screen gone <img src="' . _PS_IMG_DIR_ . 'm/'.$manufacturer['id_manufacturer'].'.jpg'"> but question marks appeared ! ( it seems the produced manufacturers address is incomplete ) _____ Finally but finally after some search i found this code on stackoverflow that it worked for me : <img src="' . __PS_BASE_URI__ . 'img/m/' . (int) $manufacturer['id_manufacturer'] . '.jpg"> and i added a little to it for display specific size of manufacturer images : <img src="' . __PS_BASE_URI__ . 'img/m/' . (int) $manufacturer['id_manufacturer'] .'-'.'medium_default'. '.jpg"> now it display manufacturers images with medium size . Thank you Nemo, by the way your code inspire me for finding the solution . Please do correct the code its still not good way or standard way .
  8. I need your help Guys! I Don't know why i haven't received any answer in this topic yet after days ! and other topic about this question is locked ! I think the support team was better in the past!
  9. Hi Friends What about PS 1.6 ? did you figure this out on ps 1.6 ? and if yes please share the instruction and if not how we can do it ? Thanks in advance
  10. Hi experts I tried to display manufacturers logo instead of their names on Top Menu Manufacturers submenu. I checked this related topic ( https://www.prestashop.com/forums/topic/368828-manufacturer-list-in-top-menu/ ) but i don't know why that topic is locked already. and as dear Nemo1 said there : About line 490 of blocktopmenu.php. Instead of grabbing the text like this Tools::safeOutput($manufacturer['name']) Use an img tag and point it to _PS_IMG_DIR_ . 'm/'.$manufacturer['id_manufacturer'].'.jpg' I found that line on line 515 in my ps 1.6.14 >> $this->_menu .= '<li><a href="'.$link->getManufacturerLink((int)$manufacturer['id_manufacturer'], $manufacturer['link_rewrite']).'" title="'.Tools::safeOutput($manufacturer['name']).'">'.Tools::safeOutput($manufacturer['name']).'</a></li>'.PHP_EOL; and i changed this part : '.Tools::safeOutput($manufacturer['name']).' with this one : '.Tools::safeOutput($manufacturer['img']).' but after that i have nothing instead of manufacturer names and manufacturers sub menu is completely empty . I think i did something as the wrong way , would someone give me some more detailed information about that ? Thanks in advance.
  11. Hi buddies I struggled a lot with this problem and have found a 100% effective solution . do this steps : 1- First you need to download a free ps 1.6 template from internet ( if you have one you can use it ) ( i used useless "ap_office" template :-D ) 2 - Then go to back office >> setting >> templates >> and press add new template or theme from top. 3- after you install the theme succecfuly ,set it up as your active theme. 4- next go to your prestashop folder and delete the default-bootstrap folder completly. 5- here you need to copy this folder again (default-bootstrap) from a fresh installed version of prestashop from your hard or other place . 6- copy the fresh theme folder on your online prestashop theme folder . 7- this is the last part. go to setting >> template again and chenge the template to "default-bootstrap" and accept the module installation without any changes. now you have all the default prestashop template settings again . Good Luck
  12. want to say thank you for this useful module . exactly what i was looking for . just one thing is missing . Image or icon for menu items and sub items . we can do it with css but its gonna be more simple if we can set icon for menu items and sub items on the back office . with this option this module can be a perfect module . hope the developers add this option for us . thank you .
  13. what does die do ?? _____ finally i did "PSfever.com" advise and added single line to main frontController.php and problem solved . now i have js files loaded in my shop but i recently i upgraded my shop to 1.5.2.6 and I have loosed all the changes !! i think it can has a better way !
  14. Dear Nemo, as you said i changed the code this : <?php class FrontController extends FrontControllerCore { public function setMedia() { parent::setMedia(); $this->context->controller->(_THEME_JS_DIR_.'jquery.easydropdown.js'); $this->context->controller->(_THEME_JS_DIR_.'mychanges.js'); $this->context->controller->(_THEME_JS_DIR_.'icheck.min.js'); $this->context->controller->(_THEME_CSS_DIR_.'skins/square/red.css'); $this->context->controller->(_THEME_CSS_DIR_.'easydropdown.flat.css'); $this->context->controller->(_THEME_JS_DIR_.'jquery.tipsy.js'); $this->context->controller->(_THEME_CSS_DIR_.'tipsy.css'); } } but the problem still persist. can you explain me what is the main reason that this codes works on local but not on Live server ? and can you give me some guidance for load this javascript and css files into my theme ? i searched alot but i couldn't find a good and appropriate way to do that . even the override is not a good way in my idea , because it is separated from theme and if you move the theme you will lost some codes.. thank you
×
×
  • Create New...