Forums / General / problem to geta variable from the url

"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".

problem to geta variable from the url

Author Message

François Xavier Lacroix

Thursday 09 June 2005 6:23:15 am

Hi everybody,
I got troubles in finding back a variable from my adress.
I got an url like ...ez/index.php/www/(succeed)/ko_bad,
And i would like to find back my variable succeed and my value ko_bad;
so i put {ezhttp( 'succeed', 'get' )} in my tpl, but it doesn't seem to work...
An idea ?

François Xavier Lacroix

Thursday 09 June 2005 6:41:40 am

sorry for that.... i understood ;)

Kristian Hole

Monday 13 June 2005 5:51:19 am

If you use /(succeed)/ko_bad

it will be available in the templates as

{$view_parameters.succeded}

:)

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute

François Xavier Lacroix

Monday 13 June 2005 5:55:03 am

thx !