an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > DotShoppingCart Forums > Support > Using DotShoppingCart > Customizations I'd like to make
Last Post 10/6/2008 1:47:16 PM By lukezy. 3 replies.
10/4/2008 6:41:19 PM
jhcorey
Posts: 27
Joined: 9/29/2008
Customizations I'd like to make
I'm looking to use dotshoppingcart as a base for a slightly different kind of site.  It will let various vendors load products, but it won't handle actual sales.
 
To do this I would need to create (1) another role, and enable some new pages for that role only (2) disable some of the current functionality.
 
I'm wondering if this is practical and how extensive the changes would be (Right now I'm struggling to see how the admin role is implemented).
 
 
 
 
10/4/2008 9:06:20 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Customizations I'd like to make
I don't think it's difficult at all. Currently DSC is using ASP.NET SqlRoleProvider and the "admin" role has the control to everything in the site admin. What you need to do is just adding more roles and assign functionalities to these roles.
DotShoppingCart Staff
10/5/2008 1:12:02 PM
jhcorey
Posts: 27
Joined: 9/29/2008
Re: Customizations I'd like to make
Thanks, I'm working my way through, and it looks promising.
 
I've just added a menu item with the page editor
 
1) Is the page editor the only way to do this?
 
2) If I wanted to put role security on the menu item, would you know where would be a good place to do this?
 
10/6/2008 1:47:16 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Customizations I'd like to make
Page editor is the recommented way. But you certainly can change the code to the customization.
 
You could add some code to Web/Controls/Blocks/menu.ascx.cx.
DotShoppingCart Staff