Re: [marys] Breadcrumbs and two different home pages

  • Archived  

By Donna - June 26, 2009

Hi Mary,

How are you differentiating the two sites via your publish rules? Can you give me an idea of how your site is published?
Donna

--
support@interactivetools.com

Re: [Donna] Breadcrumbs and two different home pages

  • Archived  

By marys - July 20, 2009

I have one Global Index set up for public site.

I have one Global Index set up for private site.

Same applies to Category Indexes, Article Pages and Category Breadcrumbs.

This has whipped me, durn it!

Re: [marys] Breadcrumbs and two different home pages

  • Archived  

By Donna - July 22, 2009

Hi Marys!

How are your categories setup? Theoretically, it shouldn't be linking you back to the main index at all. The breadcrumbs by default only show the categories.

Are both of your "Sections" within one parent category? If so, you could just use a templateIf so that if the category depth is "0", it won't show. Would that work for you?

It would look like this:

<!-- templateIf : $category.depth$ != 0 -->
...other breadcrumb templateIf's...
<!-- /templateIf -->

Does that help? If not, can you show me the current output of your breadcrumbs?
Donna

--
support@interactivetools.com

Re: [Donna] Breadcrumbs and two different home pages

  • Archived  

By marys - October 5, 2009

I was editing the breadcrumb templates until I realized the article and index templates had this code:

<a href="$published.globalIndex.url$">$my.homepageName$</a> :
<!--#include virtual="$published.categoryBreadcrumb.webpath$" -->

That works fine for the Corporate site because my.homepageName is set to the Corporate site's URL.

For the Sales Force site, I changed that code to this on the article and index templates:

<a href="http://www.websiteaddress.com/SalesForce/index-SalesForce.shtml">Sales Force Home</a> :
<!--#include virtual="$published.categoryBreadcrumb.webpath$" -->

If an article appears on both the Corporate and Sales Force sites, the initial link to Home is correct on both breadcrumb trails, but the link to the category is wrong in the Sales Force site breadcrumb.

For example, if the category is Products, all of the breadcrumb links are correct EXCEPT for the "Products" on the Sales Force site. It throws the visitor out to the Corporate Site instead of to the Sales Force Site.

Corp Site Home : Products

Sales Force Home : Products

What am I doing wrong?

Re: [marys] Breadcrumbs and two different home pages

  • Archived  

By Donna - October 6, 2009

Hi Marys,

I think this is going to be a bit easier if I can see this directly, I'm having a bit of a hard time visualizing it.

Would you be able to fill out a support request form here?

https://www.interactivetools.com/support/email_support.cgi
Donna

--
support@interactivetools.com

Re: [Donna] Breadcrumbs and two different home pages

  • Archived  

By marys - November 3, 2009

Wanted to update the thread: I solved the problem by making the file names for each of the breadcrumb publishing rules unique. Sigh. So simple.

Re: [marys] Breadcrumbs and two different home pages

  • Archived  

By Donna - November 5, 2009

Hi Mary!

Glad to hear you got that solved. :)
Donna

--
support@interactivetools.com