Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0No Print from Edit ?No Print from Edit ?
Previous
 
Next
New Post
8/13/2007 12:55 PM
 

Very simple.

dnnprintmode=true (this is what signals DNN to even worry about it)

mid is your Module Id - simplest way to determine this - go to Edit mode or Settings for this module and see in url something like /mid/123/ or mid=123 - the number is the value of your Module Id

SkinSrc - thi is the replative path to the Skin file you want to use when displaying Printer Friendly version - the structure of that path is as follows [G] or [L] followed by folder name(s) where file is and FileName without the extenstion - [G] gets replaced with a path to your Portals/-default/ folder and [L] gets replaced with a path to your current portal folder. So, if I wanted to reference a No Skin skin :) that is located in Portals/_default/Skins/_default folder, I'd do [G]/Skins/_default/No Skin - notice the absense of .ascx

ContainerSrc is the same as SkinSrc but, you guessed it, for a container.


Vitaly Kozadayev
Principal
Viva Portals, L.L.C.
 
New Post
8/13/2007 1:02 PM
 

Addition: this is all good for when you want to hardcode your module's id. However, if you want to add it dynamically, you'd have to either build it dynamically from within your code - in that case you'll have ModuleId available to you from the base class, or... provide more details about your particular case...


Vitaly Kozadayev
Principal
Viva Portals, L.L.C.
 
New Post
8/13/2007 1:26 PM
 

Ok , I guess I'm missing something here.

I want to dynanically in code set the print link based on the edit/details page I am on.  The edit page will have a "print" link button and all I want to do is have it launch the same print view in a new browser the same way as the pritn link does for a module.  I don't want to hardcode anything.  So basically on click I want to create it and trigger it but I'm still not sure where these parameters are all coming from or how to call it.

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0No Print from Edit ?No Print from Edit ?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out