Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...convert visual studio 2012 website(masterpage + CSS file) to dnn7convert visual studio 2012 website(masterpage + CSS file) to dnn7
Previous
 
Next
New Post
12/15/2012 12:12 PM
 

hello,

is there a way to convert visual studio 2012 website(masterpage + CSS file) to dnn7.

I design  a website on visual studio 2012 and want to use it in DNN7 as a template. is there a way to do that....

 
New Post
12/15/2012 6:03 PM
 
You should read the Wiki about Skinning http://www.dotnetnuke.com/Resources/W...
and about Stylesheets http://www.dotnetnuke.com/Resources/W....

Also you could found some resources on the Resource/Trainings part eg. Tutorials and Videos.

A automated convert tool is not availible.
 
New Post
12/17/2012 10:22 AM
 
after reviewing the links you provide. I appreciate your help if there is any tutorial for creating Themes, skins for dnn in visual studio .
 
New Post
12/17/2012 11:29 PM
 

I tried to open the Gravity skin ( the default skin in ddn7) as a website in visual studio 2012 just to understand the layout of dnn7 trying to do one in vs 2012 but I got a lot of error like 

<%@ Register TagPrefix="dnn" TagName="LANGUAGE" Src="~/Admin/Skins/Language.ascx" %> 

I also tried to do a new website using Dotnetnuke webapplication framework

when I build the project I got the following errors bellow. but when I changed the framework from 4 to 4.5 for the project then I got 22 warning.(*)

also when I tried to view the design of the hom.ascx file the view doesn't look like the real one. and also I got the warning

hope to find the best way to create a skin in vs 2012. with sample.

=====================================

Warning    1    Element 'SEARCH' is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is missing.    C:\websites\DotNetNukeWebsite1\Portals\_default\Skins\Gravity\groups.ascx    16    18    DotNetNukeWebsite1(1)
Warning    2    Element 'USER' is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is missing.    C:\websites\DotNetNukeWebsite1\Portals\_default\Skins\Gravity\groups.ascx    19    18    DotNetNukeWebsite1(1)
Warning    3    Element 'LOGIN' is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is missing.    C:\websites\DotNetNukeWebsite1\Portals\_default\Skins\Gravity\groups.ascx    20    18    DotNetNukeWebsite1(1)
Warning    4    Element 'LOGO' is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is missing.    C:\websites\DotNetNukeWebsite1\Portals\_default\Skins\Gravity\groups.ascx    27    22    DotNetNukeWebsite1(1)
Warning    5    Element 'LANGUAGE' is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is missing.    C:\websites\DotNetNukeWebsite1\Portals\_default\Skins\Gravity\groups.ascx    31    11    DotNetNukeWebsite1(1)
Warning    6    Element 'MENU' is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is missing.    C:\websites\DotNetNukeWebsite1\Portals\_default\Skins\Gravity\groups.ascx    35    11    DotNetNukeWebsite1(1)
Warning    7    Element 'BREADCRUMB' is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is missing.    C:\websites\DotNetNukeWebsite1\Portals\_default\Skins\Gravity\groups.ascx    42    29    DotNetNukeWebsite1(1)
Warning    8    Element 'LINKTOMOBILE' is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is missing.    C:\websites\DotNetNukeWebsite1\Portals\_default\Skins\Gravity\groups.ascx    60    11    DotNetNukeWebsite1(1)
Warning    9    Element 'TERMS' is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is missing.    C:\websites\DotNetNukeWebsite1\Portals\_default\Skins\Gravity\groups.ascx    61    11    DotNetNukeWebsite1(1)
Warning    10    Element 'PRIVACY' is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is missing.    C:\websites\DotNetNukeWebsite1\Portals\_default\Skins\Gravity\groups.ascx    62    11    DotNetNukeWebsite1(1)
Warning    11    Element 'COPYRIGHT' is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is missing.    C:\websites\DotNetNukeWebsite1\Portals\_default\Skins\Gravity\groups.ascx    64    10    DotNetNukeWebsite1(1)
Warning    12    The variable 'message' is declared but never used    C:\websites\DotNetNukeWebsite1\Install\InstallWizard.aspx.cs    681    32    DotNetNukeWebsite1(1)

 

==============

warrning(*)

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

 Warning    1    'DotNetNuke.UI.Containers.ActionButton' is obsolete: 'This class has been deprecated in favour of the new ActionCommandButton and ActionButtonList.'    c:\Users\Hani\AppData\Local\Temp\Temporary ASP.NET Files\root\a22255e2\d7610bb9\App_Web_gm5blxqe.5.cs    256    
