HomeHome Product Discus... Product Discus...SmithCartSmithCartDisplaying SubCategoryDisplaying SubCategory
Previous
 
Next
New Post
9/25/2010 7:49 AM
 

I have installed a set of parent categories, and then many subcategories. If I use the category module, and the user selects one of the parent categories then the products page displays all the products for all subcategories. It does not have a list of the subcategories available on the product page. In the category module it still just displays the parent categories. How would a customer even know there were subcategories to help them drill down.

I understand you can set the subcategories to show in the categories module, but I don't want them to show because there are too many of them until after the user selects one of the parent categories. How do I set it up so the system shows the parent categories, and then when a visitor clicks on one of the parent categories it displays the child categories?

Thanks
James

 
New Post
9/25/2010 2:43 PM
 

The category menu module uses the asp treeview control to render categories and subcategories. When a category has sub categories there will be an arrow icon pointing to the right, to display the subctegories you need to click on the arrow icon and the sub categories will be displayed and the arrow icon will point down when sub categories are expanded. If you dont think the arrow icon is intuitive enough for your users then you can remove that icon from the categorymenu.ascx page and it will use the standard plus and minus signs to expand and collapse cats and sub cats. Currrently the category module will not automatically expand all the sub cats when you click on the parent category link.

Dave


At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
9/28/2010 5:04 PM
 

Hi,

Thanks for the comments. However, I am still having trouble. In the category module in the settings if I select "Expand First Category" then on my category list it expands the first category and the others have the blue triangle facing to the right. However when I click on any of the blue triangles it does nothing. If I click on the blue triangle on the first category it works fine opening and closing the menu.

If in the settings I select "Expand All Categories" then they are all expanded and all the blue trianges work. However, I have way to many categories to have them all expanded.

If in the settings I select "Collapse All Categories" then all of them are collapsed and they all have the blue triangles facing to the right, but when you click on any of them nothing happens.

What I want is the last scenario where all are collapsed, but when you click on the blue triangle it opens to show your subcategories. How do I make this happen. Does it have something to do with it being in trial mode?????

http://taxcoproduce.netprocity.com/Sh...


 
New Post
9/28/2010 7:31 PM
 

I took a look at your site and I think there is probably a conflict in your current skin. As a test can you try changing your skin to the default dnn skin and see if the categories expand correctly.


At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
9/28/2010 7:52 PM
 

Yes, you are right. The default DNN skin works fine. HMMM... Any ideas of how I could find the conflict?

 
New Post
9/28/2010 7:56 PM
 

I cleared the event log, and then went and clicked on the arrows to see if anything would result. It fired off two errors. Do you have any ideas what might be up with these?

AssemblyVersion: 5.2.2
PortalID: 0
PortalName: Taxco Produce
UserID: 3
UserName: netprocity
ActiveTabID: 58
ActiveTabName: All Products
RawURL: /ShopOnline/AllProducts/tabid/58/categoryid/1/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://taxcoproduce.netprocity.com/ShopOnline/AllProducts/tabid/58/categoryid/1/Default.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 2e69d2a9-abf8-44d7-85bc-e6490c0b1769
InnerException: Unhandled Error:
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.HttpResponse.Redirect
StackTrace:
Message: System.Exception: Unhandled Error: ---> System.ApplicationException: Response.Redirect cannot be called in a Page callback. at System.Web.HttpResponse.Redirect(String url, Boolean endResponse) at DotNetNuke.Services.Exceptions.Exceptions.ProcessPageLoadException(Exception exc, String URL) at DotNetNuke.Framework.PageBase.OnError(EventArgs e) at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.default_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --- End of inner exception stack trace ---
Source:
Server Name: G66R59



----------------------------------

ModuleId: -1
ModuleDefId: -1
FriendlyName:
ModuleControlSource:
AssemblyVersion: 5.2.2
PortalID: 0
PortalName: Taxco Produce
UserID: 3
UserName: netprocity
ActiveTabID: 58
ActiveTabName: All Products
RawURL: /ShopOnline/AllProducts/tabid/58/categoryid/1/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://taxcoproduce.netprocity.com/ShopOnline/AllProducts/tabid/58/categoryid/1/Default.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 406b6b78-41f2-4f52-8981-ff118d63dd59
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.UI.Containers.Visibility.Page_Load
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.UI.Containers.Visibility.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
Source:
Server Name: G66R59

 
New Post
9/28/2010 8:49 PM
 

Here is an article I found that might be related:

http://blog.aggregatedintelligence.com/2010/02/responseredirect-cannot-be-called-in.html

Its not clear the cart is throwing this error it could be an error on the page or from another module. The issue looks like an ajax issue in your skin or another module is enabling ajax partial postback when the page is trying to do a full postback causing this error. You can try removing some of the other modules but since you said you changed skins and it worked the issue is most likely in the skin. OPen your skin file and look to see if you have ClientScript.RegisterClientScriptBlock and try commenting it.


At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartDisplaying SubCategoryDisplaying SubCategory