Share » Forums » Setup & design » Absolute paths?

Absolute paths?

Absolute paths?

Wednesday 26 November 2008 8:32:42 am - 2 replies

Author Message

michiel n.

Wednesday 26 November 2008 9:25:00 am

The only problem I see is that I don't have the root certificate of Verisign (read: do not trust verisign).

If it shows 'insecure items' because it uses an absolute path, or do I misunderstand you?

But to answer your question, check which template is being used for displaying images.
Once you found out, check whether it uses

 src={$image.imagepath|ezroot}

or

 src={$image.imagepath|ezurl}

You also might want to check your vhosts and rewrite rules, those could screw up your configuration as well.

Certified eZ developer looking for projects.
michieln at gmail dot com
http://ez.no/certification/verify/225305

Ben Overmyer

Wednesday 26 November 2008 9:43:19 am

The template for images appears to be using ezroot, not ezurl.

I need to use URLs that include the server/host name (e.g., https://lpdaac.usgs.gov) in them in order to get rid of the "insecure items" warnings. I've done this in other templates by doing something like this:

<img src="https://lpdaac.usgs.gov{'extensions/etc/images/test.gif'|ezdesign('no')}" alt="" />

Unless someone has a better solution, that is.

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

36 542 Users on board!

Forums menu