This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » Developer » get values from curent url

get values from curent url

get values from curent url

Monday 28 July 2014 11:11:05 am - 1 reply


Any one knows how to fetch the get values from the current url?



I have tried ezhttp('vidiscp',get)

but it is not working.

please can some one give me an idea to fix this ?.

Monday 28 July 2014 1:06:33 pm

php or template, ezpublish 4 or 5?

For 4:

{if ezhttp_hasvariable( 'vidiscp', 'get' )}
    {set $vidscp = ezhttp( 'vidscp', 'get' )}

If this isn't working turn on debug to see what's going on - it's probably that you're setting a variable that hasn't been initialized. 


        if ( $http->hasVariable( "vidiscp" ) ) {
           $value = $http->variable( "vidscp" );


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from