Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 2:
Breadcrumbs and two different home pages

 

 


marys
User

Jun 25, 2009, 2:27 PM

Post #1 of 8 (2951 views)
Shortcut
Breadcrumbs and two different home pages Can't Post

I have two different home pages: one for a public site and one for a private site.

I setup two different publishing rules for the breadcrumbs. The breadcrumbs for the public site are fine. However, I cannot figure out how to change the "home page" link on the breadcrumbs for the private site. It sends me to the public site home page.

Thanks for your help.


Donna
Staff / Moderator


Jun 26, 2009, 1:39 PM

Post #2 of 8 (2947 views)
Shortcut
Re: [marys] Breadcrumbs and two different home pages [In reply to] Can't Post

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


marys
User

Jul 20, 2009, 1:20 PM

Post #3 of 8 (2839 views)
Shortcut
Re: [Donna] Breadcrumbs and two different home pages [In reply to] Can't Post

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!


Donna
Staff / Moderator


Jul 22, 2009, 2:41 PM

Post #4 of 8 (2826 views)
Shortcut
Re: [marys] Breadcrumbs and two different home pages [In reply to] Can't Post

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


marys
User

Oct 5, 2009, 1:17 PM

Post #5 of 8 (2429 views)
Shortcut
Re: [Donna] Breadcrumbs and two different home pages [In reply to] Can't Post

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?


Donna
Staff / Moderator


Oct 6, 2009, 2:43 PM

Post #6 of 8 (2417 views)
Shortcut
Re: [marys] Breadcrumbs and two different home pages [In reply to] Can't Post

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


marys
User

Nov 3, 2009, 3:47 PM

Post #7 of 8 (2174 views)
Shortcut
Re: [Donna] Breadcrumbs and two different home pages [In reply to] Can't Post

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.


Donna
Staff / Moderator


Nov 5, 2009, 11:44 AM

Post #8 of 8 (2145 views)
Shortcut
Re: [marys] Breadcrumbs and two different home pages [In reply to] Can't Post

Hi Mary!

Glad to hear you got that solved. :)

Donna

--
support@interactivetools.com