Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
BreadCrumbs
rajivgupta
Hi,
We are trying to build a breadcrumb component.But its picking only the top child node irrespective of the page we traverse to.I am not able to figure out the problem.If anyone can help me in this regard please look into it.Also, I have attached the appearance xslt code for the component.
Find more posts tagged with
Comments
miroperez
A couple of questions:
1. How are you determining which node you are currently on when you traverse to a page? Are you matching the page to the node in the sitemap? The strategy you could use is in your external look for a node with the current page and all the query string parameters via xpath.
2. Once you have determined the node your should be on, are you generating the result xml based on working your way up the tree from that node? You will also have to detach the children (if any) of the node you are on so they don't show up in your output.
By the way, there is supposed to be a breadcrumb component included in the next Livesite 3.1 release.
Miro
ads66
I dont think there is any "default" breadcrumb component. However, I would suggest try recreating the component using HTML/Javascript and see how it generates. instead of using xsl
Thanks,
A
kmu
Basically you need to match the node that represents the current page and the browse upwards from that. You might want to get an XSL editor to work it out in there. This is an XSL issue rather than a product related one.