You need to Register for free and Login to post a message in the forum.

Forum

Subject: printer friendly problems
Prev Next
You are not authorized to post a reply.

Author Messages
dupls
Nuke Active Member
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
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
Nuke Master III
Posts:3375

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

Lee Sykes's Facebook Profile
leesykes
DNN Creative Staff
Nuke Master III
Nuke Master III
Posts:3375

06 Sep 2006 2:55 AM  
PS. - Don't apologise for asking questions, that's what the forum is for!

Cheers,

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
dupls
Nuke Active Member
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
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
Nuke Master III
Posts:3375

06 Sep 2006 2:34 PM  
The print.css version will work best with a pure CSS skin rather than a table based skin.

I don't know what the problem could be with the container, why don't you email it across to lee at dnncreative.com and I will have a look.

- Which version of DNN are you using? - I will need to know this for testing.

Thanks,

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
leesykes
DNN Creative Staff
Nuke Master III
Nuke Master III
Posts:3375

06 Sep 2006 4:59 PM  
Hello,

Sorry, I just got back and accidentally deleted the container you sent me, could you re-send it please, sorry about that! - Thanks,

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
leesykes
DNN Creative Staff
Nuke Master III
Nuke Master III
Posts:3375

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

Lee Sykes's Facebook Profile
dupls
Nuke Active Member
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
Nuke Master III
Posts:3375

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

Lee Sykes's Facebook Profile
You are not authorized to post a reply.
Forums > DotNetNuke® > DotNetNuke® Questions > printer friendly problems



ActiveForums 3.7

Latest Forum Posts

skin/container error load by islandman
Has anyone else run across this error when loading skins or containers from site settings?I am using...
Email Set UP per Portal by islandman
How do I set up a unique email address per domain name off 1 hosting environment. for example...m...
RE: localhost Install issues by cdees
Lee: I wanted to follow up on this for anyone following this thread. I have been unable to solve t...
RE: Add New Profile Properties by WSI
HI Joe, The DNN version is 4.5.5. Thanks, Cliff
Change Skin on URL by vinita
Hi,Can the skin be changed based on the url used to access a portal. Multiple portal aliases may be ...
problem creating child portal by kabamaro
  Hello all i have 4 Aliases for my parent portal , lets call them X,y,Z,WIn all Aliases i can creat...
problem creating child portal by kabamaro
  Hello all i have 4 Aliases for my parent portal , lets call them X,y,Z,WIn all Aliases i can creat...
Best DNN portal ever! by derpir
I have been a subscriber since august 2008, and DNNCreative.com is simply the best DNN Portal, their...
RE: skinning trouble by derpir
Hello Yes could you be so kind and take a look att the htm-file and css-file.I would be very gratef...
Search function is not working by kishorpawar
I am using Seach module in my project but not working, i have set   host setting alsoHost --> Schedu...
RE: backend is changing from sql2005 to sql2008 by leesykes
hello,There should not be any code changes needed, but you'll need to make sure that SQL 2008 upgrad...
RE: skinning trouble by leesykes
Hello,I would need to see your code to help you with this one, you can zip up your files and attach ...
RE: Installing DotNetNuke 4.9.00 on VWD 2005 w/ SQL server 2008 by leesykes
I have run a test with SQL Server 2008 express and DotNetNuke installed in exactly the the same way ...
RE: Issue 39 Interview by leesykes
thanks Bill, glad it was useful, we will have a think about the best way to approach this,Thanks,
RE: Issue 39 Authentication by leesykes
yes I have a live site in 4.9.0 at it seems stable as well.
backend is changing from sql2005 to sql2008 by meenu
hi all advance thanks. in my DNN0408 website am using sql2005 as backend.now planning to remove sq...
About catalook error by kishorpawar
 I am  using dnn 4.8.4 version in my project, this  site is in 2 language,whenver i click on the BYN...
RE: Menu Keeps Verticaly by ruimacdonald
Tnx for your help. It's done. Rui
RE: Menu Keeps Verticaly by jncraig
The configuration of the MENU skin object is defined in the skin.xml file. You'll need to modify th...
RE: Add New Profile Properties by jncraig
I have not seen that problem. Which version of DotNetNuke are you using?
AppTheory
RSS Feeds