breadcrumb extension
johager
Registered Users Posts: 13 Big grins
I'd like to change the breadcrumbs to include a "higher level" than my current SmugMug home because my SmugMug home (jameshagerphoto.smugmug.com) is a page off of my regular URL (www.jameshagerphoto.com).
So, instead of
"James Hager Photography [linked to "/"] > North America [the current page]"
I'd like to have
"Home [linked to www.jameshagerphoto.com] > Image Categories [linked to "/"] > North America [the current page]"
So, instead of
"James Hager Photography [linked to "/"] > North America [the current page]"
I'd like to have
"Home [linked to www.jameshagerphoto.com] > Image Categories [linked to "/"] > North America [the current page]"
0
Comments
Note that the root level of my SM breadcrumb is now "Stock Galleries Home", and I want to add another level above that.
Find this:
[html]<a href="/" class="nav">Stock Galleries Home</a>[/html]
And prepend that string with your new root.
Swim for Them | WellmanHouse.net | AlbumFetcher | SmugShowBuilder
Can someone help me with the exact syntax?
I've tried it with several variations like the following, based on the "change the pesky pipes in the footer" code, and I keep getting the standard breadcrumbs.
YE.onAvailable("altViews", function() {this.innerHTML = this.innerHTML.replace(/Stock Galleries Home<\/a>/gi, 'Home > Stock Galleries Home');});