> so heres my question: is there a way i can create a set of templates
> that works together to handle this output. i can create a simple fr
> template that expands the form row and a sperate one for the column,
> but is there a way to call the column from within the row that way it
> is nested inside the row. for example i could have another template
> that is frc that would expand both the fr and the fc but make the fc
> nested?
A template can be expanded/called from within another template by referencing
it thus.
-------------------------------------------------------------
frc template
-------------------------------------------------------------
�:fc�
�:fr�
-------------------------------------------------------------
-------------------------------------------------------------
fc template
-------------------------------------------------------------
'content here
-------------------------------------------------------------
-------------------------------------------------------------
fr template
-------------------------------------------------------------
'more stuff
-------------------------------------------------------------
Does this do what you're after?
I'm guessing that the forum will poorly encode some of the above so I will
say that :fc and :fr are each supposed to be surrounded by chevrons. That
is to say a symbol which resembles the c# bit shift operators <>
> along those same lines, is there a way that i could pass in a number
> variable and have something expand a template that many times. in the
> context of the form rows and column it would be nice if i could do
> something like frc3 where the 3 is the veriable and have that many
> columns nested in the row.
Sorry, I don't think I've seen this second idea implemented anywhere.
Rory Becker - DX-Squad
Blog,
DXCore Community Plugins (Follow me @
http://twitter.com/RoryBecker)