[opencms-dev] Sandbox howto

Patrick Donker list at webpagina.nu
Sun May 15 15:12:23 CEST 2005


Arash Kaffamanesh wrote:

>Patrik,
>
>Multisite settings shall be the right way, define a second site in
>opencms-system.xml and in vfs e.g. /sites/demosite and create a demouser
>that has write but not publish persmission to the demosite folder in
>offline project and has no view permission on /sites/default (default is
>your site). Set the preferences for demouser to restrict her view to a
>particulare folder beneath demosite. E.g /sites/demosite/nu
>
>cleaning up the /sites/demosite/nu/* hourly could be done perhaps via
>cmsshell or by writing a class which can be executed over the opencms
>scheduler nightly / hourly, I'm not sure what is feasible or the best
>way at all. 
>(what happens if a demouser creates a page e.g on 01.59 and saves it on
>2.00 and your cron job deletes the folder at the same time?)
>
>If you know how to delete a folder via cmsshell please let me know, or
>via opencms api using a custom class.
>
>I'm writing a small User Documentaion for my intranet users as an
>Editor-Tutorial(how to do this and that), if you think such a thing
>could be useful for you (or anybody else on this list) let me know.
>
>Best Regards,
>Arash Kaffamanesh
>
>-----Original Message-----
>From: opencms-dev-bounces at opencms.org
>[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Patrick Donker
>Sent: Freitag, 13. Mai 2005 20:32
>To: The OpenCms mailing list
>Subject: [opencms-dev] Sandbox howto
>
>
>People,
>
>Anyone has a howto, or tips on how to build a sandbox for my site 
>visitors to play in? I'd like to carry OpenCMS commercially, but then 
>people would like to fiddle with it. Would I need a completely separate 
>installation, or can I set up a multidomain box.
>Should I also have a cron job running that resets everything hourly to 
>keep it clean?
>Suggestions please ;)
>Thanks
>-Patrick
>  
>
Arash,
Thanks for the useful (to me at least) tips. I will mose definitively 
use them. And as for the howto you are writing; I think that additional 
docs are always welcome because OSS projects seem to always lack proper 
docs. Not to critisise the makers of the docs, but of you compare it to 
commercial products, there is a long way to go. Exsisting docs always 
are written by either a programmer or by a very experienced user. 
Writing of good docs is a skill which we unfortunately dont master all...
Who is 'in charge' of the docs as they are now? Maybe we can scrape the 
current manual together and create a new one consisting of all tips and 
howtos.

Thanks
-Patrick



More information about the opencms-dev mailing list