[opencms-dev] Help with mercury template
Ivan Drinks Sr
ivan.sr at reality-technology.com
Thu Oct 28 20:52:34 CEST 2021
Hi Jochen,
The following is what is in the logs.
<servlet-name>DavServlet</servlet-name>
<url-pattern>/webdav/*</url-pattern>
</servlet-mapping>
</web-app>
---------------------------------------------------
.
Executing OpenCms configuration script: /root/preinit/60_init_jlan_share.sh
---------------------------------------------------
Jlan SMB Share remains disabled. Start the container with "-e ENABLE_JLAN=true" to enable it.
---------------------------------------------------
.
Executing OpenCms configuration script: /root/preinit/90_message.sh
---------------------------------------------------
.
Pre-init script folder /root/preinit has been processed
.
---------------------------------------------------
.
Disabling configuration script folder: /root/preinit
created directory '/root/preinit.executed'
copied '/root/preinit/10-create-setup-properties.sh' -> '/root/preinit.executed/10-create-setup-properties.sh'
copied '/root/preinit/20_check_install.sh' -> '/root/preinit.executed/20_check_install.sh'
copied '/root/preinit/30_transform_opencms_configuration.sh' -> '/root/preinit.executed/30_transform_opencms_configuration.sh'
copied '/root/preinit/40_tomcat_setup.sh' -> '/root/preinit.executed/40_tomcat_setup.sh'
copied '/root/preinit/50_opencms_optimize_webxml.sh' -> '/root/preinit.executed/50_opencms_optimize_webxml.sh'
copied '/root/preinit/60_init_jlan_share.sh' -> '/root/preinit.executed/60_init_jlan_share.sh'
copied '/root/preinit/90_message.sh' -> '/root/preinit.executed/90_message.sh'
created directory '/root/preinit.executed/xml-transformations'
copied '/root/preinit/xml-transformations/opencms-system_activate_jsonapi.params' -> '/root/preinit.executed/xml-transformations/opencms-system_activate_jsonapi.params'
copied '/root/preinit/xml-transformations/opencms-system_activate_jsonapi.xslt' -> '/root/preinit.executed/xml-transformations/opencms-system_activate_jsonapi.xslt'
removed '/root/preinit/10-create-setup-properties.sh'
removed '/root/preinit/20_check_install.sh'
removed '/root/preinit/30_transform_opencms_configuration.sh'
removed '/root/preinit/40_tomcat_setup.sh'
removed '/root/preinit/50_opencms_optimize_webxml.sh'
removed '/root/preinit/60_init_jlan_share.sh'
removed '/root/preinit/90_message.sh'
removed '/root/preinit/xml-transformations/opencms-system_activate_jsonapi.params'
removed '/root/preinit/xml-transformations/opencms-system_activate_jsonapi.xslt'
removed directory '/root/preinit/xml-transformations'
removed directory '/root/preinit'
.
Starting OpenCms / Tomcat in background
.
Executing scripts located in /root/postinit.
.
Executing OpenCms configuration script: /root/postinit/10_create_timestamp.sh
---------------------------------------------------
Creating timestamp for the system start ...
---------------------------------------------------
.
Executing OpenCms configuration script: /root/postinit/99_message.sh
---------------------------------------------------
.
Post-init script folder /root/postinit has been processed
.
---------------------------------------------------
.
Disabling configuration script folder: /root/postinit
created directory '/root/postinit.executed'
copied '/root/postinit/10_create_timestamp.sh' -> '/root/postinit.executed/10_create_timestamp.sh'
copied '/root/postinit/99_message.sh' -> '/root/postinit.executed/99_message.sh'
removed '/root/postinit/10_create_timestamp.sh'
removed '/root/postinit/99_message.sh'
removed directory '/root/postinit'
.
Adjusting the timezone
ls: cannot access '/root/preinit/': No such file or directory
chmod: cannot access '/root/preinit/*.sh': No such file or directory
failed to change mode of '/root/preinit/*.sh' from 0000 (---------) to 0000 (---------)
ls: cannot access '/root/postinit/': No such file or directory
chmod: cannot access '/root/postinit/*.sh': No such file or directory
failed to change mode of '/root/postinit/*.sh' from 0000 (---------) to 0000 (---------)
.
Executing scripts located in /root/preinit.
Directory /root/preinit not available, ignoring!
.
Starting OpenCms / Tomcat in background
.
Executing scripts located in /root/postinit.
Directory /root/postinit not available, ignoring!
.
Adjusting the timezone
ls: cannot access '/root/preinit/': No such file or directory
chmod: cannot access '/root/preinit/*.sh': No such file or directory
failed to change mode of '/root/preinit/*.sh' from 0000 (---------) to 0000 (---------)
ls: cannot access '/root/postinit/': No such file or directory
chmod: cannot access '/root/postinit/*.sh': No such file or directory
failed to change mode of '/root/postinit/*.sh' from 0000 (---------) to 0000 (---------)
.
Executing scripts located in /root/preinit.
Directory /root/preinit not available, ignoring!
.
Starting OpenCms / Tomcat in background
.
Executing scripts located in /root/postinit.
Directory /root/postinit not available, ignoring!
.---------------------------------------------------------------------------------------------------
Ivan
From: Ivan Drinks Sr <ivan.sr at reality-technology.com>
Sent: Wednesday, October 27, 2021 9:25 PM
To: Ivan Drinks Sr <ivan.sr at reality-technology.com>; Jochen Graf <j.graf at alkacon.com>; opencms-dev at opencms.org
Subject: Re: [opencms-dev] Help with mercury template
Hi Jochen,
Just an update. Reloading the page does not work. The wand still does not let you select "Layout row" or "Custom Layout Row" after you have processed a "Layout Area".
Ivan
From: Ivan Drinks Sr <ivan.sr at reality-technology.com<mailto:ivan.sr at reality-technology.com>>
Sent: Tuesday, October 26, 2021 2:39 PM
To: Jochen Graf <j.graf at alkacon.com<mailto:j.graf at alkacon.com>>; opencms-dev at opencms.org<mailto:opencms-dev at opencms.org>
Subject: Re: [opencms-dev] Help with mercury template
Hi Jochen,
I tried to execute the steps below. I was able to do the first two. On the third "Layout row" is not selectable. Tried "Custom Layout row" and it too is not selectable. Not sure what to do next. Please advise.
Thanks
Ivan
Hi Ivan,
the easiest way is to display images with a Mercury "Content section". If you have the OpenCms demo installed locally, have a look at [1] for an example.
In the tutorial, have a look at [2] to see how to create a new content section and how to reuse existing content sections on different pages.
A content section can be placed into a row. Starting from an empty page:
- go to wand icon > Template elements > click on "Layout area"
- drag and drop one of the provided areas into your page, e.g. "Area - One row"
- go to wand icon > Template elements > click on "Layout row"
- drag and drop one of the provided rows into your layout area, e.g. "Row 1 column (12 -full)"
- go to wand icon > Content elements
- drag and drop a new section content into your layout row
- add an image to your section content as described in [3]
- go to wand icon > Content elements > click on "Content section"
- drag and drop one of the existing content sections into a layout row
Best
Jochen
[1] http://localhost/mercury-demo/content-elements/content-section/image/
[2] http://localhost/tutorial/step-1-modify-a-page/
[3] http://localhost/tutorial/step-2-edit-content/
Hi Jochen,
Right now I would like it present on all pages, but if possible can you show me how to do it both ways mentioned?
Thank you so much for your help.
Ivan
From: Jochen Graf <j.graf at alkacon.com><mailto:j.graf at alkacon.com>
Sent: Friday, October 22, 2021 6:56 AM
To: opencms-dev at opencms.org<mailto:opencms-dev at opencms.org>
Subject: Re: [opencms-dev] Help with mercury template
Hi Ivan,
should the logo be part of the web page header present on all pages of your site? Or do you simply want to place your logo in the body of a single web page?
Best
Jochen
Am 22.10.21 um 06:22 schrieb Ivan Drinks Sr:
[cid:image001.gif at 01D7CC03.0F337E00]
I am trying to use the Mercury template. I am trying to simply place my company logo in the left hand corner of the webpage. How do I do that using the Mercury template? Everything I select says deprecated and creates an area in the center of the webpage. The documentation doesn't seem to address this. Am I missing something? Thank you for your help.
Ivan
_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
https://lists.opencms.org/mailman/listinfo/opencms-dev
--
Alkacon Software GmbH & Co. KG - The OpenCms Experts
http://www.alkacon.com - http://www.opencms.org
--
Alkacon Software GmbH & Co. KG - The OpenCms Experts
http://www.alkacon.com - http://www.opencms.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20211028/84829d83/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 70 bytes
Desc: image001.gif
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20211028/84829d83/attachment.gif>
More information about the opencms-dev
mailing list