Login
Register
08-02-2012

Resources for the DotNetNuke Community


Support this site

  Support forums  

You need to be logged in in order to post to this forums.
SearchForum Home
  Modules  Printing SkinObjects  PagePrint Probl...
 PagePrint Problem
 
imgOfflineggutenberg
1 posts
Joined
11/8/2006

PagePrint Problem
Posted: 07 Nov 06 9:03 PM
Hi.  I've recently installed your PagePrint module on a 4.3.5 installation of DNN.  I've managed to get the token recognized and showing up in my skin, but the link to the "Print-friendly" skin isn't working.  It just keeps opening the print friendly page in the same skin the page is already using.  I've included both 3Panes.html and 3PanesPF.html in my skin package.  3Panes.html is my default, and 3PanesPF is the print friendly.  My skin.xml looks like this:

    <Object>
        <Token>
            [PAGEPRINT]
        </Token>
        <Settings>
            <Setting>
                <Name>Text</Name>
                <Value>Printer-Friendly Page</Value>
            </Setting>
            <Setting>
                <Name>PrintIcon</Name>
                <Value>~\images\print.gif</Value>
            </Setting>
            <Setting>
                <Name>Template</Name>
                <Value>3panesPF</Value>
            </Setting>
        </Settings>
    </Object>

I've also not gotten any text to show up, even when I use the ShowText attribute and set it to true.  Any idea what I could be doing wrong?
imgOfflinednnjungle
151 posts
5th
Joined
3/13/2005

Re: PagePrint Problem
Posted: 14 Nov 06 5:31 AM

Did you verify that the skin installed correctly?

Can you paste here how the code looks like in the .ascx skin file, I think this will help on indentifying the problem.


Disgrafic.com
imgOfflineij
2 posts
hlfimages.com
Joined
1/19/2009

Re: PagePrint Problem
Posted: 19 Jan 09 11:45 PM Modified By ij  on 1/19/2009 11:45:50 PM)
Hi, did this ever get resolved? I am having exactly the same problem. DNN newbie so I tried to go through very methodically. Installation of the SkinObject went fine and I have confirmed it is there.

Printer icon displays as expected and opens a new window, but not with the print skin, but the one from the view page.

It looks like the xml file is not being referenced (none of the attributes I defined in are there except the print graphic and as there is a different tooltip, I'm guessing those are defaults...?)

Apologies if this is a dumb question, thanks in advance for any help,

ij
imgOfflinednnjungle
151 posts
5th
Joined
3/13/2005

Re: PagePrint Problem
Posted: 20 Jan 09 8:23 AM
Can you paste the here how the page print skin object reference looks like in your skin ascx file? I suppose this is just some parameters wrongly entered.
Disgrafic.com
imgOfflineij
2 posts
hlfimages.com
Joined
1/19/2009

Re: PagePrint Problem
Posted: 21 Jan 09 1:44 AM Modified By ij  on 1/22/2009 1:42:29 AM)
Sure...

This is what I put in for the tag prefix:

<%@ Register TagPrefix="dnn" TagName="PAGEPRINT" Src="~/DesktopModules/VMasanas - PagePrint/PagePrint.ascx" %>


and the token:

  <dnn:PAGEPRINT runat="server" id="dnnPAGEPRINT"/>

***EDIT***
I have some progress, not what I would call a solution, but at least I can move forward.

I changed the token script to:

<dnn:PAGEPRINT runat="server" id="dnnPAGEPRINT" Text="PRINT THIS PAGE" PrintIcon="print.gif" Template="hlf-print3" ToolTip="PRINT THIS PAGE"/>
          
which I'm guessing is what i should have done at the start (but thought the attributes should go in the skin.xml file), but at least now I get the page into my print skin...

Now if I could only figure out why the CSS classes for the print skin aren't loading...
Can stylesheet classes get stripped and different ones applied with this system?  It seems to be suggested that it is possible, but I don't see how...? Some people find the text too small on the printouts.

Thanks for your patience with this newbie...
  Modules  Printing SkinObjects  PagePrint Probl...
© Vicenç Masanas Terms Of Use Privacy Statement   
.