Store/Display Static Content

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Store/Display Static Content

lshein
I would like to store static HTML content in the DB to be displayed in a
browser when asked for; is there a DB construct in Ofbiz that already
handles this?

 

 

 

Thank You

 

Len Shein

 

 <mailto:[hidden email]> [hidden email]

 <mailto:[hidden email]> [hidden email]

 

Office:  516.742.7888 ext. 225

Office:  732.333.4303

 

 

Reply | Threaded
Open this post in threaded view
|

Re: Store/Display Static Content

Scott Gray-2
Use the Content/DataResource/ElectronicText entities and look at CmsSiteDemoData.xml for example usage.

Once you've defined Content records you can then include them in the screen widget using the content tag:
<content content-id="YOUR_CONTENT_ID"/>

There are plenty of ways to render content though, that is just one method.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com
801.657.2909

----- Original Message -----
From: "Len" <[hidden email]>
To: [hidden email]
Sent: Monday, June 15, 2009 9:48:19 PM (GMT+1000) Auto-Detected
Subject: Store/Display Static Content

I would like to store static HTML content in the DB to be displayed in a
browser when asked for; is there a DB construct in Ofbiz that already
handles this?

 

 

 

Thank You

 

Len Shein

 

 <mailto:[hidden email]> [hidden email]

 <mailto:[hidden email]> [hidden email]

 

Office:  516.742.7888 ext. 225

Office:  732.333.4303