I have created a category list that is 4 levels deep. If I assign a custom content scriptlet to control page content at level 1 and 2, it works fine. At level 3 and deeper, the custom content scriptlets do not show.
I have a requirement to show custom static content at the root of each level of the category tree and to only expose the actual product list at level 4 of my tree.
Any help or workarounds appreciated!
Thanks,
Jamie
Custom scriptlets not appearing in subcategories
-
- Ensign (ENS)
- Posts: 14
- Joined: Mon Nov 09, 2009 10:26 am
Re: Custom scriptlets not appearing in subcategories
All you need is to apply two category pages on your categories. In the deepest category apply actual category page that should list products while on the parent categories apply some other category grid page and update the Category Listing user control in ConLib to out put current category being listed summary or description to page. In this way you will be able to show static contents via category summary field.
-
- Ensign (ENS)
- Posts: 14
- Joined: Mon Nov 09, 2009 10:26 am
Re: Custom scriptlets not appearing in subcategories
Thanks for the information above; however if you can give me just a little more detail please I would really appreciate it. Here is what I am trying to do:
I need to display static content that can be specified in the Content drop down box that maps to a specific scriptlet that I have created. So at each level of the tree as we click down through the categories, a custom scriptlet will map to each node. Only when we get to the bottom do we want to see a grid.
So I have created a custom scriptlet for each level of the tree to correspond to the contenet to be shown at each instance, however when I apply each custom scriptlet at each node they are not displaying correctly.
Do I need to create a new display page for each level of the tree to make that work?
Thanks,
Jamie
I need to display static content that can be specified in the Content drop down box that maps to a specific scriptlet that I have created. So at each level of the tree as we click down through the categories, a custom scriptlet will map to each node. Only when we get to the bottom do we want to see a grid.
So I have created a custom scriptlet for each level of the tree to correspond to the contenet to be shown at each instance, however when I apply each custom scriptlet at each node they are not displaying correctly.
Do I need to create a new display page for each level of the tree to make that work?
Thanks,
Jamie
-
- Ensign (ENS)
- Posts: 14
- Joined: Mon Nov 09, 2009 10:26 am
Re: Custom scriptlets not appearing in subcategories
Ok - I figured it out your instructions were all there, just a little cryptic 
Ok what I did was create a custom scriptlet of type 'content" called "static content" which contains a link to a clone of the CategoryDetailsPage conlib which I renamed to StaticCategoryDetailsPage. I then assigned the content page "static content" to each parent node. Inside the StaticCategoryDetailsPage aspx, I just turned off the list display repeater by setting visibilty to false and switched the display of the text from summary to the description field on line 70 CategoryDescription.Text = _Category.Description;
Then in the admin tool under each category node, I input static HTML content inthe description field.
So far so good.
Jamie

Ok what I did was create a custom scriptlet of type 'content" called "static content" which contains a link to a clone of the CategoryDetailsPage conlib which I renamed to StaticCategoryDetailsPage. I then assigned the content page "static content" to each parent node. Inside the StaticCategoryDetailsPage aspx, I just turned off the list display repeater by setting visibilty to false and switched the display of the text from summary to the description field on line 70 CategoryDescription.Text = _Category.Description;
Then in the admin tool under each category node, I input static HTML content inthe description field.
So far so good.
Jamie