Main menu & repeating navigation titles
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.
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.
-
- I've been banned!
- Posts: 10
- Joined: Mon May 08, 2006 3:49 pm
Main menu & repeating navigation titles
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
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
-
- I've been banned!
- Posts: 10
- Joined: Mon May 08, 2006 3:49 pm
Re: Main menu & repeating navigation titles
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!
-
- I've been banned!
- Posts: 10
- Joined: Mon May 08, 2006 3:49 pm
Re: Main menu & repeating navigation titles
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
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
-
- I've been banned!
- Posts: 10
- Joined: Mon May 08, 2006 3:49 pm
Re: Main menu & repeating navigation titles
Thank you so much for all your help. I'll post in Elbonian in future, it won't make any difference.
- DeanMarshall
- Joomla! Hero
- Posts: 2352
- Joined: Fri Aug 19, 2005 2:26 am
- Location: Lancaster, Lancashire, United Kingdom
- Contact:
Re: Main menu & repeating navigation titles
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:
Dean
Edit: typo.
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:
Perhaps can you clarify.What is want is a few items hanging (collapsibly) off the home item and everything else below, without he navigation silliness.
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
Joomla Experts - Joomla Support http://www.deanmarshall.co.uk/joomla-se ... pport.html
-
- I've been banned!
- Posts: 10
- Joined: Mon May 08, 2006 3:49 pm
Re: Main menu & repeating navigation titles
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.
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:Perhaps can you clarify.What is want is a few items hanging (collapsibly) off the home item and everything else below, without he navigation silliness.
Dean
Edit: typo.
- DeanMarshall
- Joomla! Hero
- Posts: 2352
- Joined: Fri Aug 19, 2005 2:26 am
- Location: Lancaster, Lancashire, United Kingdom
- Contact:
Re: Main menu & repeating navigation titles
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
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
Joomla Experts - Joomla Support http://www.deanmarshall.co.uk/joomla-se ... pport.html
- toubkal
- Joomla! Hero
- Posts: 2860
- Joined: Thu Aug 18, 2005 4:35 pm
- Location: Cheshire, England
- Contact:
Re: Main menu & repeating navigation titles
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.
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?
- toubkal
- Joomla! Hero
- Posts: 2860
- Joined: Thu Aug 18, 2005 4:35 pm
- Location: Cheshire, England
- Contact:
Re: Main menu & repeating navigation titles
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
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?
-
- I've been banned!
- Posts: 10
- Joined: Mon May 08, 2006 3:49 pm
Re: Main menu & repeating navigation titles
That's fixed it. Good work Mr Toubkai - thanks muchly.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
Dig
-
- I've been banned!
- Posts: 10
- Joined: Mon May 08, 2006 3:49 pm
Re: Main menu & repeating navigation titles
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
Dig
- toubkal
- Joomla! Hero
- Posts: 2860
- Joined: Thu Aug 18, 2005 4:35 pm
- Location: Cheshire, England
- Contact:
Re: Main menu & repeating navigation titles
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
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?
- DeanMarshall
- Joomla! Hero
- Posts: 2352
- Joined: Fri Aug 19, 2005 2:26 am
- Location: Lancaster, Lancashire, United Kingdom
- Contact:
Re: Main menu & repeating navigation titles
Toubkal knows his stuff doesn't he.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
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
Joomla Experts - Joomla Support http://www.deanmarshall.co.uk/joomla-se ... pport.html
-
- Joomla! Apprentice
- Posts: 25
- Joined: Wed Aug 24, 2005 9:36 pm
Re: Main menu & repeating navigation titles
Anyone know of a way to hide the pathway completely without hacking the template?toubkal wrote: By the way, even when working correctly some people do not like the pathway showing at all for the home page.
- DeanMarshall
- Joomla! Hero
- Posts: 2352
- Joined: Fri Aug 19, 2005 2:26 am
- Location: Lancaster, Lancashire, United Kingdom
- Contact:
Re: Main menu & repeating navigation titles
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
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
Joomla Experts - Joomla Support http://www.deanmarshall.co.uk/joomla-se ... pport.html
-
- Joomla! Explorer
- Posts: 405
- Joined: Sun May 07, 2006 8:24 pm
Re: Main menu & repeating navigation titles
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!!!!!!!!!!!!!!!!!!!!!!
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!!!!!!!!!!!!!!!!!!!!!!