View Full Version : 2 questions about Template_Render
netblazon
07-18-08, 04:03 AM
Does anyone know:
1. What the first parameter of the Template_Render function is for, and how it's used?
2. How to prevent the results of Template_Render from having its whitespace compressed?
Thanks,
Susan
eMediaSales
07-19-08, 12:59 AM
I believe the compresswhitespace is added internally by the template compiler built into the VM, can't get around that.
James
netblazon
07-19-08, 02:28 AM
Yeah, I was afraid of that - and hoping beyond hope that the first parameter was a way to control it. I have a workaround, it's just less elegant than I prefer.
The first parameter is "page" - do you have any ideas what that's for?
RayYates
08-28-08, 03:30 AM
Susan
You might try this undocumented function.
<MvCAPTURE VARIABLE = "l.retval">
<MvDO FILE = "{ g.Module_Root $ 'features/tui/tui_mgr.mvc' }" NAME = "l.null" VALUE = "{ TemplateManager_Render_Page(l.screen) }">
</MvCAPTURE>
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.