<%= SkinPath %> problems

Last post 03-17-2005 6:07 PM by DougV. 4 replies.

Sort Posts:

  • <%= SkinPath %> problems

    03-17-2005, 3:21 PM
    • Contributor
      3,090 point Contributor
    • DougV
    • Member since 02-23-2004, 11:27 AM
    • Missouri
    • Posts 618
    When I have a skin file such as MYSKIN.ASCX:
    <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="960" align="center">

    <TR>
    <TD BACKGROUND="<%= SkinPath %>Middle_1x1.jpg" WIDTH="240" ROWSPAN="1" COLSPAN="1"></TD>
    <TD BACKGROUND="<%= SkinPath %>Middle_1x2.jpg" WIDTH="20" ROWSPAN="1" COLSPAN="1"></TD>
    <TD BACKGROUND="<%= SkinPath %>Middle_1x3.jpg" WIDTH="664" ROWSPAN="1" COLSPAN="1"></TD>
    <TD BACKGROUND="<%= SkinPath %>Middle_1x4.jpg" WIDTH="36" ROWSPAN="1" COLSPAN="1"></TD>
    </TR>

    <TR>
    <TD BACKGROUND="<%= SkinPath %>Middle_2x1.jpg" WIDTH="240" id="leftpane" runat="server" valign="top"></TD>


    When it gets run, this is what I receive:
    <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="960" align="center">

    <TR>
    <TD BACKGROUND="/DotNetNuke/Portals/0/Skins/PHD/Middle_1x1.jpg" WIDTH="240" ROWSPAN="1" COLSPAN="1"></TD>
    <TD BACKGROUND="/DotNetNuke/Portals/0/Skins/PHD/Middle_1x2.jpg" WIDTH="20" ROWSPAN="1" COLSPAN="1"></TD>
    <TD BACKGROUND="/DotNetNuke/Portals/0/Skins/PHD/Middle_1x3.jpg" WIDTH="664" ROWSPAN="1" COLSPAN="1"></TD>
    <TD BACKGROUND="/DotNetNuke/Portals/0/Skins/PHD/Middle_1x4.jpg" WIDTH="36" ROWSPAN="1" COLSPAN="1"></TD>
    </TR>

    <TR>
    <TD id="dnn_leftpane"
    BACKGROUND="<%= SkinPath %>Middle_2x1.jpg" width="240" valign="top"><a name="366"></a>

    Why didn't that SkinPath get processed?
  • Re: <%= SkinPath %> problems

    03-17-2005, 3:34 PM
    • Contributor
      5,421 point Contributor
    • xpdit
    • Member since 08-25-2002, 5:20 PM
    • Victoria, BC, CANADA
    • Posts 1,086
    i can see that you are declaring it as a pane, i suspect there is a different process for the Pane Declared tags, which is not supporting skinpath yet. thanks for bringing this up, i will verify and enter in a bug report .
    Intuition without concept is blind; Concept without intuition is empty -- I. Kant : Critique of Pure Reason

    In the olden days, books were burned. Now the website is shut down.

    KodHedZ Software Development
  • Re: <%= SkinPath %> problems

    03-17-2005, 4:31 PM
    • Contributor
      3,090 point Contributor
    • DougV
    • Member since 02-23-2004, 11:27 AM
    • Missouri
    • Posts 618
    For whatever it's worth, no such bug in 3.0.9 where I first designed that skin.
  • Re: <%= SkinPath %> problems

    03-17-2005, 4:47 PM
    • Star
      11,175 point Star
    • mrswoop
    • Member since 04-11-2003, 3:51 PM
    • Seattle, WA
    • Posts 2,235
    Scott Willhite
    It is only with the heart that one can see rightly... what is essential is invisible to the eye.
    ~ Antoine de Saint-Exupéry
  • Re: <%= SkinPath %> problems

    03-17-2005, 4:54 PM
    • Contributor
      3,090 point Contributor
    • DougV
    • Member since 02-23-2004, 11:27 AM
    • Missouri
    • Posts 618
    Thanks, Scott! :-D I needed that!
Page 1 of 1 (5 items)