[opencms-dev] Creating a template JSP - Step 2

Gerd Schrick mail at schrick-design.de
Tue Apr 28 00:33:11 CEST 2020


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/b92a730b/attachment.htm>


More information about the opencms-dev mailing list