Breadcrumbs (pathway) not showing up correctly on article page

Locked
cheoklup
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Fri Oct 05, 2007 9:13 am

Breadcrumbs (pathway) not showing up correctly on article page

Post by cheoklup » Fri Oct 05, 2007 9:27 am

On the admin side, when I try to create a new article, I chose the correct section and category as shown in admin.jpg

On the category homepage, it shows up the article correctly as category-homepage.jpg

However when I navigate into the article, the breadcrumbs (pathway) is not showing up correctly as shown in article-page.gif

Anyone can advise on this bug?
You do not have the required permissions to view the files attached to this post.

andresgonzalezm
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sat Feb 21, 2009 10:06 am

Re: Breadcrumbs (pathway) not showing up correctly on article pa

Post by andresgonzalezm » Sun Mar 08, 2009 1:27 pm

Did you find the solution for this, I'm having the same problem that the breadcrumb only shows home when viewing an article.

Thanks

User avatar
nibra
Joomla! Guru
Joomla! Guru
Posts: 588
Joined: Wed Nov 16, 2005 2:02 am
Location: Breklum - Nordfriesland
Contact:

Re: Breadcrumbs (pathway) not showing up correctly on article pa

Post by nibra » Wed Apr 08, 2009 12:34 pm

The breadcrumb path depends on the menu structure, not on section/category. If the article does not have an own menu item, a default Itemid is chosen, pointing to category, section, or frontpage, whatever is found on your installation.

Regards,
Niels

Midsomer
Joomla! Apprentice
Joomla! Apprentice
Posts: 15
Joined: Fri Mar 20, 2009 5:35 pm

Re: Breadcrumbs (pathway) not showing up correctly on article pa

Post by Midsomer » Sat Apr 11, 2009 10:29 am

Thanks Niels,

You put me on the right trail in understanding why when I'm using an image slider I hacked with <a href ... links to make a cool menu I didn't get any breadcrumb paths on my menu linked articles.

I hid the mainmenu module just to use my slider menu and lost the breadcrumb facility. When I showed the mainmenu module again and navigated with it instead, the breadcrumbs showed up.

Guess I'll have to make some 'Home' image button to get back home. Unless there is a way you know to emulate the mainmenu action in my image slider code?

Here's what I used on the image article html...

<a href="index.php?option=com_content&view=article&id=53"><img src="images/stories/photos/trips-menubox.jpg" border="0" alt="trips" title="Trips" width="250" height="200" align="left" /></a>

I looked for some id ref the mainmenu module may create but couldn't find it, so just used the article id instead.

Thanks for the pointer anyway.

Malc

P.S. Just re-read your comment, and may have it sussed. I didn't bother adding the menu items I needed to the mainmenu, just worked on my image slider menu. If I add menu item links on the mainmenu to the articles I created, I should get a menu item id that I can use instead. Off to try that now.

Midsomer
Joomla! Apprentice
Joomla! Apprentice
Posts: 15
Joined: Fri Mar 20, 2009 5:35 pm

Re: Breadcrumbs (pathway) not showing up correctly on article pa

Post by Midsomer » Sat Apr 11, 2009 11:29 am

:) Success.

I added menu items to my mainmenu to match the article links I manually coded in my slider menu image articles. This gives the Item id of the menu item that also exists now in the mainmenu.

Couldn't have figured the next bit without Firebug, fantastic tool. It's like an oscilloscope for those electronically minded.

The generated code Firebug showed when inspecting the (visible at this stage) mainmenu items looked like this, as an item example...

<ul class="menu">
......... bla bla prev item
<li class="item54">
<a href="/index.php?option=com_content&view=article&id=53&Itemid=54">
<span>Trips</span>
</a>
</li>
........ bla bla next item
</ul>

The key discovery was the addition of the Itemid=54 to the link string, this is the id of the required menu item I added to the mainmenu. Incidentally, the id=54 is coincidental and not sequential to the article id=53, just happened to be the next menu id given out.

So back to my image slider menu html code. I now added the above menu item id I now have.

<a href="index.php?option=com_content&view=article&id=53&Itemid=54"><img src="images/stories/photos/trips-menubox.jpg" border="0" alt="trips" title="Trips" width="250" height="200" align="left" /></a>

Now my slider image menu works just like the mainmenu, with the breadcrumbs showing up.

Last thing was to hide the mainmenu again and just show the image slider menu. I found a way of doing this, whilst still having the mainmenu enabled, was to rename the position value in the templates index.php (using JA-Purity) to something different than in the module manager.

<jdoc:include type="modules" name="hor-nav" /> renamed from "hornav"

A bit crude, but it worked for me.

Hope this may be of some help to others.

Once again, thanks to Niels for being the catalyst to my solution.

Malc

kenln
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Wed Mar 25, 2009 8:45 pm

Re: Breadcrumbs (pathway) not showing up correctly on article pa

Post by kenln » Tue Apr 14, 2009 6:36 pm

I am having a similar problem...
I don't believe I understand your answer/solution???


I am using:
Joomla Version 1.5.10
JA_Purity Template
Main Menu Position: hornav

