Forums / General / how to find document root with ezpublish

how to find document root with ezpublish

Author Message

manoj sharma

Thursday 18 June 2009 12:14:57 am

hi guyz,

i am new to ezpublsih. i am using ezpublish 4.0.1 with ezflow.

just want to find document root. i want to link my image to folder for that i want document root so that i can link them.

Thanks & Regards,
Manoj Sharma

Ɓukasz Serwatka

Thursday 18 June 2009 12:17:42 am

Hi,

You can use ezroot[1] tpl operator. Take a look also on full list[2] of available URLs tpl operators.

[1] http://ez.no/doc/ez_publish/technical_manual/4_0/reference/template_operators/urls/ezroot
[2] http://ez.no/doc/ez_publish/technical_manual/4_0/reference/template_operators/urls

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

manoj sharma

Thursday 18 June 2009 1:04:56 am

thank you lukasz for helping me..

but still i m bit dull, dont know how to use this input|ezurl( [ quote [, type ] ] ). if you could show me that will be very helpfull.

<h1>
<img src="/design/ezflow_site/images/{$imagename}" alt="{$imagename}"/>
</h1>

here is my code. i want to append document root variable into src.

Thanks & Regards,
Manoj Sharma