DNNSkins.com

Quality skins for your DNN website

DNNSkins Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 31/10/2011 6:50 PM by NinaXD
I can't see my added modules to my page
1 Replies
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
You are not authorized to post a reply.
Author Messages
jchavez New Member New Member Posts:1
--
22/09/2011 9:34 AM
    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" %>
















    <div id="box_player" class="box_player" runat="server">
    <!--player -->

    CONOZCA LAS VENTAJAS DE COMPRAR POR INTERNET


    <div id="offer1" class="offer" runat="server">
    <!--
    Buenos Aires

    -->

    <div id="offer2" class="offer" runat="server">
    <!--
    Sao Paulo
    -->




    NinaXD DNNSkins Rocks Advanced Member Advanced Member Posts:13
    --
    31/10/2011 6:50 PM
    Sorry - I didn't see this post - did you sort out your problem?
    Back on track for 2012
    You are not authorized to post a reply.