vspace bug report

5 views
Skip to first unread message

DrunkenMonk

unread,
Dec 4, 2011, 11:37:46 AM12/4/11
to BoltWire
When I output a search function within a table using template as so:

[t]
[(search group=agroup template="[r][c]a template")]
[t]

I get a bunch of <br> tags above the resulting table.
This does not happen when using fmt.

These appear to be added when BOLTdisplayTemplate calls BOLTvspace.

I need to use template because fmt does not handle {+::pagevar}
markup. I am not sure if this is intended or not.

The Editor

unread,
Dec 4, 2011, 12:08:08 PM12/4/11
to bolt...@googlegroups.com
Try doing it like this:

[(search group=agroup template="mytemplate")]

/*
[[#mytemplate]]
[(template first)][t]
[(template each)][r][c]a template
[(template last)][t]
[[#end]]
*/

You can use inline templates like you did, but for vspacing to handle
table rows like that, the whole table needs to be in the template.

Cheers,
Dan

> --
> You received this message because you are subscribed to the Google Groups "BoltWire" group.
> To post to this group, send email to bolt...@googlegroups.com.
> To unsubscribe from this group, send email to boltwire+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/boltwire?hl=en.
>

DrunkenMonk

unread,
Dec 4, 2011, 4:46:02 PM12/4/11
to BoltWire
Thats a bit annoying, but I suppose it's a viable workaround.

I usually move the templates out when I'm done messing around anyway.

Reply all
Reply to author
Forward
0 new messages