2012-06-03 13:42:18

CeBe
Plugin Author
êta
Real name: Claire
From: Caen - Fr
Known languages: fr: rwx, en: rw+ ; de: ro ; php, sql: wo :)
Website

cbe_output_form: output_form with parameters

This plugin answers an old question – again – from the forum: Passing variables through txp:output_form.

It works like <txp:output_form />, plus sets variables to pass to the displayed form, then clears them unless you specify not to.
The displayed form can retrieve parameters in the standard <txp:variable /> tag.

Syntax: can be used as a single or container tag (i.e. supports <txp:yield />):

<txp:cbe_output_form
  form="form_name"
  [clearparams="{ 0 | 1 }" param_1="value1" param2="value_2" ... param_n="value_n"]>
  ... contained statements ...
</txp:cbe_output_form>

Info and download

Changelog:

  • 3 Jun 12 – v0.1 – Initial release

Offline

 

2012-06-03 20:58:23

maruchan
Member
mu
Real name: Marc Carson
From: Ukiah, California
Known languages: EN-US, JP
Website

Re: cbe_output_form: output_form with parameters

Wow, this is extremely nice, Claire. I have wished for this many, many times. Thank you.

Last edited by maruchan (2012-06-03 20:59:28)

Offline

 

2012-06-04 23:05:09

tye
Member
xi
Real name: Tye
From: Pottsville, NSW
Website

Re: cbe_output_form: output_form with parameters

Merci Claire…. I have had 1million uses for this previously… can’t wait to give it a go

Offline

 

Powered by FluxBB