You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by "Alex D. Fleming" <al...@gmail.com> on 2007/03/11 21:55:13 UTC
<@ofbizContentUrl> is taken into account instead of hardwired /images.
Hi All,
In ftl files Use of <@ofbizContentUrl> is taken into account instead of
hardwired /images.
What is the significance of "<@ofbizContentUrl>" instead of hardwired
/images ??
--
Alex D. Fleming
Re: <@ofbizContentUrl> is taken into account instead of hardwired /images.
Posted by Chris Howe <cj...@yahoo.com>.
Hey Alex,
IIRC, ofbizContentUrl is defined by the WebSite entity. This allows
you to easily set a content server that is different from your ofbiz
server. Tip: if you're using custom content, it's usually easier if
you put them inside your custom webapp.
ie
ofbizhome/hot-deploy/myComponent/webapp/myWebapp/images/myContent.jpg
if you've copied the web.xml file, you should be able to display your
image by
src="<@o...@ofbizContentUrl>"
--- "Alex D. Fleming" <al...@gmail.com> wrote:
> Hi All,
>
> In ftl files Use of <@ofbizContentUrl> is taken into account instead
> of
> hardwired /images.
> What is the significance of "<@ofbizContentUrl>" instead of
> hardwired
> /images ??
>
> --
> Alex D. Fleming
>