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 !

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.