Warning    2    'DotNetNuke.UI.Containers.ActionButton' is obsolete: 'This class has been deprecated in favour of the new ActionCommandButton and ActionButtonList.'    c:\Users\Hani\AppData\Local\Temp\Temporary ASP.NET Files\root\a22255e2\d7610bb9\App_Web_gm5blxqe.5.cs    262    
Warning    3    'DotNetNuke.UI.ControlPanels.ControlBar.LocalResourceFile' hides inherited member 'DotNetNuke.UI.ControlPanels.ControlPanelBase.LocalResourceFile'. Use the new keyword if hiding was intended.    C:\websites\DotNetNukeWebsite1\admin\ControlPanel\ControlBar.ascx.cs    668    
Warning    4    The variable 'kColSpan' is assigned but its value is never used    C:\websites\DotNetNukeWebsite1\DesktopModules\Admin\Skins\EditSkins.ascx.cs    311    
Warning    5    'DotNetNuke.Modules.Admin.AdvancedSettings.AdvancedSettings.Attributes' hides inherited member 'System.Web.UI.UserControl.Attributes'. Use the new keyword if hiding was intended.    C:\websites\DotNetNukeWebsite1\DesktopModules\Admin\AdvancedSettings\AdvancedSettings.ascx    29    
Warning    6    The variable 'profileResourceFile' is assigned but its value is never used    C:\websites\DotNetNukeWebsite1\DesktopModules\Admin\ViewProfile\ViewProfile.ascx.cs    167    
Warning    7    The using directive for 'System' appeared previously in this namespace    C:\websites\DotNetNukeWebsite1\Install\UpgradeWizard.aspx.cs    26    
Warning    8    The variable 'message' is declared but never used    C:\websites\DotNetNukeWebsite1\Install\InstallWizard.aspx.cs    681    
Warning    9    WithEvents variable 'ContentPane' conflicts with property 'ContentPane' in the base class 'Container' and should be declared 'Shadows'.    C:\websites\DotNetNukeWebsite1\Portals\_default\Containers\Aphelia\Banner.ascx    18    
Warning    10    WithEvents variable 'ContentPane' conflicts with property 'ContentPane' in the base class 'Container' and should be declared 'Shadows'.    C:\websites\DotNetNukeWebsite1\Portals\_default\Containers\Aphelia\NoTitle.ascx    4    
Warning    11    WithEvents variable 'ContentPane' conflicts with property 'ContentPane' in the base class 'Container' and should be declared 'Shadows'.    C:\websites\DotNetNukeWebsite1\Portals\_default\Containers\Aphelia\Title.ascx    7    
Warning    12    WithEvents variable 'ContentPane' conflicts with property 'ContentPane' in the base class 'Container' and should be declared 'Shadows'.    C:\websites\DotNetNukeWebsite1\Portals\_default\Containers\DarkKnightMobile\NoTitle.ascx    3    
Warning    13    WithEvents variable 'ContentPane' conflicts with property 'ContentPane' in the base class 'Container' and should be declared 'Shadows'.    C:\websites\DotNetNukeWebsite1\Portals\_default\Containers\DarkKnightMobile\Simple.ascx    3    
Warning    14    WithEvents variable 'ContentPane' conflicts with property 'ContentPane' in the base class 'Container' and should be declared 'Shadows'.    C:\websites\DotNetNukeWebsite1\Portals\_default\Containers\DarkKnightMobile\ToggledContentContainer.ascx    8    
Warning    15    WithEvents variable 'ContentPane' conflicts with property 'ContentPane' in the base class 'Container' and should be declared 'Shadows'.    C:\websites\DotNetNukeWebsite1\Portals\_default\Containers\Gravity\NoTitle.ascx    4    
Warning    16    WithEvents variable 'ContentPane' conflicts with property 'ContentPane' in the base class 'Container' and should be declared 'Shadows'.    C:\websites\DotNetNukeWebsite1\Portals\_default\Containers\Gravity\Title_h2.ascx    6    
Warning    17    WithEvents variable 'ContentPane' conflicts with property 'ContentPane' in the base class 'Container' and should be declared 'Shadows'.    C:\websites\DotNetNukeWebsite1\Portals\_default\Containers\Gravity\Title_h3.ascx    6    
Warning    18    WithEvents variable 'ContentPane' conflicts with property 'ContentPane' in the base class 'Container' and should be declared 'Shadows'.    C:\websites\DotNetNukeWebsite1\Portals\_default\Containers\Gravity\Title_h4.ascx    6    
Warning    19    'ASP.portals__default_containers__default_popupcontainer_ascx.ContentPane' hides inherited member 'DotNetNuke.UI.Containers.Container.ContentPane'. Use the new keyword if hiding was intended.    C:\websites\DotNetNukeWebsite1\Portals\_default\Containers\_default\popUpContainer.ascx    3    
Warning    20    'ASP.portals__default_containers__default_no_container_ascx.ContentPane' hides inherited member 'DotNetNuke.UI.Containers.Container.ContentPane'. Use the new keyword if hiding was intended.    C:\websites\DotNetNukeWebsite1\Portals\_default\Containers\_default\No Container.ascx    2    
Warning    21    'DotNetNuke.Framework.DefaultPage.Form' hides inherited member 'System.Web.UI.Page.Form'. Use the new keyword if hiding was intended.    C:\websites\DotNetNukeWebsite1\Default.aspx    32    
Warning    22    'DotNetNuke.Services.Exceptions.ErrorPage.Form' hides inherited member 'System.Web.UI.Page.Form'. Use the new keyword if hiding was intended.    C:\websites\DotNetNukeWebsite1\ErrorPage.aspx    12    

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

