Forums / Setup & design / how to get package path

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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