Forums / Setup & design / how to get package path

how to get package path

Author Message

Marcin N.

Monday 11 December 2006 12:54:17 pm

hi!

I made my own package. I put there pictures which I want to use in templates. How can I get package path in template. Now I put something like this:

{"/var/storage/packages/local/my_name/files/default/file/images/logo.gif"|ezroot}

It works, but when I put package again with different name - "my_name_2" it stops working. I found something like <b>ezpackage</b> but I don't know how to use it.

Marcin