You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by "Vince M. Clark" <vc...@globalera.com> on 2008/03/03 00:54:53 UTC

how to reference content within content

I am using CMS to maintain website content. Let's say I have two pieces of content: 
1) html to render text 
2) image that needs to be referenced in html 

Both are stored as content records. How would I reference the image content within the html content? 

Re: how to reference content within content

Posted by "Vince M. Clark" <vc...@globalera.com>.
Never mind, I found it. For the record the way I got it to work is to use: 
<img src="/content/control/stream?contentId=<myContentId>"/> 

----- Original Message ----- 
From: "Vince M. Clark" <vc...@globalera.com> 
To: "user" <us...@ofbiz.apache.org> 
Sent: Sunday, March 2, 2008 4:54:53 PM (GMT-0700) America/Denver 
Subject: how to reference content within content 


I am using CMS to maintain website content. Let's say I have two pieces of content: 
1) html to render text 
2) image that needs to be referenced in html 

Both are stored as content records. How would I reference the image content within the html content?