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, ...I canI can't add a new module to my page
Previous
 
Next
New Post
9/21/2011 5:45 PM
 
Hi All,
I am learning how to create skins. My skin is correctly applied to my page but when I add a module I can't see the new module in my page. Could anyone tell me what is wrong with my skin ?

Also I created a page with the default skin. I added a common module and I inserted an image. It works well but when I try to apply my new custom skin I get the error message below:

Exception Details: System.ArgumentNullException: Value cannot be null.
Parameter name: file

Source Error: 

Line 134: { Line 135: var fileInfo = FileManager.Instance.GetFile(portalSettings.PortalId, portalSettings.LogoFile); Line 136: headerImage.ImageUrl = FileManager.Instance.GetUrl(fileInfo); Line 137: } Line 138: else

Source File: c:\Documents and Settings\WEB DEVELOPER\Mis documentos\My Web Sites\dotnetnuke\ErrorPage.aspx.cs    Line: 136 

Stack Trace: 

[ArgumentNullException: Value cannot be null. Parameter name: file] DotNetNuke.Common.Requires.NotNull(String argName, Object argValue) +48 DotNetNuke.Services.FileSystem.FileManager.GetUrl(IFileInfo file) +49 DotNetNuke.Services.Exceptions.ErrorPage.OnLoad(EventArgs e) in c:\Documents and Settings\WEB DEVELOPER\Mis documentos\My Web Sites\dotnetnuke\ErrorPage.aspx.cs:136 System.Web.UI.Control.LoadRecursive() +50 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627 


My Skin is below:

<%@ Control language="vb" CodeBehind="~/admin/Skins/skin.vb" AutoEventWireup="false" Explicit="True" Inherits="DotNetNuke.UI.Skins.Skin" %>

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

<link href="<%= SkinPath %>BoA_archivos/css/default.css" rel="stylesheet" type="text/css" />

<link href="<%= SkinPath %>BoA_archivos/prettyCheckboxes.css" rel="stylesheet" type="text/css" />

<SCRIPT language=javascript src="<%= SkinPath %>BoA_archivos/jquery-1.6.2.min.js"></SCRIPT>

<SCRIPT language=javascript src="<%= SkinPath %>BoA_archivos/easySlider1.7.js"></SCRIPT>

<SCRIPT language=javascript src="<%= SkinPath %>BoA_archivos/prettyCheckboxes.js"></SCRIPT>

<SCRIPT language=javascript src="<%= SkinPath %>BoA_archivos/script.js"></SCRIPT>

<DIV id=page style="BACKGROUND: url(<%= SkinPath %>BoA_archivos/images/lago.png)" >

<DIV id=header>

<DIV id=header_page>

<DIV id=logo><A href="http://www.southmakers.com/clients/boa/index.html"><IMG

alt=Boa src="<%= SkinPath %>BoA_archivos/images/logo.png"></A></DIV>

<UL id=optionip>

<LI><LABEL>Paisaje</LABEL> <SELECT class=landscape name=landscape> <OPTION

selected>Lago</OPTION> <OPTION>Salar</OPTION></SELECT> </LI>

<LI><LABEL>Idioma</LABEL> <SELECT class=language name=language> <OPTION

selected>ES</OPTION> <OPTION>EN</OPTION> <OPTION>FR</OPTION></SELECT> </LI></UL>

<DIV class=fonfast><SPAN class=msg>Contactenos</SPAN> <SPAN class=nine>901 10

5010</SPAN> </DIV>

<UL id=menu_top>

<dnn:SOLPARTMENU

runat="server"

id="dnnSOLPARTMENU"

usearrows="true"

userootbreadcrumbarrow="false"

usesubmenubreadcrumbarrow="false"

rootmenuitemlefthtml="<span>"

rootmenuitemrighthtml="</span>"

rootmenuitemcssclass="rootmenuitem"

rootmenuitemselectedcssclass="rootmenuitemselected"

rootmenuitembreadcrumbcssclass="rootmenuitembreadcrumb"

submenucssclass="submenu"

submenuitemselectedcssclass="submenuitemselected"

submenuitembreadcrumbcssclass="submenuitembreadcrumb"

CSSNodeSelectedRoot="rootmenuitembreadcrumb"

CSSNodeSelectedSub="submenuitembreadcrumb"

