On Wed, Mar 17, 2010 at 8:05 PM, Markus <markus.wei...@googlemail.com> wrote: > On Mar 18, 12:50 am, Markus <markus.wei...@googlemail.com> wrote:
>> This has happened for several version but now I was able to track it >> down. I mentioned before that I get seemingly random timeouts on >> certain pages. This is the code causing it: >> >> [(search group=lotsofpages.* exclude=$$non_content fmt="{(breadcrumb >> {+p} offset=1 name=link)}")] > > {( )} must be <( )>. Correct. You can't put anything in a fmt parameter that is processed before the actual search function. {( )} is processed before [( )], so by the search function gets the template it's messed up. And breadcrumb gets the {+p} parameter before it is ever set. However... It does work. kind of, for a really weird reason: [(search group=test* fmt="{(breadcrumb {+p} offset=1 name=link)}")] First the markup table runs over the breadcrumb function as it is {( )}. {+p} fails the test of being a proper page name so the function returns NULL. When search does it's thing next, it things the fmt is '', so it uses the default template which is the breadcrumb function! However the offset is not set there so you see all the {p1}'s. If you change it to <( )> you get the proper offsets. Of course why this was causing timeouts I have no idea.... I don't know anything about Zend, but if it is commonly used, it would be nice to get to the bottom of things so Zend and BoltWire can play nice together... Cheers, Dan -- You received this message because you are subscribed to the Google Groups "BoltWire" group. To post to this group, send email to boltw...@googlegroups.com. To unsubscribe from this group, send email to boltwire+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/boltwire?hl=en.