Re: Creating Independent Copies of a Website in OpenCms
Daniel Seidel via opencms-dev <[email protected]> Wed, 8 Jul 2026 12:53:47 +0200
| Newsgroups | gmane.comp.cms.opencms.devel |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. --===============2869498462534431310== Content-Type: multipart/alternative; boundary="------------pJdi4LPGbD3NAAqa70EI1t5B" Content-Language: en-US This is a multi-part message in MIME format. --------------pJdi4LPGbD3NAAqa70EI1t5B Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi Nivedita, the behavior is correct. The page is just the kind of "glue" for the elements. If you add/remove/move and element or change an element setting, then the page changes and undo changes becomes active. If you just edit the content of an element, the page is unchanged, only the content itself has changes. To see if the page or elements on it have changes: Look at the "i" in the toolbar on the left-hand side. If the icon has a red dot, than there are changes. Click on the "i" to open a dialog to see more. In this dialog you may also call "Undo changes" for the changed elements. Best, Daniel. Am 08.07.26 um 08:18 schrieb niveditasheoran: > > Hi Daniel, > > Thank you for your quick response. Your suggestions were very helpful. > > I also have another question regarding the *Undo Changes* feature in > the Page Editor. > > When I edit the content of an existing page (for example, modifying > text in a content element), click *Save & Exit*, and then reopen the > page, the *Undo Changes* option is disabled with the message that it > is deactivated because the resource is unchanged. > > However, the *Undo Changes* option becomes enabled if I add a new > content/template element to the page or delete an existing one. > > I wanted to confirm whether this is the expected behavior or if there > could be something wrong with my installation. > > If this is the intended behavior, is there any way to undo changes > made to the content of an existing element after it has been saved, or > does the Undo Changes feature only apply to structural changes such as > adding or removing elements? > > Thank you again for your help. > > Best regards, > > Nivedita > > > On June 29, 2026 at 5:42 PM Daniel Seidel via opencms-dev > <[email protected]> wrote: >> >> Hi Nivedita, >> >> when you use the "Websites" app to create a new website, you can use >> the "Select Site-Template" on the last tab "Create site options" and >> select your school website you want to copy. This should probably do >> what you want. >> >> Another way would be to change the type of the sites root folder to >> "subsitemap". On subsitemap folders you have an additional option >> "Copy files, adjust all internal links" that does copies similarly. >> >> Best, Daniel. >> >> Am 29.06.26 um 09:52 schrieb niveditasheoran via opencms-dev: >>> >>> Hello, >>> >>> I have developed a complete school website in OpenCms and my >>> intention is to use it as a base for creating around *500 school >>> websites*. >>> >>> My plan was to copy this website whenever a new school website needs >>> to be created. However, I have encountered an issue. >>> >>> When I copy the website (I have tried *all available copy modes*, >>> including /Copy files, adjust all internal links/, /Copy files, keep >>> siblings/, /Copy files, also copy siblings/, and /Copy folders, >>> create siblings for all files/), the copied website is not >>> completely independent. If I edit content in the original website, >>> the same changes are reflected in the copied website, which is not >>> the behavior I want. >>> >>> My requirement is: >>> >>> * Develop one complete school website as a base. >>> * Create around *500 independent copies* from it. >>> * After copying, each school's content should be completely >>> independent, so editing one school's pages does *not* affect any >>> other school. >>> * At the same time, I would like to reuse common templates, JSPs, >>> and formatters wherever appropriate. >>> >>> Could someone please advise: >>> >>> 1. What is the recommended approach in OpenCms for creating >>> hundreds of independent websites based on a single website? >>> 2. Is there a way to copy a site without creating shared/sibling >>> resources? >>> 3. Am I using the wrong approach by copying the site folder >>> directly? Would using site templates, modules, model groups, or >>> another mechanism be a better solution? >>> >>> Any guidance or best practices would be greatly appreciated. >>> >>> Thank you! >>> >>> Nivedita Sheoran >>> >>> >>> >>> >>> ------------------------------------------------------------------------------------------------------------ >>> >>> [ C-DAC is on Social-Media too. Kindly follow us at: >>> Facebook: https://www.facebook.com/CDACINDIA & Twitter: @cdacindia ] >>> >>> This e-mail is for the sole use of the intended recipient(s) and may >>> contain confidential and privileged information. If you are not the >>> intended recipient, please contact the sender by reply e-mail and >>> destroy >>> all copies and the original message. Any unauthorized review, use, >>> disclosure, dissemination, forwarding, printing or copying of this >>> email >>> is strictly prohibited and appropriate legal action will be taken. >>> ------------------------------------------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> 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 >>> >>> >>> >> -- >> Kind Regards >> >> Daniel. >> >> ------------------- >> >> Daniel Seidel >> Alkacon Software GmbH & Co. KG - The OpenCms Experts >> https://www.alkacon.com -http://www.opencms.org > > _______________________________________________ > 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 > > > > > > > ------------------------------------------------------------------------------------------------------------ > > [ C-DAC is on Social-Media too. Kindly follow us at: > Facebook: https://www.facebook.com/CDACINDIA & Twitter: @cdacindia ] > > This e-mail is for the sole use of the intended recipient(s) and may > contain confidential and privileged information. If you are not the > intended recipient, please contact the sender by reply e-mail and destroy > all copies and the original message. Any unauthorized review, use, > disclosure, dissemination, forwarding, printing or copying of this email > is strictly prohibited and appropriate legal action will be taken. > ------------------------------------------------------------------------------------------------------------ -- Kind Regards Daniel. ------------------- Daniel Seidel Alkacon Software GmbH & Co. KG - The OpenCms Experts https://www.alkacon.com -http://www.opencms.org --------------pJdi4LPGbD3NAAqa70EI1t5B Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <p>Hi Nivedita,</p> <p>the behavior is correct. The page is just the kind of "glue" for the elements. If you add/remove/move and element or change an element setting, then the page changes and undo changes becomes active. If you just edit the content of an element, the page is unchanged, only the content itself has changes.</p> <p>To see if the page or elements on it have changes: Look at the "i" in the toolbar on the left-hand side. If the icon has a red dot, than there are changes. Click on the "i" to open a dialog to see more. In this dialog you may also call "Undo changes" for the changed elements.</p> <p>Best, Daniel.</p> <div class="moz-cite-prefix">Am 08.07.26 um 08:18 schrieb niveditasheoran:<br> </div> <blockquote type="cite" cite="mid:1137198057.8495.1783491527614.JavaMail.open-xchange@webmail.cdac.in"> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> <div> <p class="isSelectedEnd">Hi Daniel,</p> <p class="isSelectedEnd">Thank you for your quick response. Your suggestions were very helpful.</p> <p class="isSelectedEnd">I also have another question regarding the <strong>Undo Changes</strong> feature in the Page Editor.</p> <p class="isSelectedEnd">When I edit the content of an existing page (for example, modifying text in a content element), click <strong>Save & Exit</strong>, and then reopen the page, the <strong>Undo Changes</strong> option is disabled with the message that it is deactivated because the resource is unchanged.</p> <p class="isSelectedEnd">However, the <strong>Undo Changes</strong> option becomes enabled if I add a new content/template element to the page or delete an existing one.</p> <p class="isSelectedEnd">I wanted to confirm whether this is the expected behavior or if there could be something wrong with my installation.</p> <p class="isSelectedEnd">If this is the intended behavior, is there any way to undo changes made to the content of an existing element after it has been saved, or does the Undo Changes feature only apply to structural changes such as adding or removing elements?</p> <p class="isSelectedEnd">Thank you again for your help.</p> <p class="isSelectedEnd">Best regards,</p> <p>Nivedita</p> </div> <div> <br> On June 29, 2026 at 5:42 PM Daniel Seidel via opencms-dev <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]"><[email protected]></a> wrote: </div> <div style="position: relative;"> <blockquote style="margin-left: 0px; padding-left: 10px; border-left: solid 1px blue;" type="cite"> <p>Hi Nivedita,</p> <p>when you use the "Websites" app to create a new website, you can use the "Select Site-Template" on the last tab "Create site options" and select your school website you want to copy. This should probably do what you want.</p> <p>Another way would be to change the type of the sites root folder to "subsitemap". On subsitemap folders you have an additional option "Copy files, adjust all internal links" that does copies similarly.</p> <p>Best, Daniel.</p> <div class="moz-cite-prefix"> Am 29.06.26 um 09:52 schrieb niveditasheoran via opencms-dev: </div> <blockquote type="cite"> <p>Hello,</p> <p>I have developed a complete school website in OpenCms and my intention is to use it as a base for creating around <strong>500 school websites</strong>.</p> <p>My plan was to copy this website whenever a new school website needs to be created. However, I have encountered an issue.</p> <p>When I copy the website (I have tried <strong>all available copy modes</strong>, including <em>Copy files, adjust all internal links</em>, <em>Copy files, keep siblings</em>, <em>Copy files, also copy siblings</em>, and <em>Copy folders, create siblings for all files</em>), the copied website is not completely independent. If I edit content in the original website, the same changes are reflected in the copied website, which is not the behavior I want.</p> <p>My requirement is:</p> <ul> <li>Develop one complete school website as a base.</li> <li>Create around <strong>500 independent copies</strong> from it.</li> <li>After copying, each school's content should be completely independent, so editing one school's pages does <strong>not</strong> affect any other school.</li> <li>At the same time, I would like to reuse common templates, JSPs, and formatters wherever appropriate.</li> </ul> <p>Could someone please advise:</p> <ol> <li>What is the recommended approach in OpenCms for creating hundreds of independent websites based on a single website?</li> <li>Is there a way to copy a site without creating shared/sibling resources?</li> <li>Am I using the wrong approach by copying the site folder directly? Would using site templates, modules, model groups, or another mechanism be a better solution?</li> </ol> <p>Any guidance or best practices would be greatly appreciated.</p> <p>Thank you!<br> <br> Nivedita Sheoran</p> <br> <img src="https://pramani.cdac.in/signature.jpg" border="0" moz-do-not-send="true"> <br> <br> ------------------------------------------------------------------------------------------------------------ <br> [ C-DAC is on Social-Media too. Kindly follow us at: <br> Facebook: <a href="https://www.facebook.com/CDACINDIA" moz-do-not-send="true" class="moz-txt-link-freetext">https://www.facebook.com/CDACINDIA</a> & Twitter: @cdacindia ] <br> <br> This e-mail is for the sole use of the intended recipient(s) and may <br> contain confidential and privileged information. If you are not the <br> intended recipient, please contact the sender by reply e-mail and destroy <br> all copies and the original message. Any unauthorized review, use, <br> disclosure, dissemination, forwarding, printing or copying of this email <br> is strictly prohibited and appropriate legal action will be taken. <br> ------------------------------------------------------------------------------------------------------------ <br> <pre class="moz-quote-pre">_______________________________________________ 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 <a href="https://lists.opencms.org/mailman/listinfo/opencms-dev" moz-do-not-send="true" class="moz-txt-link-freetext">https://lists.opencms.org/mailman/listinfo/opencms-dev</a> </pre> </blockquote> <pre class="moz-signature">-- Kind Regards Daniel. ------------------- Daniel Seidel Alkacon Software GmbH & Co. KG - The OpenCms Experts <a href="https://www.alkacon.com" moz-do-not-send="true" class="moz-txt-link-freetext">https://www.alkacon.com</a> - <a href="http://www.opencms.org" moz-do-not-send="true" class="moz-txt-link-freetext">http://www.opencms.org</a></pre> </blockquote> <br> _______________________________________________ <br> This mail is sent to you from the opencms-dev mailing list <br> To change your list options, or to unsubscribe from the list, please visit <br> <a class="moz-txt-link-freetext" href="https://lists.opencms.org/mailman/listinfo/opencms-dev">https://lists.opencms.org/mailman/listinfo/opencms-dev</a> <br> <br> <br> <br> </div> <br> <img src="https://pramani.cdac.in/signature.jpg" moz-do-not-send="true"> <br> <br> ------------------------------------------------------------------------------------------------------------ <br> [ C-DAC is on Social-Media too. Kindly follow us at: <br> Facebook: <a class="moz-txt-link-freetext" href="https://www.facebook.com/CDACINDIA">https://www.facebook.com/CDACINDIA</a> & Twitter: @cdacindia ] <br> <br> This e-mail is for the sole use of the intended recipient(s) and may <br> contain confidential and privileged information. If you are not the <br> intended recipient, please contact the sender by reply e-mail and destroy <br> all copies and the original message. Any unauthorized review, use, <br> disclosure, dissemination, forwarding, printing or copying of this email <br> is strictly prohibited and appropriate legal action will be taken. <br> ------------------------------------------------------------------------------------------------------------ </blockquote> <pre class="moz-signature" cols="72">-- Kind Regards Daniel. ------------------- Daniel Seidel Alkacon Software GmbH & Co. KG - The OpenCms Experts <a class="moz-txt-link-freetext" href="https://www.alkacon.com">https://www.alkacon.com</a> - <a class="moz-txt-link-freetext" href="http://www.opencms.org">http://www.opencms.org</a></pre> </body> </html> --------------pJdi4LPGbD3NAAqa70EI1t5B-- --===============2869498462534431310== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KVGhpcyBtYWls IGlzIHNlbnQgdG8geW91IGZyb20gdGhlIG9wZW5jbXMtZGV2IG1haWxpbmcgbGlzdApUbyBjaGFu Z2UgeW91ciBsaXN0IG9wdGlvbnMsIG9yIHRvIHVuc3Vic2NyaWJlIGZyb20gdGhlIGxpc3QsIHBs ZWFzZSB2aXNpdApodHRwczovL2xpc3RzLm9wZW5jbXMub3JnL21haWxtYW4vbGlzdGluZm8vb3Bl bmNtcy1kZXYKCgoK --===============2869498462534431310==--