delaysubmenuload="true"

/>

</UL>

 

</DIV>

</DIV>

<DIV id=page_inner>

<DIV id=page_body>

<DIV class=sidebar>

<DIV class=box_opt>

<DIV class=title>

<H5 class=active>Compra tu ticket online</H5></DIV>

<DIV class="box_cont one">

<DIV class=box>

<DIV class=row>

<DIV class=option></DIV>

<DIV class=value><LABEL><INPUT class=radio value="" type=radio name=ida>Solo

ida</LABEL> <LABEL><INPUT class=radio value="" type=radio name=idavuelta>Ida y

vuelta</LABEL> </DIV></DIV>

<DIV class=row>

<DIV class=option>Clase</DIV>

<DIV class=value><SELECT name=clase> <OPTION selected>Económica</OPTION>

<OPTION>Turista</OPTION> <OPTION>Ejecutivo</OPTION></SELECT> </DIV></DIV></DIV>

<DIV class=box>

<H5 class=sub_title>Origen</H5>

<DIV class=row><SELECT name=city> <OPTION selected>Económica</OPTION>

<OPTION>Turista</OPTION> <OPTION>Ejecutivo</OPTION></SELECT> </DIV>

<DIV class=row><INPUT class="datepicker text" value="Fecha de salida"

type=text><A class=icon_cal href="http://www.southmakers.com/clients/boa/#"><IMG

alt=" " src="BoA_archivos/icon-calendar.png"></A> </DIV></DIV>

<DIV class=box>

<H5 class=sub_title>Destino</H5>

<DIV class=row><SELECT name=city> <OPTION selected>Económica</OPTION>

<OPTION>Turista</OPTION> <OPTION>Ejecutivo</OPTION></SELECT> </DIV>

<DIV class=row><INPUT class="datepicker text" value="Fecha de salida"

type=text><A class=icon_cal href="http://www.southmakers.com/clients/boa/#"><IMG

alt=" " src="BoA_archivos/icon-calendar.png"></A> </DIV></DIV>

<DIV class=box>

<H5 class=sub_title>Pasajeros</H5>

<DIV class=row>

<DIV class=row_small><LABEL>Adultos</LABEL> <SELECT name=sr> <OPTION

selected>1</OPTION> <OPTION>2</OPTION> <OPTION>3</OPTION></SELECT> </DIV>

<DIV class=row_small><LABEL>Niños</LABEL> <SELECT name=child> <OPTION

selected>1</OPTION> <OPTION>2</OPTION> <OPTION>3</OPTION></SELECT> </DIV>

<DIV class=row_small><LABEL>Bebes</LABEL> <SELECT name=baby> <OPTION

selected>1</OPTION> <OPTION>2</OPTION> <OPTION>3</OPTION></SELECT>

</DIV></DIV></DIV>

<DIV class=row><LABEL class=single><INPUT value="" type=radio

name=fecha_flexible> Mis fechas son flexibles </LABEL><A class=btn

href="http://www.southmakers.com/clients/boa/information.html">Buscar vuelos</A>

<DIV class=clear></DIV></DIV></DIV>

<DIV class=clear></DIV></DIV>

<DIV class="box_opt two">

<DIV class=title>

<H5>Check in adelantado</H5></DIV>

<DIV class="box_cont two">

<DIV class=text_msg>Reserve su asiento e imprima su tarjeta de embarque, desde

el dÃa anterior, y hasta 2 horas antes de la salida programada del vuelo y podra

ir directamente a la puerta de embarque, si no tiene que facturar equipaje.

</DIV>

<H4 class=subtitle>Seleccione el tipo de busqueda:</H4>

<DIV class=box>

<DIV class=row><LABEL>Código de Reserva <INPUT type=radio name=reserva>

</LABEL></DIV>

<DIV class=row><LABEL>Documento Nacional de Identificacion <INPUT type=radio

name=reserva> </LABEL></DIV>

<DIV class=row><LABEL>Frecuent Flyer <INPUT type=radio name=reserva>

</LABEL></DIV></DIV>

<H4 class=subtitle>Búsqueda por código de reserva:</H4>

<DIV class=box>

<DIV class=row>

<DIV class="option sub_title">Apellido*</DIV>

<DIV class=value><INPUT class=text type=text></DIV></DIV>

