Ozgur34 Posted July 10, 2013 Share Posted July 10, 2013 I use latest PrestaShop 1.5.4 I want to hide submenu of HOME menu link (delivery legal notice, terms ...etc) I already put those (delivery legal notice, terms ...etc) on top menu as menu items so I dont want them to appear under HOME link as submenu How can I do that in Admin panel? If that can not be done, how can I do that manually on PHP files? Thanx Link to comment Share on other sites More sharing options...
vekia Posted July 10, 2013 Share Posted July 10, 2013 you can remove this item then create an simple url to your homepage manually 1 Link to comment Share on other sites More sharing options...
Ozgur34 Posted July 10, 2013 Author Share Posted July 10, 2013 Thanx vekia I did like that, its ok now. Can I ask you something different please? I created a FAQs page under CMS home and its link on top menu. On admin I clicked "edit" to edit that FAQs page of cms. So on text editor I can type things but instead I clicked HTML button so I cpied my own FAQ page with jquery etc a nice looking faq page and pasted into that html source window. But obviously I need to link the css and and js. So on FTP where should I put the css and js and what would be the path on that html source editor to connect that css and js? Thanx in advance. Link to comment Share on other sites More sharing options...
vekia Posted July 10, 2013 Share Posted July 10, 2013 you can put these files into the theme directory, in my opinion this is the best way Link to comment Share on other sites More sharing options...
Ozgur34 Posted July 10, 2013 Author Share Posted July 10, 2013 Ok I ll try to do that thnx. How about moving "Block Advertising" from left column to top (above the horizontal topmenu, very top of the page, top and centered)? I dont think that can be done in Admin, so please could you tell me how do I move it to that top manually? Which file/files to edit? Thanx Link to comment Share on other sites More sharing options...
vekia Posted July 10, 2013 Share Posted July 10, 2013 you're talking about default block advertise module? where by defaut is attached laptop photo? Link to comment Share on other sites More sharing options...
Ozgur34 Posted July 10, 2013 Author Share Posted July 10, 2013 Yes that one pls. thnx Link to comment Share on other sites More sharing options...
vekia Posted July 10, 2013 Share Posted July 10, 2013 in this case you have to modify the module you have to add new function to handle "top" section public function hookTop($params) { if (!$this->isCached('blockadvertising.tpl', $this->getCacheId())) $this->smarty->assign(array( 'image' => $this->context->link->protocol_content.$this->adv_img, 'adv_link' => $this->adv_link, 'adv_title' => $this->adv_title, )); return $this->display(__FILE__, 'blockadvertising.tpl', $this->getCacheId()); } then go to modules > positions click on "transplant" button select module from list select displayTop hook from second dropdown list save changes Link to comment Share on other sites More sharing options...
Ozgur34 Posted July 11, 2013 Author Share Posted July 11, 2013 (edited) Thnx very much VEKIA you re very helpful and u re very good at Presta. I did exactly how said and it worked THANX Edited July 11, 2013 by Ozgur34 (see edit history) Link to comment Share on other sites More sharing options...
Ozgur34 Posted July 11, 2013 Author Share Posted July 11, 2013 (edited) Thnx Edited July 11, 2013 by Ozgur34 (see edit history) Link to comment Share on other sites More sharing options...
Ozgur34 Posted July 11, 2013 Author Share Posted July 11, 2013 Hi Vekia firstly thanx for your great help. I have 2 small problems: -In the main area I want to keep 2 columns only: Left column and main product listingetc wide column, want to get rid off the right column. So main middle column gets wider and includes that right column area too. So my products will be listed in bigger pictures with wider rows. How to do that in Admin? if not in files? - And also I saw this warning in Advanced Parameters > Configuration Information: Optional parameters: Please fix the following error(s) magicquotes What does that mean and what should I do for that? THANX Link to comment Share on other sites More sharing options...
vekia Posted July 11, 2013 Share Posted July 11, 2013 1) this tutorial will be helpful: http://mypresta.eu/en/art/developer/two-columns-default-template-prestashop.html 2) it denepnds on your webhosting configuration, you're on VPS server on shared hosting? im asking, because everything depends on it. If you're on shared - ask your hoster about that because on shared hostings you can't configure server. Link to comment Share on other sites More sharing options...
Ozgur34 Posted July 11, 2013 Author Share Posted July 11, 2013 Thnx saint Vekia I sorted that one out too thanx to you About that magicquotes thing. Yes I have VPS and my VPS host just answered like this: "Please inform them that in your php.ini, the following settings are Off magic_quotes_gpc = Off magic_quotes_runtime = Off Inform them that you have your own VPS with cPanel and ask them to tell us what we need to fix, and forward it to me so I can fix it." Link to comment Share on other sites More sharing options...
Ozgur34 Posted July 12, 2013 Author Share Posted July 12, 2013 (edited) Hi Vekia 1st problem: About that "magicquotes" thing. Yes I have VPS and my VPS host just answered like this: "Please inform them that in your php.ini, the following settings are Off magic_quotes_gpc = Off magic_quotes_runtime = Off Inform them that you have your own VPS with cPanel and ask them to tell us what we need to fix, and forward it to me so I can fix it." And 2nd problem: I want my PrestaShop 1.5.4 site to detect the visitor's browser language (or visitor's country by detecting its IP) so accordingly auto select the front site language then according currency. How do I do that in admin panel? Or PrestaShop doesnt have that functionality and I have to buy that as a module too? Is there a free module to do that? 3rd problem: I want my site to display its top menu like this: Basically I dont want home > categories on top menu but I want each main category items on top menu and under them their own sub categories and their sub categories. How do I achieve that in Admin? Pls see the attached JPG on the next reply. Thanx Edited July 12, 2013 by Ozgur34 (see edit history) Link to comment Share on other sites More sharing options...
Ozgur34 Posted July 12, 2013 Author Share Posted July 12, 2013 Here is the categories JPG related to the above message. Link to comment Share on other sites More sharing options...
vekia Posted July 13, 2013 Share Posted July 13, 2013 hello yo can do the same thing for categories as i described here: http://www.prestashop.com/forums/topic/260445-cms-doesnt-work-properly/page__p__1297847?do=findComment&comment=1297847 just add separate categories instead of whole "home category" Link to comment Share on other sites More sharing options...
Recommended Posts