Jump to content

[SOLVED] Change CMS Home link to store front / start page?


olofr

Recommended Posts

Hi

 

This is my top menu:

post-839351-0-47429500-1410418465_thumb.png

 

Hem = Home, the rest is categories for products.

 

When hovering over Hem:

post-839351-0-95941700-1410418464_thumb.png

This is the CMS part: Deliveries, Payment, About us..

 

The problem is when I click Hem (Home), I go to this page:

post-839351-0-77808700-1410418463_thumb.png

URL: http://www.anystore.com/content/category/1-hem

 

But, I want that Hem (Home) link to take my to the storefront, startpage, ex www.anystore.com. Nothing else. How do I change that?

 

Looking forward to some help. Driving me nuts!  :)

 

BR

 

OlofR

Link to comment
Share on other sites

it's necessary to alter block top menu php file,

at the moment there is no other way

 

there is a line like:
 

				case 'CMS_CAT':
					$category = new CMSCategory((int)$id, (int)$id_lang);
					if (count($category))
					{
						$this->_menu .= '<li><a href="'.Tools::HtmlEntitiesUTF8($category->getLink()).'" title="'.$category->name.'">'.$category->name.'</a>';
						$this->getCMSMenuItems($category->id);
						$this->_menu .= '</li>'.PHP_EOL;
					}
					break;

it's necessary to change href="" param

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...