<DIV class=row>

<DIV class="option sub_title">Código reserva*</DIV>

<DIV class=value><INPUT class=text type=text></DIV></DIV>

<DIV class=row>

<DIV class="option sub_title">Origen *</DIV>

<DIV class=value><LABEL class=only>Solo se incluyen aeropuertos

autorizados</LABEL> <SELECT name=city> <OPTION selected>Cochabamba</OPTION>

<OPTION>Santa Cruz</OPTION> <OPTION>La Paz</OPTION></SELECT> </DIV></DIV></DIV>

<H4 class="subtitle single">* Los campos con asterizco son obligatorios</H4>

<DIV class=row><A class=btn

href="http://www.southmakers.com/clients/boa/#">Buscar</A>

<DIV class=clear></DIV></DIV></DIV>

<DIV class=clear></DIV></DIV>

<DIV class=box_opt>

<DIV class=title>

<H5>Llegadas y salidas de vuelos</H5></DIV>

<DIV class="box_cont three">

<DIV class=box>

<DIV class=row>

<DIV class=option></DIV>

<DIV class=value><LABEL><INPUT class=radio value="" type=radio name=ida>Solo

ida</LABEL> <LABEL><INPUT class=radio value="" type=radio name=idavuelta>Ida y

vuelta</LABEL> </DIV></DIV>

<DIV class=row>

<DIV class=option>Clase</DIV>

<DIV class=value><SELECT name=clase> <OPTION selected>Económica</OPTION>

<OPTION>Turista</OPTION> <OPTION>Ejecutivo</OPTION></SELECT> </DIV></DIV></DIV>

<DIV class=box>

<H5 class=sub_title>Origen</H5>

<DIV class=row><SELECT name=city> <OPTION selected>Económica</OPTION>

<OPTION>Turista</OPTION> <OPTION>Ejecutivo</OPTION></SELECT> </DIV>

<DIV class=row><INPUT class="datepicker text" value="Fecha de salida"

type=text><A class=icon_cal href="http://www.southmakers.com/clients/boa/#"><IMG

alt=" " src="BoA_archivos/icon-calendar.png"></A> </DIV></DIV>

<DIV class=box>

<H5 class=sub_title>Destino</H5>

<DIV class=row><SELECT name=city> <OPTION selected>Económica</OPTION>

<OPTION>Turista</OPTION> <OPTION>Ejecutivo</OPTION></SELECT> </DIV>

<DIV class=row><INPUT class="datepicker " value="Fecha de salida" type=text><A

class=icon_cal href="http://www.southmakers.com/clients/boa/#"><IMG alt=" "

src="BoA_archivos/icon-calendar.png"></A> </DIV></DIV>

<DIV class=box>

<H5 class=sub_title>Pasajeros</H5>

<DIV class=row>

<DIV class=row_small><LABEL>Adultos</LABEL> <SELECT name=sr> <OPTION

selected>1</OPTION> <OPTION>2</OPTION> <OPTION>3</OPTION></SELECT> </DIV>

<DIV class=row_small><LABEL>Niños</LABEL> <SELECT name=child> <OPTION

selected>1</OPTION> <OPTION>2</OPTION> <OPTION>3</OPTION></SELECT> </DIV>

<DIV class=row_small><LABEL>Bebes</LABEL> <SELECT name=baby> <OPTION

selected>1</OPTION> <OPTION>2</OPTION> <OPTION>3</OPTION></SELECT>

</DIV></DIV></DIV>

<DIV class=row><LABEL class=single><INPUT value="" type=radio

name=fecha_flexible> Mis fechas son flexibles </LABEL><A class=btn

href="http://www.southmakers.com/clients/boa/#">Buscar vuelos</A>

<DIV class=clear></DIV></DIV></DIV>

<DIV class=clear></DIV></DIV>

<DIV class=box_opt>

<DIV class=title>

<H5>Hoteles y lugares turÃsticos</H5></DIV>

<DIV class="box_cont four">

<DIV class=box>

<DIV class=row>

<DIV class=option></DIV>

<DIV class=value><LABEL><INPUT class=radio value="" type=radio name=ida>Solo

ida</LABEL> <LABEL><INPUT class=radio value="" type=radio name=idavuelta>Ida y

vuelta</LABEL> </DIV></DIV>

