Time for action — creating a directory for your theme
Now, I'll show you all the necessary steps to create your new theme directory inside Roller's themes
directory in a Linux Ubuntu system, and then copy all the required files. If you're using Windows or any other flavor of Linux, the procedure is very similar:
Go to your Roller themes directory and create a directory named mytheme:
Open a terminal window, go to the
themes
subdirectory insideDesktop/chapter07
, and typesudo cp * /usr/local/tomcat/webapps/roller/themes/mytheme
to copy all themytheme
files to your Roller installation:In the end, your mytheme directory will have four files, as shown in the following screenshot:
Now restart Tomcat and wait until it's running again. Then open your web browser, log into Roller, and go to the Design tab to see the Weblog Theme page:
Click on the Shared Theme option and select My First Roller Theme from the drop-down listbox:
Click on the Update Theme button to change your current Roller theme,...