an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > DotShoppingCart Forums > Support > Using DotShoppingCart > Ability to optionally display the left and righ...
Last Post 3/17/2009 4:21:14 AM By MarkDay. 4 replies.
2/16/2009 8:44:24 AM
MarkDay
Posts: 8
Joined: 10/2/2008
Ability to optionally display the left and right master blocks
Original question:
I want to create a demo site which looks like a website but has the shop hanging off one of the menu tabs. The other menu tabs would lead to pages which wouldn’t show any product information. So what I want to do, is disable (ie not display) the left and right master blocks on these more general site pages or even use different left and right master blocks (with different content) on the non-shop pages of the site. Can you suggest how I might achieve this?

Response from DSC:
You can disable left and right master blocks by setting its width to 0. You can create a three column block container and use that for other pages. You can create  two one column block containers, one sitting inside the left side of the three column block container and the other one in right side of the three column block container. You can create aliases for the left and right block container if you want to refer these in other pages. You can create different left/right block container for different pages.
 
Follow up question:
I don't undertsand the initial response from DSC,
 
1. You can disable left and right master blocks by setting its width to 0.
 - if i do this it disables the left and right master block on all the pages reached via the tabbed menu. So how does this help me?
 
2. You can create a three column block container and use that for other pages.
 - where and how do I do this?
 
3. You can create  two one column block containers, one sitting inside the left side of the three column block container and the other one in right side of the three column block container.
 - I don't understand what this achieves and I am not sure where and how I would do it.
 
4. You can create aliases for the left and right block container if you want to refer these in other pages.
- Ok.
 
5. You can create different left/right block container for different pages.
 - this is what I want to do, it would appear it can be done by the initial response from DSC, but I don't see how to do it.

2/16/2009 11:49:14 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Ability to optionally display the left and right master blocks
1. Left and right master block containers are persisted on the entire site. There are some flexibility that you can disable those on the predefined pages such as checkout, my account etc. But you don't have an option to enable/disable page by page basis for customized pages created via Content -> Pages. So basically you have to disable left/right master block containers for the entire site. Maybe I don't understand your question. What do you mean the shop hanging off the menu tab? Can you post some screenshots?
 
2.  Just check table dbo.DSC_BlockContainer_Template and you should know how to create one
 
After you get what you want, I will show you how to do it.
DotShoppingCart Staff
2/17/2009 12:13:19 AM
MarkDay
Posts: 8
Joined: 10/2/2008
Re: Ability to optionally display the left and right master blocks
Ok, so I would like to create a site with tabs as follows:
 
1. Home
2. About Us
3. Customer Services
4. Support
5. News
6. My Account
The above would have no left or right blocks.
 
7. Shop (or maybe products)
This would then show a left block with the product category selection and the right block showing maybe items on sale, featured products etc.
 
 
 
 
 
3/15/2009 8:42:28 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Ability to optionally display the left and right master blocks
Mark, sorry for the late response. I have just created a screencast - Page Editor In Depth. I hope this can solve your problem.
DotShoppingCart Staff
3/17/2009 4:21:14 AM
MarkDay
Posts: 8
Joined: 10/2/2008
Re: Ability to optionally display the left and right master blocks
Luke, the video was excellent - thanks.