Forums / Developer / Passing a variable to another template

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Passing a variable to another template

Author Message

Paul Forsyth

Tuesday 10 June 2003 7:16:03 am

I think people have asked this before but not sure if there is an answer at the moment.

I have a page with a link and when i click the link it takes me to an information collector page. I would like to pass some information to the collector page so that i can prefill some fields. In effect i would like post to set to a template variable that my info collector page can use.

Is it possible to do this with current php code (instead of writing more...)? From what i've seen of the php code within kernel/content it doesn't appear so...

Using ez 3.0.2 for this.

Paul

Björn X

Wednesday 11 June 2003 5:26:49 am

How about you make the REQUEST array avialable for all templates?

that should be only one line of code.

Something like

{$module_result.request}