Re: Creating Independent Copies of a Website in OpenCms
Daniel Seidel via opencms-dev <[email protected]> Mon, 29 Jun 2026 14:12:56 +0200
| Newsgroups | gmane.comp.cms.opencms.devel |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--===============7351493560730932921==
Content-Type: multipart/alternative;
boundary="------------gjHzmXaCm5xbedSggOOv9Akq"
Content-Language: en-US
This is a multi-part message in MIME format.
--------------gjHzmXaCm5xbedSggOOv9Akq
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
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
--------------gjHzmXaCm5xbedSggOOv9Akq
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<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:<br>
</div>
<blockquote type="cite"
cite="mid:1804657602.167218.1782719553670.JavaMail.open-xchange@webmail.cdac.in">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<p data-end="182" data-start="159">Hello,</p>
<p data-end="500" data-start="294">I have developed a complete
school website in OpenCms and my intention is to use it as a
base for creating around <strong data-end="499"
data-start="476">500 school websites</strong>.</p>
<p data-end="623" data-start="502">My plan was to copy this
website whenever a new school website needs to be created.
However, I have encountered an issue.</p>
<p data-end="1039" data-start="625">When I copy the website (I
have tried <strong data-end="691" data-start="663">all
available copy modes</strong>, including <em data-end="742"
data-start="703">Copy files, adjust all internal links</em>, <em
data-end="771" data-start="744">Copy files, keep siblings</em>,
<em data-end="805" data-start="773">Copy files, also copy
siblings</em>, and <em data-end="856" data-start="811">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 data-end="1059" data-start="1041">My requirement is:</p>
<ul data-end="1405" data-start="1061">
<li data-end="1109" data-section-id="1v6quv7" data-start="1061">Develop
one complete school website as a base.</li>
<li data-end="1161" data-section-id="nq5a2i" data-start="1110">Create
around <strong data-end="1152" data-start="1126">500
independent copies</strong> from it.</li>
<li data-end="1302" data-section-id="1h8p7ho" data-start="1162">After
copying, each school's content should be completely
independent, so editing one school's pages does <strong
data-end="1277" data-start="1270">not</strong> affect any
other school.</li>
<li data-end="1405" data-section-id="um20fa" data-start="1303">At
the same time, I would like to reuse common templates, JSPs,
and formatters wherever appropriate.</li>
</ul>
<p data-end="1435" data-start="1407">Could someone please advise:</p>
<ol data-end="1796" data-start="1437">
<li data-end="1556" data-section-id="1wmy6aj" data-start="1437">What
is the recommended approach in OpenCms for creating hundreds
of independent websites based on a single website?</li>
<li data-end="1632" data-section-id="1pkcxam" data-start="1557">Is
there a way to copy a site without creating shared/sibling
resources?</li>
<li data-end="1796" data-section-id="n2eeca" data-start="1633">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 data-end="1927" data-start="1867">Any guidance or best
practices would be greatly appreciated.</p>
<p data-is-last-node="" data-is-only-node="" data-end="1939"
data-start="1929">Thank you!<br>
<br>
Nivedita Sheoran</p>
<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>
------------------------------------------------------------------------------------------------------------
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre wrap="" 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 class="moz-txt-link-freetext" href="https://lists.opencms.org/mailman/listinfo/opencms-dev">https://lists.opencms.org/mailman/listinfo/opencms-dev</a>
</pre>
</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>
--------------gjHzmXaCm5xbedSggOOv9Akq--
--===============7351493560730932921==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KVGhpcyBtYWls
IGlzIHNlbnQgdG8geW91IGZyb20gdGhlIG9wZW5jbXMtZGV2IG1haWxpbmcgbGlzdApUbyBjaGFu
Z2UgeW91ciBsaXN0IG9wdGlvbnMsIG9yIHRvIHVuc3Vic2NyaWJlIGZyb20gdGhlIGxpc3QsIHBs
ZWFzZSB2aXNpdApodHRwczovL2xpc3RzLm9wZW5jbXMub3JnL21haWxtYW4vbGlzdGluZm8vb3Bl
bmNtcy1kZXYKCgoK
--===============7351493560730932921==--