Topic: pnmodurl specify template
MACscr
avatar
Professional
Professional
Posts: 1631

Posted:
13.Jun 2006 - 21:08

I saw this URL for specifying a template for pdf output. Is this tpl= option specific to Pagesetter, or should we be able to do this with all pnrender modules? If so how? I am not talking about pdf's directly, but just specifying a template.

Code

<!--[pnmodurl modname="Pagesetter" func="viewpub" tid=$core.tid pid=$core.pid tpl="pdf"]-->






edited by: MACscr, Jun 13, 2006 - 10:10 AM
Chestnut
avatar
Steering Committee
Steering Committee
Posts: 1221

Posted:
13.Jun 2006 - 22:02

Everything except "type", "modname" and "func" will be arguments for the specified function.

This is a Pagesetter thing. pnModUrl is simply creating a link to the x mod with the given arguments and Pagesetter is doing X with the tpl arg.

I don't remember having saw a possible template argument like this. At least not via pnModUrl though.

--
Chestnut !
Support via Private message won't be answered...
http://dev.pnconcept.com
http://www.postnuke-france.org