dupls
 Nuke Active Member Posts:29
 |
| 05 Sep 2006 9:41 AM |
|
Sorry Lee once again I'm here at the only site that I get response on!
I have a problem with the printer friendly feature. In my container html file I have a div tag for [ACTIONBUTTON:3]
In my xml file I have the Object token details for [ACTIONBUTTON:3]
When I upload and view the page within the host/admin login I can see the printer friendly icon and words BUT on the actual page nothing. Why won't it display. I've tried to do obscure things like put a crazy heavy padding on the top of the containter and although the container setting is set to the module container I'm not getting the display on the live pages.
What have I missed?
thanks...again!
|
|
|
|
|
dupls
 Nuke Active Member Posts:29
 |
| 05 Sep 2006 9:53 AM |
|
Sorry to add more details if I put a checkbox on the display container under the module settings I get the display print icon BUT....
I also get what looks like an empty search box container displaying on my live pages. How do I get the print option without the drop down box.
thanks! |
|
|
|
|
leesykes DNN Creative Staff
 Nuke Master III Posts:3442
 |
| 06 Sep 2006 2:52 AM |
|
Hello,
If you go into module settings you also need to tick "Allow Print"
Have you also compared your code to the DNN-Blue containers?
You can take the skin.xml code from there as a comparison: <Object> <Token>[ACTIONBUTTON:3]</Token> <Settings> <Setting> <Name>CommandName</Name> <Value>PrintModule.Action</Value> </Setting> <Setting> <Name>DisplayIcon</Name> <Value>True</Value> </Setting> <Setting> <Name>DisplayLink</Name> <Value>False</Value> </Setting> </Settings> </Object>
Does this help?
Another method for printing is demonstrated in the Free Skin - Simple Red Leaf CSS Skin
I was going to point you to the tutorial I created on how to do this, but I realised haven't done it yet! - No print icons are used in this method, all you do is select print from the browser menu and it has been setup so that it just prints the content area and logo and not the vertical menu. - If you go through the code you maybe able to work this out. Basically you can choose exactly which elements you want to print out from your CSS code.
Thanks, |
|
Lee Sykes Site Administrator Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts
Twitter: www.twitter.com/leesykes
 |
|
|
leesykes DNN Creative Staff
 Nuke Master III Posts:3442
 |
|
dupls
 Nuke Active Member Posts:29
 |
| 06 Sep 2006 8:15 AM |
|
Thanks Lee, Yep my code xml is exactly the same. I have Allow Print ticked in module settings. My htm file has
[DROPDOWNACTIONS] [ACTIONBUTTON:1][ACTIONBUTTON:3] Printer Friendly
And I went completely beserk and made the css background to Fushia. Here's the problem the fushia shows up when I'm logged into dotnetnuke. But I get no colour if I view from the pages. It seems as though the container isn't displaying and yet I know it is from the logged screen?? And the printer friendly icon and words are misssing.
thoughts? |
|
|
|
|
dupls
 Nuke Active Member Posts:29
 |
| 06 Sep 2006 11:59 AM |
|
I did try the print.css class that you offered, it's not always picking up the css class from the html file but if I repeat the classes within the html code then the display:none; seems to work. Weird why it doesn't take it from the html file. I have got it to work somewhat with the additional coding.
But I'd really prefer the printer friendly function on the page and only print the content container.
|
|
|
|
|
leesykes DNN Creative Staff
 Nuke Master III Posts:3442
 |
|
leesykes DNN Creative Staff
 Nuke Master III Posts:3442
 |
|
leesykes DNN Creative Staff
 Nuke Master III Posts:3442
 |
| 07 Sep 2006 5:20 AM |
|
Hello,
ok, I looked at the files and it works fine on my installation. - You didn't send me the zip so I took the skin.xml file from the DNN Blue container and used those settings to install the container. - I've sent you the skin zip file for you to compare.
I tested it in Firefox and IE6 in a default instalation of DNN 4.3.4 and just added a text module to the page and selected this container for the module and the printer icon displayed without any problems when logged in as admin and also when logged out.
So I don't know what to suggest, i would double check your skin.xml file.
- Thanks for the info on the video, I've fixed that problem.
Just another question if I may. With this registering properties. Can you have a site that allows people to register for 2 reasons i.e. to signup for a newsletter and a more secure registry that requires admin or host to accept their registration before they can access another portion of the site.
In one portal with a default installation, no. - But you could search for a module which allows people to sign up to a newsletter without having to register with the website. - for an example of this check www.weeedirectory.com and scroll to 3/4 down the page. You can purchase this from: http://www.snowcovered.com/snowcovered2/Default.aspx?tabid=242&PackageID=814&r=3b49c64e05
- Or if you are using an outside service to send emails such as constantcontact.com you could possibly use their sign up box where a user fills in their email address and they get added to the list that you manage with constant contact. - If you are using a large list I would recommend using an external service - this is what I do to manage DNN Creatives email list.
You would then set the registration sign up to be approved by admin for your portal and it keeps both elements separate.
Thanks, |
|
Lee Sykes Site Administrator Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts
Twitter: www.twitter.com/leesykes
 |
|
|
dupls
 Nuke Active Member Posts:29
 |
| 08 Sep 2006 9:41 AM |
|
So my frustration continues, I need a sport like kickboxing! ;o)
I use the container that you sent back and within the module (only) that I want to have printed I set the module container to the fresh upload of the print file. I see the printer friendly text appear in the container when I'm logged in, but again nothing when I'm logged out. The Allow Print option is ticked.
I thought I'd set the module to DNNblue, just fot the fun of it. I get the lovely little printer icon and not only no change on my outside page the DNN container doesn't change i.e. no border that is common on the DNNblue container. It's as though it's not even seeing the container from the page.
That's got to indicate that the modules are not actuallly setting or refreshing isn't it?
I have refreshed the page and even closed browsers but still no change in the container.
|
|
|
|
|
leesykes DNN Creative Staff
 Nuke Master III Posts:3442
 |
| 09 Sep 2006 3:16 AM |
|
I've noticed in the latest versions of DNN that they set a value for caching on the modules for the Home Page, this could be the problem
Try this:
On your Home Page go into the settings menu of a Text / HTML module. / Page Settings / Basic Settings Cache Time (in Secs) - Is this set to a value? - Set it to 0
I noticed this problem in someone elses site that didn't appear to be updating correctly. |
|
Lee Sykes Site Administrator Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts
Twitter: www.twitter.com/leesykes
 |
|
|