I posted this to the forum.. 24 hours no answer.. so please help ...
If the clone would also copy "Change Language and Theme" I wold not need to find a command line api to set it. .. But I need a command API to set the webmin theme ..
Thanks Don
Forum Post <<<<<<<<<<<<<<< I need to create a site from a copy of a site. The clone command does great! But it does not clone the personal theme. (call it a bug -- maybe ) I have a site with the owners limits set to "almost" zero and it depends on the site also having a theme I made. I can make the site with a "clone-domain.pl --domain templatesql --so on ...
So as the personal theme is still set to the server default after the clone (Virtualmin Framed theme) and not the one of the cloned site. I tried added --> theme_username=new_theme added to /etc/webmin/config file thinking that my do it.. But It seems not... I was looking for a modify-user to set the current theme ?
Thanks Don
Comments
Submitted by JamieCameron on Wed, 02/15/2012 - 15:49 Comment #1
This is a bug .. the theme should be copied during cloning. I will fix this in the 3.91 Virtualmin release.
Submitted by DonPeek on Wed, 02/15/2012 - 16:37 Pro Licensee Comment #2
Could there be a command line way to set that ? I haven't found ? I looked .. couldn't find it.. ?
What I though was going on from looking was to add theme_username=my_new_theme on the /etc/webmin/config .. I tried that and restarting webmin but that didn't do it.. ?
Thanks Don
Submitted by JamieCameron on Wed, 02/15/2012 - 17:11 Comment #3
No, there is no way to set it from the command line.
Submitted by Issues on Wed, 02/29/2012 - 17:17 Comment #4
Automatically closed -- issue fixed for 2 weeks with no activity.