Jump to content

TOP MENU, I want to hide submenu of HOME menu link


Recommended Posts

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

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

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

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

  1. click on "transplant" button
  2. select module from list
  3. select displayTop hook from second dropdown list
  4. save changes

Link to comment
Share on other sites

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

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

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 by Ozgur34 (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...