Home | Wiki | OI 1.x Docs | OI 2.x Docs |
OpenInteract2::Manage::Website::ThemeInstall - Install a theme from a themeball
#!/usr/bin/perl
use strict; use OpenInteract2::Manage;
my $website_dir = '/home/httpd/mysite'; my $task = OpenInteract2::Manage->new( 'install_theme', { website_dir => $website_dir, theme_file => 'my_themeball' } ); my $status = $task->execute; print "Installed? $status->{is_ok}\n", "$status->{message}\n"; }
This task installs a theme from a "themeball", dumped using the 'dump_theme' task.
In addition to 'website_dir' you must define:
Filename of dumped theme to install.
No additional entries in the status messages.
Copyright (c) 2002-2003 Chris Winters. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Chris Winters <chris@cwinters.com>
Generated from the OpenInteract 1.99_03 source.