Link to "home" on menu

Silent Hill

Avatar: Silent Hill

2010-01-15 00:43

Hey.

I've been fiddeling around a bit, and I want to have this issue solved now so I'm making yet another forum post :)

In my website, I want to have a link in the menu below the logo banner for "home". This link should go to www.mysite.com and display the frontpage. I can do this, but only if i name the frontpage "home" in title... which generates a SEO confligt, and bad site title...

So, is there a way to add a "home" button that have the normal hoover styles on it, without ruining the menu completely?

» Quick.Cart v3.x

beholder

Avatar: beholder

2010-01-15 02:46

I don't get this. Can you show a pic of what you want?

cgan

Avatar: cgan

2010-01-15 08:27

Silent Hill - Try this. Make a copy of templates/pages_default.tpl. Rename it e.g. to pages_default_notitle.tpl
In this new file delete <h3>$aData[sName]</h3> or make a comment of it.
Choose this new template for your homepage and add it to the menu you want.
You can then change to the Page title you want in SEO part of Pages form.

cgan

Silent Hill

Avatar: Silent Hill

2010-01-15 17:24

Marek: http://www.silentweb.dk/

"Home" is the issue here.

Menu should say "Home"

Title in the site should say something else, like "Accessories, and all other shings I would like in this title...".

this will help search engine optimizing :)

beholder

Avatar: beholder

2010-01-15 18:43

why not put it here?
http://opensolution.org/Quick.Cart/docs/lib/exe/fetch.php?cache=cache&media=page_form_en.jpg

tab SEO and there the Page Title.

Silent Hill

Avatar: Silent Hill

2010-01-15 20:28

because that don't fix the problem :)
that is a tag title, "home" will still be shown, even though you set up another title in the SEO tab.

beholder

Avatar: beholder

2010-01-16 01:59

perhaps a simple mb_str_replace in at the end of actions_client/p.php would work sufficiently for you.

Silent Hill

Avatar: Silent Hill

2010-01-16 23:43

What do you mean?

Just before the end? What exactly would that do?

Silent Hill

Avatar: Silent Hill

2010-01-16 23:45

Oh, and the optimal solution (future release request?) would be a page title, and page headline field. That way, the link could have one name, and the site itself have another headline. :)

This could be used all around on all pages... really, I have the issue on all pages, but its the frontpage that have hit me the most because "home" just don&oslash;t cut it for a title of a mainpage.

boboo

Avatar: boboo

2010-01-17 08:47

Silent Hill,
in the /templates/pages_default.tpl
just at the beginning of the file:
<!-- BEGIN CONTAINER -->
<div id="page">
$sTxtSize
$aImages[3]
$aImages[1]
$aImages[2]
<h3>$aData[sName]</h3>

change this "<h3>entry" .
Just take data from sNameTitle, like this:
<h3>$aData[sNameTitle]</h3>
And now the Menu will stay menu, and the site-title will get the value from the title in SEO-Tab

boboo

Silent Hill

Avatar: Silent Hill

2010-01-18 01:08

Thanks boboo, that was the most awsome solution on this problem I could get. No SEO = no title... can't be any better then that :)

Cheers man!

Back to top
about us | contact