an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > DotShoppingCart Forums > Support > Theme > Create a new template
Last Post 3/2/2012 2:33:05 AM By singhswat. 9 replies.
12/14/2007 12:42:44 AM
cnu2k5
Posts: 1
Joined: 4/23/2008
Create a new template

Can any body explain me how to incorporate new template.

 

Srinivas

12/14/2007 1:54:24 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Create a new template

I have waited for this question for months. Now it gives me a reason to create a document on this. I will reply this when the doc is done.

DotShoppingCart Staff
12/14/2007 9:58:22 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Create a new template

Ok it's taking longer than I expected. So here is the quick hint. There are two directories that you need to take a look.

1) Web\App_Data\Themes_Template
The subcategory is the name of the template. There are three files: Config.xml, Default.css and Default.skin.

2) Web\Images\site_themes
This is where you store the snapshot images of the template overview. You could refere these images from the Config.xml file.

I am still working on the document to explain this into a lot more detail. Stay tuned.

DotShoppingCart Staff
11/24/2008 5:06:13 AM
dubrovins
Posts: 7
Joined: 11/23/2008
Re: Create a new template
Hey guys! does anyone know how to deploy a custom theme?
11/24/2008 3:41:55 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Create a new template
It's fairly simple to deploy theme. You just create a sub directory under Web\App_Data\Themes_Template and Web\Images\site_themes. The sub directory name is the theme name that you would call.
DotShoppingCart Staff
12/8/2008 7:45:17 AM
dubrovins
Posts: 7
Joined: 11/23/2008
Re: Create a new template
hey guys,
 
i was trying to deploy a custom theme and got nowhere. I placed a new theme into the Web\App_Data\Themes_Template folder and renamed files to match the name of my theme however when i changed the settings in the admin, the site itself lost all references to .css and no theme at all was applied. I've temporarily reverted changes back to "default" theme and that works. Please let me know what i'm doing wrong.
 
thank you!
 
Igor D.
12/8/2008 4:17:28 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Create a new template
Please don't change the filename. Leave the filename as Default.css and Default.skin.
DotShoppingCart Staff
7/31/2009 1:19:18 PM
ssconnectnyc
Posts: 1
Joined: 7/6/2009
Re: Create a new template
So to create a new theme we only need to create a .css file?
 
No additional references need to be made in the Theme to hook DSC specific calls, anchors, place holders etc?
7/31/2009 1:49:58 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Create a new template
Correct, you just need to create css, skins and config.xml file. DSC hooks up theme by using css class names and skin names. Config.xml gives initial configuration values to a few settings.
DotShoppingCart Staff
3/2/2012 2:33:05 AM
singhswat
Posts: 3
Joined: 2/19/2012
Re: Create a new template
Is the document available for the new theme creation and deployment ???
which IDE should we use to do so.... suggestions please!!!