[opencms-dev] Creating a template JSP - Step 2
Nili C
nilimesh at hotmail.com
Tue Apr 28 17:04:12 CEST 2020
Hi Gerd,
re "template.provider", yes I am in the "Individual properties" tab of the dialog, and I dont see it there in v11.
There is a gear icon below which lets me add new properties. For now, I have added this property from there.
( But that is what I am worried about. Not knowing what I am doing, I may be just wasting my time. 🙁 )
Thanks & Regards,
Nili
________________________________
From: opencms-dev-bounces at opencms.org <opencms-dev-bounces at opencms.org> on behalf of Gerd Schrick <mail at schrick-design.de>
Sent: Monday, April 27, 2020 6:33 PM
To: The OpenCms mailing list <opencms-dev at opencms.org>
Subject: Re: [opencms-dev] Creating a template JSP - Step 2
re "screen.css": (not 100% sure, but) I assume you're right; just try it, you can always change it later on
re "template.provider": are you in the "Individual properties" tab of the dialog?
IIRC I never had to add this property (but had to change its value)
HTH
Gerd
Am 28. April 2020 00:17:13 MESZ schrieb Nili C <nilimesh at hotmail.com>:
Hi,
I have installed OpenCMS 11.0.1, and getting familiar with the product. I am going through Creating the Template topic using following URL:
https://documentation.opencms.org/opencms-documentation/creating-a-website/creating-a-template-jsp/
I am on Step 2: Get the HTML prototype into OpenCms.
Here it says, At the main.jsp, set the (individual) properties:
template.provider to provider=org.opencms.loader.CmsDefaultTemplateContextProvider,template=%(templatepath).
However, I do not see any property called "template.provider" in the list of "Unused Properties". Can you please advice on what needs to be done here for v11? (skip it, add a new property, set it elsewhere, etc.)
Also another thing, here it says set the "template" property:
template to /system/modules/my.template/resources/screen.css
Shouldn't this include the "css" folder name, and therefore must be set to:
template to /system/modules/my.template/resources/css/screen.css
or, is the "css" folder somehow implied?
Appreciate any help.
Thanks,
Nili
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20200428/029dfe9a/attachment.htm>
More information about the opencms-dev
mailing list