Login
Register
07-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  Printskinn does...
 Printskinn doesn't work
 
imgOfflinemike-b
1 posts
Joined
2/17/2006

Printskinn doesn't work
Posted: 17 Feb 06 3:09 AM
Hi

I've installed the print module and I created a new container with the modified [printtemplate] token. I did it like in your tutorial - same structure same objects and their settings. I got my own print icon and I defined a print template whit it's own container.

I created a new skin with the same name I defined in the token-settings of my container. Certainly also a new container with the same name like in the XML-File....

I added a new tab and used my printcontainer on a HTML/Text Module. I can see my own print icon, so I think the token should work fine.
When I click on it, the module won't appear in my new printskin - instead skin stays the same defaultskin DNN Blue. Damn I tried hours making this stuff work.

Can u help me?
Thanks
Mike
imgOfflinednnjungle
151 posts
5th
Joined
3/13/2005

Re: Printskinn doesn't work
Posted: 17 Feb 06 3:47 AM
Sure I can help but I'll need some more info.
You could post the xml file contents over here or send me the container package by mail (dnnjungle at vmasanas . net) and I'll take a look.

Disgrafic.com
imgOfflinetwiggz
3 posts
Joined
3/20/2007

Re: Printskinn doesn't work
Posted: 20 Mar 07 10:13 AM Modified By twiggz  on 3/20/2007 10:14:23 AM)

I'm having the same problem. The print icon and the container displays properly but the skin defaults to the default portal skin.

I've tried all possible values for template which it could be but still shows the default skin. Here is the containers xml document contents:

<Objects>
 <Object>
  <Token>[TITLE]</Token>
  <Settings>
   <Setting>
    <Name>CssClass</Name>
    <Value>ModTitle</Value>
   </Setting>
  </Settings>
 </Object>
 <Object>
  <Token>[TEMPLATEPRINT]</Token>
  <Settings>
   <Setting>
    <Name>PrintIcon</Name>
    <Value>print.gif</Value>
   </Setting>
   <Setting>
    <Name>Template</Name>
    <Value>PrintSkin</Value>
   </Setting>
   <Setting>
    <Name>Container</Name>
    <Value>PrintContainer</Value>
   </Setting>
   <Setting>
    <Name>ToolTip</Name>
    <Value>Printer friendly version</Value>
   </Setting>
   <Setting>
    <Name>Text</Name>
    <Value></Value>
   </Setting>
   <Setting>
    <Name>CssClass</Name>
    <Value>PrintClass</Value>
   </Setting>
  </Settings>
 </Object>
</Objects>

Thanks,

Twiggz

imgOfflinednnjungle
151 posts
5th
Joined
3/13/2005

Re: Printskinn doesn't work
Posted: 22 Mar 07 10:27 AM

You can look at what happens on your site by looking at the url when you hove the mouse on the print icon.

On my site it's something like this:

http://dnnjungle.vmasanas.net/Default.aspx?TabId=41&mid=371&SkinSrc=[G]Skins/dnnjungle/printmodule&ContainerSrc=[G]Containers/dnnjungle/printcontainer&dnnprintmode=true

Note the values of SkinSrc and ContainerSrc. Both refer to a [G]lobal skin (host) and it includes the relative path to the skin. Take a look on your url and check whetere the params have the expected values or not.


Disgrafic.com
imgOfflinetwiggz
3 posts
Joined
3/20/2007

Re: Printskinn doesn't work
Posted: 28 Mar 07 2:10 AM

That's my problem, the SkinSrc QueryString value in the URL is defaulting to the default portal skin and not the one that I've specified in the container XML. The ContainerScr picks up the correct container value but not the Skin Scr.

If I alter the URL manually to the Skin that I uploaded it show's up correctly though. It's as though the Skin Object isn't seeing that the skin specified has been uploaded.

imgOfflinednnjungle
151 posts
5th
Joined
3/13/2005

Re: Printskinn doesn't work
Posted: 28 Mar 07 11:46 PM
This is usually a sign that you have not configured the skin object correctly.
Disgrafic.com
imgOfflinetwiggz
3 posts
Joined
3/20/2007

Re: Printskinn doesn't work
Posted: 30 Mar 07 6:45 AM

I have created a very basic skin called PrintSkin with no controls on it and only panel definitions. The PrintContainer (already uploaded the XML file) references the PrintSkin skin in the containers TemplatePrint token under the Template value.

When I upload the Skin to the portal it shows it as PrintSkin in the skins drop down and if I change the URL when I click on the TemplatePrint print icon to show [G]Skins/printskin/printskin for the SkinSrc is shows up properly. But it still loads the default portal skin initially.

Is there anything else that I need to specify in the container file?

imgOfflinednnjungle
151 posts
5th
Joined
3/13/2005

Re: Printskinn doesn't work
Posted: 02 Apr 07 1:43 AM
Without looking at it I don't know what is the problem. If you want you can send me your skin (dnnjungle at vmasanas.net) and I'll take a look.
Disgrafic.com
imgOfflinekeith
1 posts
tauranga.govt.nz
Joined
4/9/2007

Re: Printskinn doesn't work
Posted: 09 Apr 07 2:56 PM

I'm having the same problem. I've put the PAGEPRINT token into the skin.xml file of the skin that I'm using for the rest of the site.  This token has a Template attribute which points to 'PagePrintTest' which is a simple skin in the same skin folder as the skin.xml file. 

This is a snippet of my pageprint token from skin.xml....

<Token>[PAGEPRINT]</Token>

<Settings>

<Setting>

<Name>PrintIcon</Name>

<Value>/images/print.gif</Value>

</Setting>

<Setting>

<Name>Template</Name>

<Value>PagePrintTest</Value>

</Setting> ..... etc

 

Any help much appreciated.

Thanks,

Keith.

 

          

imgOfflinednnjungle
151 posts
5th
Joined
3/13/2005

Re: Printskinn doesn't work
Posted: 12 Apr 07 9:26 AM
On this page you'll find a sample skin where this skin object is used. Please take a look and compare it with what you're doing. I hope this will help identify where is the problem.
Disgrafic.com
  Modules  Printing SkinObjects  Printskinn does...
© Vicenç Masanas Terms Of Use Privacy Statement   
.