<DIV class=row>

<DIV class=option>Clase</DIV>

<DIV class=value><SELECT name=clase> <OPTION selected>Económica</OPTION>

<OPTION>Turista</OPTION> <OPTION>Ejecutivo</OPTION></SELECT> </DIV></DIV></DIV>

<DIV class=box>

<H5 class=sub_title>Origen</H5>

<DIV class=row><SELECT name=city> <OPTION selected>Económica</OPTION>

<OPTION>Turista</OPTION> <OPTION>Ejecutivo</OPTION></SELECT> </DIV>

<DIV class=row><INPUT class="datepicker text" value="Fecha de salida"

type=text><A class=icon_cal href="http://www.southmakers.com/clients/boa/#"><IMG

alt=" " src="BoA_archivos/icon-calendar.png"></A> </DIV></DIV>

<DIV class=box>

<H5 class=sub_title>Destino</H5>

<DIV class=row><SELECT name=city> <OPTION selected>Económica</OPTION>

<OPTION>Turista</OPTION> <OPTION>Ejecutivo</OPTION></SELECT> </DIV>

<DIV class=row><INPUT class="datepicker " value="Fecha de salida" type=text><A

class=icon_cal href="http://www.southmakers.com/clients/boa/#"><IMG alt=" "

src="BoA_archivos/icon-calendar.png"></A> </DIV></DIV>

<DIV class=box>

<H5 class=sub_title>Pasajeros</H5>

<DIV class=row>

<DIV class=row_small><LABEL>Adultos</LABEL> <SELECT name=sr> <OPTION

selected>1</OPTION> <OPTION>2</OPTION> <OPTION>3</OPTION></SELECT> </DIV>

<DIV class=row_small><LABEL>Niños</LABEL> <SELECT name=child> <OPTION

selected>1</OPTION> <OPTION>2</OPTION> <OPTION>3</OPTION></SELECT> </DIV>

<DIV class=row_small><LABEL>Bebes</LABEL> <SELECT name=baby> <OPTION

selected>1</OPTION> <OPTION>2</OPTION> <OPTION>3</OPTION></SELECT>

</DIV></DIV></DIV>

<DIV class=row><LABEL class=single><INPUT value="" type=radio

name=fecha_flexible> Mis fechas son flexibles </LABEL><A class=btn

href="http://www.southmakers.com/clients/boa/#">Buscar vuelos</A>

<DIV class=clear></DIV></DIV></DIV>

<DIV class=clear></DIV></DIV>

<DIV class=box_opt>

<DIV class=title>

<H5>Compra tu ticket online</H5></DIV>

<DIV class="box_cont five">

<DIV class=box>

<DIV class=row>

<DIV class=option></DIV>

<DIV class=value><LABEL><INPUT class=radio value="" type=radio name=ida>Solo

ida</LABEL> <LABEL><INPUT class=radio value="" CHECKED type=radio

name=idavuelta>Ida y vuelta</LABEL> </DIV></DIV>

<DIV class=row>

<DIV class=option>Clase</DIV>

<DIV class=value><SELECT name=clase> <OPTION selected>Económica</OPTION>

<OPTION>Turista</OPTION> <OPTION>Ejecutivo</OPTION></SELECT> </DIV></DIV></DIV>

<DIV class=box>

<H5 class=sub_title>Origen</H5>

<DIV class=row><SELECT name=city> <OPTION selected>Económica</OPTION>

<OPTION>Turista</OPTION> <OPTION>Ejecutivo</OPTION></SELECT> </DIV>

<DIV class=row><INPUT class="datepicker text" value="Fecha de salida"

type=text><A class=icon_cal href="http://www.southmakers.com/clients/boa/#"><IMG

alt=" " src="BoA_archivos/icon-calendar.png"></A> </DIV></DIV>

<DIV class=box>

<H5 class=sub_title>Destino</H5>

<DIV class=row><SELECT name=city> <OPTION selected>Económica</OPTION>

<OPTION>Turista</OPTION> <OPTION>Ejecutivo</OPTION></SELECT> </DIV>

<DIV class=row><INPUT class="datepicker " value="Fecha de salida" type=text><A

class=icon_cal href="http://www.southmakers.com/clients/boa/#"><IMG alt=" "

src="BoA_archivos/icon-calendar.png"></A> </DIV></DIV>

