Main menu & repeating navigation titles

Need help with the Administration of your Joomla! site? Pop your questions in here.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
Digweed
I've been banned!
Posts: 10
Joined: Mon May 08, 2006 3:49 pm

Main menu & repeating navigation titles

Post by Digweed » Mon May 08, 2006 3:57 pm

Probably easiest to describe this problem by referring to the site I'm developing - http://solidscripts.co.uk

Basically, the first item on the main menu is a front page component labelled "Home" with some static content - nothing too radical .However, if I click it's link in the menu, the navigation changes to "Home (arrow) Home"; likewise any menu items linked to the home item display "Home (arrow) Home (arrow) " .

What is want is a few items hanging (collapsibly) off the home item and everything else below, without he navigation silliness. It can't be that hard can it? How's it done?

All help appreciated,

Dig

Digweed
I've been banned!
Posts: 10
Joined: Mon May 08, 2006 3:49 pm

Re: Main menu & repeating navigation titles

Post by Digweed » Tue May 09, 2006 12:40 pm

Anybody? I've read all the FAQs about menus and front pages and all they really say is "The first item on the menu is the front page". This is a really irritating problem that's driving me round the bend!

Digweed
I've been banned!
Posts: 10
Joined: Mon May 08, 2006 3:49 pm

Re: Main menu & repeating navigation titles

Post by Digweed » Wed May 10, 2006 12:41 pm

Why's nobody answering this? I thought open source was all about helping others! It is

a) because this *is* covered in a FAQ - if so, tell me!

b) because nobody has ever seen this problem before - unlikely

c) because I'm asking in the wrong place - so tell me!

d) because you think I'm an arsehole - a curt reply would still be appreciated

e) other - fill me in.

Cheers,

Digweed

Digweed
I've been banned!
Posts: 10
Joined: Mon May 08, 2006 3:49 pm

Re: Main menu & repeating navigation titles

Post by Digweed » Sun May 14, 2006 11:59 pm

Thank you so much for all your help. I'll post in Elbonian in future, it won't make any difference.

User avatar
DeanMarshall
Joomla! Hero
Joomla! Hero
Posts: 2352
Joined: Fri Aug 19, 2005 2:26 am
Location: Lancaster, Lancashire, United Kingdom
Contact:

Re: Main menu & repeating navigation titles

Post by DeanMarshall » Mon May 15, 2006 12:38 am

Perhaps you would be willing to try again.
If no-one has answered it may be that they are having difficulty understanding your problem.
I am sorry to say I don't fully understand.

Your problem is with the 'breadcrumb' trail - yes?
The 'home -> home' is only duplicated on the home page.
Subsequent pages show 'Home -> Our Problem-Solving Approach -> Who Can Benefit From Our Services'
This seems quite the usual and expected behaviour of such a trail.

I can't replicate your 'home -> home -> something else'.

If you don't want that to show at all then you can remove the appropriate code from your template's index.php file.

Sorry, I found this line particularly impenetrable:
What is want is a few items hanging (collapsibly) off the home item and everything else below, without he navigation silliness.
Perhaps  can you clarify.

Dean

Edit: typo.
Dean Marshall Consultancy - six Joomla experts - http://www.deanmarshall.co.uk/

Joomla Experts - Joomla Support http://www.deanmarshall.co.uk/joomla-se ... pport.html

Digweed
I've been banned!
Posts: 10
Joined: Mon May 08, 2006 3:49 pm

Re: Main menu & repeating navigation titles

Post by Digweed » Mon May 15, 2006 1:12 am

Thanks for the response! I explained my problem as well as I could..

Yes, it's the home / home thing that's bugging me. I want a menu that looks like this -

Home
  Our Problem Solving Approach
  Helping you Sell
  Who Can Benefit From Our Services
Our Services
etc etc.

