[opencms-dev] Bootstrap template with DocCenter

dayv2005 dpipes at AimNTLS.com
Wed Oct 23 15:27:20 CEST 2013


I just wanted to follow up and confirm your solution worked. I also wanted to
document it in case others have a similar problem.

/demo/.content/.config

+++ADDED+++

*Resource Type*
Type Name: alkacon-v8-doccenter-content
Disabled: false
Name: documents
Name Pattern: dc_%(number).xml
*Formatter*
Type: content
Jsp:
/system/modules/com.alkacon.opencms.v8.documentcenter/formatters/documentcenter.jsp

*Resource Type*
Type Name: alkacon-v8-doccenter-config
Disabled: false
Name: docconfig
Name Pattern: dcc_%(number).xml
*Formatter*
Type: content
Jsp:
/system/modules/com.alkacon.opencms.v8.documentcenter/formatters/documentcenter.jsp

+++END+++

Only current issues I'm have are the following:

The Document Center Content (one with header, footer, disclaimer...) seems
to always show "The element is new of no folder is selected. Please edit the
element first." even when i set the values. I don't know if this needs
linked to the Document Center Resource or not.

When my Document Center shows a list of documents, if I click on any
document I get an error that says "Error reading resource from path
"/demo/en/world-of-flowers/test-page/2004-Driver-Rights-Statement-FINAL.pdf".
Reason: Unable to read resource
"/demo/en/world-of-flowers/test-page/2004-Driver-Rights-Statement-FINAL.pdf"."
Some how opencms doesn't know what to do with these documents as it seems.

Beside the Title of the document center there is an "Up" folder. Is there
anyway to set the configured folder as a root folder so no up folder is
displayed?



I'm going to look over more of the documentation on doccenter and see if I
may have missed something.

Thanks for the help.







--
View this message in context: http://opencms.996256.n3.nabble.com/Bootstrap-template-with-DocCenter-tp23701p23713.html
Sent from the OpenCMS mailing list archive at Nabble.com.



More information about the opencms-dev mailing list