Resources for the DotNetNuke Community
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
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.
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.
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?
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....
<
</
Any help much appreciated.
Keith.