Contextplugin question: how and where to put 'before' and 'after' parameters

Hi all,

The title says it all. I transfered a Stroll contextplugin viewtemplate tiddler to a file, and I would like the results to show nothing from before the search term and a bit after the search term. But the instructions in the plugin don’t explain where to put those parameters. Digging in the js file didn’t help me since I don’t read hieroglyphics like the rest of you here do. Thanks in advance for any help!

I don’t use Stroll, but if it’s the same contextplugin (from @danielo515), then you just need to find where the widget is invoked (within the view template) and specify the parameters within the context widget:

<$context term=“mysterious” before=0 after=20/>

(But perhaps I’m missing something. If you post the content of the viewtemplate you’ve added, then troubleshooting may be easier…?)

@Springer ! I think I was trying to use the after parameter without the before parameter before it (?), and it wasn’t working. Now it works great. Thanks!

1 Like