Forums / Developer / how to get current url in ezpublish?

how to get current url in ezpublish?

Author Message

Thirunavukkrasu Arumugam

Monday 23 March 2009 10:54:17 pm

I would like to check the current url of the page.

So I would like to know how to get the current url in Ezpublish?

Please help me

justin kazadi

Tuesday 24 March 2009 1:10:45 am

Hi,
if you are in an pagelayout you can perform it by using this:

 {$module_result.uri|ezurl()}

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein

Thirunavukkrasu Arumugam

Tuesday 24 March 2009 1:28:44 am

Its gives me the url...

Thank you very much

A. Thirunavukkarasu