What happens (when "Our Problem Solving Approach" has "Home" as it's parent item*) is that the navigation bar displays "Home / Home / Our Problem Solving Approach" when "Our Problem Solving Approach"  is clicked.

Is there a way of effectively loosing the top "Home"? The front page is done with the front page component fwiw.

Hope that makes sense,

Dig

* changed so "Home" is the parent of "Our Problem Solving Approach" to show problem.
DeanMarshall wrote: Perhaps you would be willing to try again.
If no-one has answered it may be that they are having difficulty understanding your problem.
I am sorry to say I don't fully understand.

Your problem is with the 'breadcrumb' trail - yes?
The 'home -> home' is only duplicated on the home page.
Subsequent pages show 'Home -> Our Problem-Solving Approach -> Who Can Benefit From Our Services'
This seems quite the usual and expected behaviour of such a trail.

I can't replicate your 'home -> home -> something else'.

If you don't want that to show at all then you can remove the appropriate code from your template's index.php file.

Sorry, I found this line particularly impenetrable:
What is want is a few items hanging (collapsibly) off the home item and everything else below, without he navigation silliness.
Perhaps  can you clarify.

Dean

Edit: typo.

User avatar
DeanMarshall
Joomla! Hero
Joomla! Hero
Posts: 2352
Joined: Fri Aug 19, 2005 2:26 am
Location: Lancaster, Lancashire, United Kingdom
Contact:

Re: Main menu & repeating navigation titles

Post by DeanMarshall » Mon May 15, 2006 1:46 am

That is weird, I just looked at a few of my sites and noticed that I don't use the 'breadcrumb' - probably for a similar reason.
My only suggestion is to not give the 'home' item any child items. Or turn the breadcrumb off.
Not the best solutions I agree.

I am not sure where the code for this is located - but it does look like it is going wrong somewhere.

I had to remove the breadcrumb from a clients site recently purely because they didn't like seeing home -> home on the frontpage - without any child items.  Looks to me like the core code needs 'tweaking'.

Dean
Dean Marshall Consultancy - six Joomla experts - http://www.deanmarshall.co.uk/

Joomla Experts - Joomla Support http://www.deanmarshall.co.uk/joomla-se ... pport.html

User avatar
toubkal
Joomla! Hero
Joomla! Hero
Posts: 2860
Joined: Thu Aug 18, 2005 4:35 pm
Location: Cheshire, England
Contact:

Re: Main menu & repeating navigation titles

Post by toubkal » Mon May 15, 2006 12:53 pm

I believe that the pathway expects the homepage to be the original main menu homepage which has an Itemid of 1

it is treating your homepage as though it was any other page and doing home > home

I have heard that people remedy this by going into the database and editing the Itemid for your new homepage to be 1

it would make sense not to have 2 menus with Itemid of 1 so if the original home exists, you will likely need to ammend it's Itemid or delete it.
Do you want the answer to be as vague as your question?

User avatar
toubkal
Joomla! Hero
Joomla! Hero
Posts: 2860
Joined: Thu Aug 18, 2005 4:35 pm
Location: Cheshire, England
Contact:

Re: Main menu & repeating navigation titles

Post by toubkal » Mon May 15, 2006 1:04 pm

by the way, you can check the effect of the Itemid, by putting it in the browser url e.g.

http://solidscripts.co.uk/component/opt ... /Itemid,1/

and the pathway looks correct
Do you want the answer to be as vague as your question?

Digweed
I've been banned!
Posts: 10
Joined: Mon May 08, 2006 3:49 pm

Re: Main menu & repeating navigation titles

Post by Digweed » Mon May 15, 2006 4:48 pm

toubkal wrote: I have heard that people remedy this by going into the database and editing the Itemid for your new homepage to be 1
That's fixed it. Good work Mr Toubkai - thanks muchly.

Dig

Digweed
I've been banned!
Posts: 10
Joined: Mon May 08, 2006 3:49 pm

Re: Main menu & repeating navigation titles

Post by Digweed » Mon May 15, 2006 4:50 pm

And Dean - ta for restoring my faith on OS projects. I was considering hacking the php around to drop the initial "home" in the breadcrumb, as you call it but a database mod is much easier..

Dig

User avatar
toubkal
Joomla! Hero
Joomla! Hero
Posts: 2860
Joined: Thu Aug 18, 2005 4:35 pm
Location: Cheshire, England
Contact:

Re: Main menu & repeating navigation titles

Post by toubkal » Mon May 15, 2006 5:48 pm

By the way, even when working correctly some people do not like the pathway showing at all for the home page.

this can be done with some php in the template rather than hacking the core

Code: Select all

<?php if ( $option != "com_frontpage" ) { ?>
     <span class="pathway"><?php mosPathWay(); ?></span>
     <?php } ?>
Do you want the answer to be as vague as your question?

User avatar
DeanMarshall
Joomla! Hero
Joomla! Hero
Posts: 2352
Joined: Fri Aug 19, 2005 2:26 am
Location: Lancaster, Lancashire, United Kingdom
Contact:

Re: Main menu & repeating navigation titles

Post by DeanMarshall » Mon May 15, 2006 8:16 pm

Digweed wrote: And Dean - ta for restoring my faith on OS projects. I was considering hacking the php around to drop the initial "home" in the breadcrumb, as you call it but a database mod is much easier..

Dig
Toubkal knows his stuff doesn't he.
I still think it looks like the core code needs tweaking, there is an implicit assumption in the code there - somewhere.

Dean
Dean Marshall Consultancy - six Joomla experts - http://www.deanmarshall.co.uk/

Joomla Experts - Joomla Support http://www.deanmarshall.co.uk/joomla-se ... pport.html

zephyrjs
Joomla! Apprentice
Joomla! Apprentice
Posts: 25
Joined: Wed Aug 24, 2005 9:36 pm

Re: Main menu & repeating navigation titles

Post by zephyrjs » Thu Sep 21, 2006 4:25 pm

toubkal wrote: By the way, even when working correctly some people do not like the pathway showing at all for the home page.
Anyone know of a way to hide the pathway completely without hacking the template?

User avatar
DeanMarshall
Joomla! Hero
Joomla! Hero
Posts: 2352
Joined: Fri Aug 19, 2005 2:26 am
Location: Lancaster, Lancashire, United Kingdom
Contact:

Re: Main menu & repeating navigation titles

Post by DeanMarshall » Thu Sep 21, 2006 9:49 pm

I have seen people build a module to do the mosPathWay() breadcrumb.
But if your template has this hardcoded in - as most do - it would require an edit (hack) to remove it.

Dean
Dean Marshall Consultancy - six Joomla experts - http://www.deanmarshall.co.uk/

Joomla Experts - Joomla Support http://www.deanmarshall.co.uk/joomla-se ... pport.html

x126
Joomla! Explorer
Joomla! Explorer
Posts: 405
Joined: Sun May 07, 2006 8:24 pm

Re: Main menu & repeating navigation titles

Post by x126 » Mon Jan 28, 2008 6:31 pm

toubkal - can you help me out here - im having a similiar but NOT the same issue.

My problem is outlined in this post - http://forum.joomla.org/index.php/topic,258282.0.html

overview: the Global site name is repeating on the Home page only (frontpage) - I use JoomSEF (artio) JoomSEO 1.15

I have tried every combination IMAGINABLE - all other pages work fine - except the darn Home page

Ive questioned just about everything I can think of at this point - Im resurecting old threads to hopefully get some insight

Please if anyone knows what the @!%##$$ is going on here - im all ears!!!!!!!!!!!!!!!!!!!!!! :o


Locked

Return to “Administration - 1.0.x”