When I turn on Bread Crumbs most of my articles (I don't have that many) follow a simple path.
Home > Catagory > Article Name

But a couple of them
Home > Article Name
No Catagory???

This also seems to affect the Main Menu as well. Any article I select (click on the 'Read More') automaticlly selects the proper menu item (I have Catagory Blog styles) except for these two. The only fix I know of is to delete and recreate the article (which I have done for a couple already) and I'd rather learn what the actual problem is and solution (i.e. the correct way to use the board).

Finally, I ended up deleting all disconnected articles and recreating them so it worked. Then... I edited an article (dumb me) and now I get this same problem.

I'm new at this and have looked around with no luck so far.

Has anyone seen this or know what I did?

I would really appreciate any help you (all) can give me,

Thank you,

Midsomer
Joomla! Apprentice
Joomla! Apprentice
Posts: 15
Joined: Fri Mar 20, 2009 5:35 pm

Re: Breadcrumbs (pathway) not showing up correctly on article pa

Post by Midsomer » Wed Apr 15, 2009 10:05 am

Not sure this is related to the same problem I had, but worth checking a couple of things.

1) As Niels pointed out, there needs to be menu items assigned to articles for breadcrumbs to show. In my case I was trying to be clever and using an image slider as a menu, which did not create any breadcrumbs links. Have your articles got menu items?

2) Maybe not having a category assigned to a couple of your articles is the problem. I had categories assigned for all my articles, and I didn't get any breadcrumb issues. May be worth creating another category just to be able to assign it to articles you have problems with.

Lastly, once you get deeper into tracking code issues in joomla, using the Firebug addon for Firefox browser is invaluable. It's a bit of a learning curve, but once you have the grasp of it, it can help reveal the cause of lots of issues. Worth installing the Web Developer addon while you're at it too.

Hope this helps.

Malc

kenln
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Wed Mar 25, 2009 8:45 pm

Re: Breadcrumbs (pathway) not showing up correctly on article pa

Post by kenln » Wed Apr 15, 2009 11:22 am

All of the articles are listed in the main menu and all are assigned to a catatory.

I'm using the default download with no add-ons (yet).

I guess it is not as simple and clean as I thought.


The odd (buggy) thing is that an article worked, then after editing it stopped working.

I really didn't want to start debugging their base package.

Thanks anyway.

kenln
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Wed Mar 25, 2009 8:45 pm

Re: Breadcrumbs (pathway) not showing up correctly on article pa

Post by kenln » Wed Apr 15, 2009 1:53 pm

Here is some additional info, I don't know if it help narrow down the problem.

A) The articles are part of the "Main Menu'.
B) One of the articles (with read more) is on the 'Front Page'

If I hover on the Catagory Part of the Main Menu then click on the Sub Menu part of the article it works fine, not problem, yeah...


If I click on the 'Read More' link from the 'Front Page' or from the Catagory Blog Layout page it does not work. Note, this is the SAME article in all three places.

If I have it linked in a menu should I not show the article ANYWHERE else???
If so why does it work sometimes???

How do we forward this to Joomla Support???


Thank you for any help you can give me. Hehe, this is a little frustrating for such a seemingly simple problem.

User avatar
nibra
Joomla! Guru
Joomla! Guru
Posts: 588
Joined: Wed Nov 16, 2005 2:02 am
Location: Breklum - Nordfriesland
Contact:

Re: Breadcrumbs (pathway) not showing up correctly on article pa

Post by nibra » Wed Apr 15, 2009 8:34 pm

kenln wrote:How do we forward this to Joomla Support???
You could add this to the bug tracker.

Regards,
Niels

Midsomer
Joomla! Apprentice
Joomla! Apprentice
Posts: 15
Joined: Fri Mar 20, 2009 5:35 pm

Re: Breadcrumbs (pathway) not showing up correctly on article pa

Post by Midsomer » Wed Apr 15, 2009 9:12 pm

What you describe sounds a weird behaviour. Unfortunately, beyond my scope of understanding at this point.

Stick at it.

xiaomifeng
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Tue Apr 07, 2009 3:01 am
Contact:

Re: Breadcrumbs (pathway) not showing up correctly on article pa

Post by xiaomifeng » Thu Apr 16, 2009 8:42 am

I have this problem too.
MODULE a have 3 view (#1,#2,#3), set to menu MM,
start from view #1, pathway correct
then go to view #2 from view #1, pathway correct,
then go to view #3 from view #2, pathway lost, it's set to HOME.


I tried to store the pathway to cookie at #2 and use setPathway(it's ever used in cache) to reset it at #3, but it failed to retrieve correctly.

willi1
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sun Jan 07, 2007 8:59 am

Re: Breadcrumbs (pathway) not showing up correctly on article pa

Post by willi1 » Thu Apr 23, 2009 4:01 pm

Hello,

first sorry for my bad english ;-)

I have the same problem and with the weblinks component too, it is the same problem can you confirm it?

Home -> Weblinks (works)

when I click a category on the weblinks site then will set the breadcrumb to

Home

Edit: sorry I don't have see that the post is for joomla 1.0 I use the 1.5.10 but I have migrated to this version.

kind regards
willi1


Locked

Return to “Joomla! 1.0.x_Q&T”