errors

Error    1    'DotNetNuke.UI.Containers.PrintModule.PrintIcon.get' must declare a body because it is not marked abstract or extern    C:\websites\DotNetNukeWebsite1\admin\Containers\PrintModule.ascx.cs    57    
Error    2    'DotNetNuke.UI.Containers.PrintModule.PrintIcon.set' must declare a body because it is not marked abstract or extern    C:\websites\DotNetNukeWebsite1\admin\Containers\PrintModule.ascx.cs    57    
Error    3    'DotNetNuke.UI.Containers.Icon.BorderWidth.get' must declare a body because it is not marked abstract or extern    C:\websites\DotNetNukeWebsite1\admin\Containers\Icon.ascx.cs    55    
Error    4    'DotNetNuke.UI.Containers.Icon.BorderWidth.set' must declare a body because it is not marked abstract or extern    C:\websites\DotNetNukeWebsite1\admin\Containers\Icon.ascx.cs    55    
Error    5    'DotNetNuke.UI.Containers.Visibility.BorderWidth.get' must declare a body because it is not marked abstract or extern    C:\websites\DotNetNukeWebsite1\admin\Containers\Visibility.ascx.cs    131    
Error    6    'DotNetNuke.UI.Containers.Visibility.BorderWidth.set' must declare a body because it is not marked abstract or extern    C:\websites\DotNetNukeWebsite1\admin\Containers\Visibility.ascx.cs    131    
Error    7    'DotNetNuke.UI.Containers.Visibility.minIcon.get' must declare a body because it is not marked abstract or extern    C:\websites\DotNetNukeWebsite1\admin\Containers\Visibility.ascx.cs    161    
Error    8    'DotNetNuke.UI.Containers.Visibility.minIcon.set' must declare a body because it is not marked abstract or extern    C:\websites\DotNetNukeWebsite1\admin\Containers\Visibility.ascx.cs    161    
Error    9    'DotNetNuke.UI.Containers.Visibility.MaxIcon.get' must declare a body because it is not marked abstract or extern    C:\websites\DotNetNukeWebsite1\admin\Containers\Visibility.ascx.cs    164    
Error    10    'DotNetNuke.UI.Containers.Visibility.MaxIcon.set' must declare a body because it is not marked abstract or extern    C:\websites\DotNetNukeWebsite1\admin\Containers\Visibility.ascx.cs    164    
Error    11    'DotNetNuke.UI.Containers.Controls.Toggle.Class.get' must declare a body because it is not marked abstract or extern    C:\websites\DotNetNukeWebsite1\admin\Containers\Toggle.ascx.cs    54    
Error    12    'DotNetNuke.UI.Containers.Controls.Toggle.Class.set' must declare a body because it is not marked abstract or extern    C:\websites\DotNetNukeWebsite1\admin\Containers\Toggle.ascx.cs    54    
Error    13    'DotNetNuke.UI.Containers.Title.CssClass.get' must declare a body because it is not marked abstract or extern    C:\websites\DotNetNukeWebsite1\admin\Containers\Title.ascx.cs    52    
Error    14    'DotNetNuke.UI.Containers.Title.CssClass.set' must declare a body because it is not marked abstract or extern    C:\websites\DotNetNukeWebsite1\admin\Containers\Title.ascx.cs    52    


 

 

 
New Post
12/19/2012 1:17 AM
 

Hello,, 

I went through the tutorial below and every thing is ok.

but when I view the Design of the ascx page it doesn't appear as it should be .

any idea pleas......

http://www.dotnetnuke.com/Resources/Wiki/Page/How-to-Install-the-Source-Package-of-DotNetNuke.aspx

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...convert visual studio 2012 website(masterpage + CSS file) to dnn7convert visual studio 2012 website(masterpage + CSS file) to dnn7


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out