<DIV class=box>

<H5 class=sub_title>Pasajeros</H5>

<DIV class=row>

<DIV class=row_small><LABEL>Adultos</LABEL> <SELECT name=sr> <OPTION

selected>1</OPTION> <OPTION>2</OPTION> <OPTION>3</OPTION></SELECT> </DIV>

<DIV class=row_small><LABEL>Niños</LABEL> <SELECT name=child> <OPTION

selected>1</OPTION> <OPTION>2</OPTION> <OPTION>3</OPTION></SELECT> </DIV>

<DIV class=row_small><LABEL>Bebes</LABEL> <SELECT name=baby> <OPTION

selected>1</OPTION> <OPTION>2</OPTION> <OPTION>3</OPTION></SELECT>

</DIV></DIV></DIV>

<DIV class=row><LABEL class=single><INPUT value="" type=radio

name=fecha_flexible> Mis fechas son flexibles </LABEL><A class=btn

href="http://www.southmakers.com/clients/boa/#">Buscar vuelos</A>

<DIV class=clear></DIV></DIV></DIV>

<DIV class=clear></DIV></DIV></DIV>

<DIV class=content>

<DIV id=slider runat="server">

<!--<UL>

<LI><A href="#"><IMG alt=Lima

src="<%= SkinPath %>BoA_archivos/slide1.png"></A></LI>

<LI><A href="#"><IMG alt=Lima

src="<%= SkinPath %>BoA_archivos/slide1.png"></A></LI></UL>

-->

</DIV>

<DIV class=media>

<DIV id=box_player class=box_player runat="server">

<!--<IMG alt=player src="<%= SkinPath %>BoA_archivos/player.jpg"> -->

</DIV>

<H5>CONOZCA LAS VENTAJAS DE COMPRAR POR INTERNET</H5>

<UL class=list_media>

<LI><A href="http://www.southmakers.com/clients/boa/#">Lorem ipsum</A></LI>

<LI><A href="http://www.southmakers.com/clients/boa/#">Dolor amet</A></LI>

<LI><A href="http://www.southmakers.com/clients/boa/#">Lorem ipsum</A></LI>

<LI><A href="http://www.southmakers.com/clients/boa/#">Dolor

amet</A></LI></UL></DIV>

<DIV id=offer1 class=offer runat="server">

<!--<A href="#">

<IMG alt="Buenos Aires" src="<%= SkinPath %>BoA_archivos/oferta1.png"></A>

-->

</DIV>

<DIV id=offer2 class=offer runat="server">

<!--

<A href="#"><IMG alt="Sao Paulo" src="<%= SkinPath %>BoA_archivos/oferta2.png"></A>

-->

</DIV></DIV>

<DIV class=clear></DIV></DIV></DIV>

<DIV id=footer>

<DIV id=footer_page>

<UL id=menu_foot>

<LI><A href="login.aspx?ctl=login">Administracion</A></LI>

<LI><A href="http://www.southmakers.com/clients/boa/#">Intranet</A></LI>

<LI><A href="http://www.southmakers.com/clients/boa/#">Terminos y

condiciones</A></LI>

<LI><A href="http://www.southmakers.com/clients/boa/#">Politica de

privacidad</A></LI></UL><!--<div class="box_like">

<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="jandia81" data-related="bencho515">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>

<iframe src="http://www.facebook.com/plugins/like.php?app_id=285528478129400&amp;href=http%3A%2F%2Fwww.southmakers.com%2Fclients%2Faaxtreme&amp;send=false&amp;layout=button_count&amp;width=250&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font=arial&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:150px; height:21px;" allowTransparency="true"></iframe>

</div>--></DIV></DIV></DIV>


 
New Post
9/22/2011 1:56 AM
 
Hi jorge,

I have taken a look at the code of your skin, it seems there's no "ContentPane" in your skin. That's the problem.

For DNN skin, the "ContentPane" is required, something like this: <div id="ContentPane" runat="server"></div>

Hope this can help

NovaSoftware ---a professional outsourcing company in China .
* More than 6 years' offshore experience in DNN
* Successfully developed 30+ websites , 250+ DNN modules, 50+ sets of Skins/Containers.
* Demo Site:http://dotnetnuke.novasoftware.com/
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...I canI can't add a new module to my page


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