On Wednesday 26 September 2007, Abhishake Agarwal wrote:
> Hi David,
>
> First upload your content to cms server with the similar url pattern as in
> ofbiz(for images use productid as the name of the image in cms, normally
> that is the way it happens). then make the necessary change in
> framework/webapp/config/url.properties.
>
> <ofbizContentUrl> tag will generate the suitable url as configured in
> url.properties.
>
> in the catalog management part just use the id of image. no need to upload
> image.
I am looking to do this with the CMS built into Ofbiz, I am not looking to
use an external CMS.  So I MUST upload the document to Ofbiz otherwise it
can not serve it.

David
>
> Regards,
> Abhishake
>
> On 9/26/07, Abhishake Agarwal <[EMAIL PROTECTED]> wrote:
> > Hi David,
> > I had tried alfresco with ofbiz.
> >
> > On 9/26/07, David Goodenough < [EMAIL PROTECTED] > wrote:
> > > I have a requirement to display CMS managed content the ecommerce app.
> > >
> > > I think that what I have to do is to use content/viewContent.ftl, but I
> > > am unsure how to invoke this, and what I need to pass to it to refer
> > > to either specific document in the CMS.  I am also unsure how to
> > > enter suitable documents in the CMS.
> > >
> > > Lets take an example, I have a page which is managed through the CMS
> > > which is the physical location of the store, with links to a map and
> > > a travel directions etc.
> > >
> > > I presume that I set up this page using the Content Manager
> > > Application,
> > >
> > > and I have found a place to create a new Content item and give it a
> > > name, mime-type etc, but I have yet to find where I actually create
> > > the content itself, i.e either upload a file or type in the content.
> > >
> > > Having created it with a name, I guess I need to pass that to
> > > viewContent.ftl
> > > in order that it be displayed.  Say I was passing it from a Menu item,
> > > I guess that I am going to invoke it with an <A> tag, something like:-
> > >
> > > <a href="<@ofbizUrl>viewContent</@ofbizUrl>" (or it is
> > > content/viewContent?)
> > > but I am unsure how I pass in the ID of the content I want to view.
> > >
> > > Are there any guides to using CMS managed content in the emcommerce
> > > app?
> > >
> > >
> > > David


Reply via email to