Jump to content

Cannot remove "Blog" menu item from Top Horizontal Menu (PS1.6.1.11)


Recommended Posts

Hope someone can help.

 

I cannot remove "Blog" menu item from Top Horizontal Menu (PS1.6.1.11), it is not showing as an item under Top Horizontal Menu module configuration, so cannot remove this way. I think it was part of the sample content on install.

 

The link from the Blog menu item goes to www.thedomainname.com/smartblog.html and 404 error this page cannot be found!

 

Be very good to be able to delete this from my main menu bar

post-1382355-0-67365400-1490082078_thumb.png

Link to comment
Share on other sites

Thanks Dave and for the quick reply.

 

Good idea, I have followed your  advice and reset the  Top Horizontal Menu module and re-added the menu items, the Blog item has unfortunately returned as above, pointing to /smartblog.html again! Any other suggestions would be much appreciated.

Edited by ricop (see edit history)
Link to comment
Share on other sites

  • 1 month later...

Never mind I found the solution.

 

You need to remove a piece of code from the blocktopmemnu.tpl (theme/'yourtheme'/modules/blocktopmenu/blocktopmenu.tpl), then it will disappear.

 

This part:

{if Module::isInstalled("smartblog") && Module::isInstalled("smartbloghomelatestnews") && (Module::isEnabled("smartblog")) && (Module::isEnabled("smartbloghomelatestnews"))}
				<li class="ttblog">
					<a title="Blog" href="{$base_dir}smartblog.html">Blog</a>
				</li>
			{/if}

Hope it helps someone else!

Link to comment
Share on other sites

i thnk that it depends on theme because default one does not have a smartblog,

so i think that this is not an universal way to remove the url.

 

what theme you use? it is worth to mention it.

Link to comment
Share on other sites

i thnk that it depends on theme because default one does not have a smartblog,

so i think that this is not an universal way to remove the url.

 

what theme you use? it is worth to mention it.

 

Hi Vekia,

 

Yip I agree, usually you can just remove the buttons within the top menu bar module settings, but it seems it was 'hard coded' into this one.

The theme is called Coffee Store.

https://addons.prestashop.com/en/drink-tobacco-themes/22430-coffee-store.html

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...