Cannot Print List of Events
Last Post 01/28/2009 7:51 AM by Lee Sykes. 10 Replies.
Author Messages
mgordon
Nuke Master
Nuke Master
Posts:208


--
01/21/2009 10:35 AM  
Hi Gang,

I'm using the DNN Events module as a way to show our "Marketing Calendar" to our programmers.  I need for them to be able to print out the list of "events" that appear.

I thought this was as simple as checking the "Allow Print" checkbox in the Page Settings, but there is no way to print these out.  There is no Print Icon, and I imagine that it would print the entire page, instead of just the list of upcoming Events.

Any help?  I would actually need something more than theoretical help here BTW, not just a "it's possible to do this if you modify your CSS".  I would really need something more tangible. 

Please let me know.  To me, this is one of the big failings of DNN, in that this should be something in the core code that allows this, but hey, maybe I'm worng and it already does this, in which case, I'll eat humble pie.

Thanks,
Mark Gordon
Webmonkey
mgordon
Nuke Master
Nuke Master
Posts:208


--
01/21/2009 11:41 AM  
Quick update. When I'm logged in as Administrator, I have the dropdown available that lets me select "Print" which opens the page of listed events alone without the rest of the web page (which is what I need), however, how can I get this functionality to my people WITHOUT giving them Edit access or any other un-needed access?
Mark Gordon
Webmonkey
Joseph Craig
DNN MVP
Posts:11667


--
01/22/2009 9:58 AM  
Mark,

Are you displaying the container? The Print functionality is tied to the the container, I think. And, the container needs to support printing. (My test system is acting up this morning, so I'll complete this when I can test.)

Joe Craig, Patapsco Research Group
Complete DNN Support
mgordon
Nuke Master
Nuke Master
Posts:208


--
01/23/2009 9:08 AM  
Joe,

I have tried displaying the container, and not displaying the container. All users have the ability to see (view) the module, only editors and Administrators can add events and, apparently, print.

Were you able to perform a test on your system? Anyone else have this going on?

Thanks!
Mark Gordon
Webmonkey
Joseph Craig
DNN MVP
Posts:11667


--
01/23/2009 9:37 AM  
Hi Mark,

Whoops ... I got involved in other things yesterday.

If you go to http://jncraig.com/test/ModuleExamp...ents.aspx, you'll find an events calendar and the print icon is at the lower right. Clicking print actually opens up a view in a new page that you can then print using your browser's print capability.


Joe Craig, Patapsco Research Group
Complete DNN Support
mgordon
Nuke Master
Nuke Master
Posts:208


--
01/23/2009 9:40 AM  
I can't see that little Print Icon in my Intranet. Is that a setting?

I don't want "All Users" to have the ability to Add Events in order to show the Print option in the Drop Down.
Mark Gordon
Webmonkey
Joseph Craig
DNN MVP
Posts:11667


--
01/23/2009 9:41 AM  
I was a bit hasty with that answer. I gave "Registered Users" edit permission to the Events module. People logged in and who are Registered Users can add events.

Joe Craig, Patapsco Research Group
Complete DNN Support
Joseph Craig
DNN MVP
Posts:11667


--
01/23/2009 9:44 AM  
The "Allow Print" is a module setting and is right below the "Show Container" check box. Your container needs to support the print functionality, too. If it doesn't you won't be able to print.

If you don't want to "show" a container, use Lee's Transparent container that's included with most or all of the DNNCreative skin files.

Joe Craig, Patapsco Research Group
Complete DNN Support
Lee Sykes
DNN Creative Staff
Nuke Master VI
Nuke Master VI
Posts:4945


--
01/26/2009 11:27 AM  
Did you solve this Mark?

A quick tip, the show print icon is dependent on the coding in the container. - for instance in the transparent container that Joe mentions, I removed the token for the print icon. If you are testing, I would suggest using a container from dnn blue / minimal extropy to test that the print icon is correctly displaying, once you have confirmed this then you can look at the actual container you are using and you may need to add a token into the .ascx file of your container.

To find the code for your container, compare this with a default container from DotNetNuke.

If you need more information on this please ask, thanks,
Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/DNNCreative

Lee Sykes's Facebook Profile
mgordon
Nuke Master
Nuke Master
Posts:208


--
01/27/2009 9:48 AM  
Guys, that worked perfectly!  I was able to add in the ACTIONBUTTON into the container and define it in the body of the container with absolutely no problems whatsoever.

That why I love this site!
Mark Gordon
Webmonkey
Lee Sykes
DNN Creative Staff
Nuke Master VI
Nuke Master VI
Posts:4945


--
01/28/2009 7:51 AM  
great, glad you got it fixed!
Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/DNNCreative

Lee Sykes's Facebook Profile


---