Rank: Member
Joined: 1/10/2005(UTC) Posts: 714
Thanks: 14 times Was thanked: 1 time(s) in 1 post(s)
|
Marcus,
I will test this too. Thank you for working on the issue we talked about.
|
|
|
|
Rank: Member
Joined: 1/10/2005(UTC) Posts: 714
Thanks: 14 times Was thanked: 1 time(s) in 1 post(s)
|
Marcus, what about when you click on a product from the front page and it displays the incorrect category all together like my orginal post mentioned?
|
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 1,786
|
The issue of what category to display when a user clicks on a product directly from the homepage is functioning as designed. Because we have breadcrumb trails that display all categories to which the product belongs it was designed to not show any specific category in the left nav. Again, this was not a bug but by design.
However, in light of the feedback from users we are changing this for service pack 5.4. By default the left nav will show the first category to which the product belongs unless the shopper is navigating from a category to the product. We are still working on the menu control for a couple of other issues. Once we're done with those we will be able to release just the menu control for you if it is ready before the rest of 5.4.
|
|
|
|
Rank: Member
Joined: 1/10/2005(UTC) Posts: 714
Thanks: 14 times Was thanked: 1 time(s) in 1 post(s)
|
Marcus, its showing the wrong category completely though. I cant even navigate properly because the nav is showing the wrong root, parent and child category for any product clicked through the front page. How is that by design?
I can click on a product and the breadcrumbs are right
ie: Home > Diagnostic > EKGs
so the nav should be:
Home
Diagnostic
EKGs
Equipment
Furniture
Laboratory
Supplies
but the navigation actually shows:
Home
Diagnostic
Equipment
Exam Tables
Promotions
Furniture
Laboratory
Supplies
I dont understand how by design you want to show a completely different category?
|
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 1,786
|
I'm attaching an updated menu control if you'd like to try it out. Simply download the attached "view.ascx.vb" file and copy it over Code:/BVModules/ContentBlocks/Category Menu/view.ascx.vb This will change the behavior of the menu so that when you reach the very last category in a navigation tree it will display the category, it will display two levels above the current category instead of just one + children which was the previous behavior. * UPDATED FILE IS FURTHER DOWN IN THE THREAD
|
|
|
|
Rank: Member
Joined: 1/10/2005(UTC) Posts: 714
Thanks: 14 times Was thanked: 1 time(s) in 1 post(s)
|
Marcus,
that fixed the problem of showing the correct root and parent when clicking on a product form the front page. Like you said, it also added the ability to show two levels up when you are on the last category. Although it did create a lot of spacing in my menu so i have to figure if thats css related or not...
I think its in IE6 from the <li>CONTENT</li> each being on seperate lines. (this is from the <li> & System.Environment.NewLine in the vb) I dont know how to get IE6 show li's correctly when they are eaxh on a new line in css...
|
|
|
|
Rank: Member
Joined: 1/10/2005(UTC) Posts: 714
Thanks: 14 times Was thanked: 1 time(s) in 1 post(s)
|
Marcus, Found another "bug" in the code. Its probably how it was designed so i use the term bug losely. I have a product that is in two different cats with two different roots: Diagnostic Exercise Systemsand Equipment Exercise sytems If the customer navigated to: Equipment Exercise Systemsand clicked on a product, the navigation changes to: Diagnostic Exercise SystemsTest it our here: http://www.medsupplier.com/exercise-systems-medical-equipment.aspx1) Notice the cat structure is under Equipment 2) Click on "Burdick Quest Exercise System" 3) Notice the cat structure moved to Diagnostic 4) Notice the Breadcrumbs still show under Equipment
|
|
|
|
Rank: Member
Joined: 12/23/2003(UTC) Posts: 909
|
Visual Sample. One product assigned to two categories. Sample-001: Correct Left Navigation (parent doesn't disappear!! thanks!), Breadcrumb trail is correct Sample-002: Clicked on product, Incorrect Left Navigation, Breadcrumb Trail is correct It looks like the menu control is grabbing the topmost category that the product is assigned too when it hits the product page. Matt@9BallDesign attached the following image(s): Sample-001.jpg (19kb) downloaded 60 time(s).You cannot view/download attachments. Try to login or register. |
|
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 1,786
|
Here's a second update that should resolve both Matt and Bryan issue of the left nav selecting the "Wrong" category for products that belong to more than one when navigating from a category page. I'm attaching an updated menu control if you'd like to try it out. Simply download the attached "view.ascx.vb" file and copy it over Code:/BVModules/ContentBlocks/Category Menu/view.ascx.vb This will change the behavior of the menu so that when you reach the very last category in a navigation tree it will display the category, it will display two levels above the current category instead of just one + children which was the previous behavior. File Attachment(s): view.ascx.vb (14kb) downloaded 111 time(s).You cannot view/download attachments. Try to login or register.
|
|
|
|
Rank: Member
Joined: 12/23/2003(UTC) Posts: 909
|
Uploaded, did my clicks, working good. I'll keep an eye out but I think you nailed it.
Thanks marcus! |
|
|
|
|
Rank: Member
Joined: 1/10/2005(UTC) Posts: 714
Thanks: 14 times Was thanked: 1 time(s) in 1 post(s)
|
|
|
|
|
Rank: Member
Joined: 12/23/2003(UTC) Posts: 909
|
Almost there Marcus :(
When I click a category and then click the Home link or any other link to take me back to the homepage, the category I clicked retains the class="current" |
|
|
|
|
Rank: Member
Joined: 12/23/2003(UTC) Posts: 909
|
UPDATE. adding the fix to default.aspx.vb cleared this up Code: Protected Sub Page_PreInit(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.PreInit Me.MasterPageFile = PersonalizationServices.GetSafeMasterPage("Home.master")
' Reset Last Category Session Variable [b]SessionManager.CategoryLastId = String.Empty[/b] End Sub
|
|
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 1,786
|
I was about to tell you to install the default.aspx page fix but it looks like you already found it :-)
|
|
|
|
Rank: Member
Joined: 12/23/2003(UTC) Posts: 909
|
one of many slap to the forehead moments... |
|
|
|
|
Rank: Member
Joined: 1/10/2005(UTC) Posts: 714
Thanks: 14 times Was thanked: 1 time(s) in 1 post(s)
|
my head is sore from those moments...
|
|
|
|
Rank: Member
Joined: 8/8/2007(UTC) Posts: 298
|
Originally Posted by: "Marcus" I was about to tell you to install the default.aspx page fix but it looks like you already found it Marcus: What is this fix? And where do i find it? Thanks |
Dan |
|
|
|
Rank: Member
Joined: 8/8/2007(UTC) Posts: 298
|
So did this finally get resolved with what marcus attached to this thread?
Also, Marcus, What is this fix that you refer to fo the default.aspx page?
Thanks |
Dan |
|
|
|
Rank: Member
Joined: 1/10/2005(UTC) Posts: 714
Thanks: 14 times Was thanked: 1 time(s) in 1 post(s)
|
Dan: Originally Posted by: "Marcus" It looks like this navigation issue is getting a lot of attention here. First, this is a complex problem because there are actually several different issues being reported. Some of them do indeed look like they could be bugs and others may be misunderstandings about how the menu control was designed. We are investigating all of these and working on solutions. Here is what we know at the moment based on carefully reviewing the thread and emails from customers. 1) There is a reported issue that when you visit the homepage after viewing a category, the menu tree continues to display the previously viewed category. Here is an experimental fix. Add this line of code to your default.aspx.vb file inside the "Protected Sub Page_PreInit" block Code:
Protected Sub Page_PreInit(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.PreInit Me.MasterPageFile = PersonalizationServices.GetSafeMasterPage("Home.master")
' Reset Last Category Session Variable [b]SessionManager.CategoryLastId = String.Empty[/b] End Sub
This will reset the current category variable before the menu loads 2) There is a reported issue where the category tree is "one step behind" click. We are investigating. 3) There is a reported issue where the category tree is not showing "parents" when a product is clicked from the homepage directly. This is also the same issue that happens when the last category in the tree is selected. Currently, the menu control is not smart enough to realize that the this is the last category in the tree and should not only show one level above the current, but instead should show two levels above the current. Right now the control is designed with the assumption that one you reach a category below the root you should always expect children to render. We are working on a correction for this.
|
|
|
|
Rank: Member
Joined: 8/8/2007(UTC) Posts: 298
|
Thanks Bryan:
I must have missed that post. |
Dan |
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.