<user home>/.ramadda/plugins/somenametemplate.htmlAny plugin file that ends with "template.html" is loaded by RAMADDA as a template.
In the template are a set of properties. You should change the id and name property. There are a number of other macros shown as ${macro} that are used to instantiate a web page. See the above example template for more information.
You can see many examples of templates at the at the Github site.
This file was created from a directory tree:
exampletemplate exampletemplate.html htdocs exampletemplate template.css banner.jpgThe jar file is created with:
mac:jar -Mcvf exampletemplate.jar exampletemplate adding: exampletemplate/(in = 0) (out= 0)(stored 0%) adding: exampletemplate/exampletemplate.html(in = 1406) (out= 595)(deflated 57%) adding: exampletemplate/htdocs/(in = 0) (out= 0)(stored 0%) adding: exampletemplate/htdocs/exampletemplate/(in = 0) (out= 0)(stored 0%) adding: exampletemplate/htdocs/exampletemplate/banner.jpg(in = 55020) (out= 52006)(deflated 5%) adding: exampletemplate/htdocs/exampletemplate/template.css(in = 3680) (out= 1139)(deflated 69%)Note: if you don't have jar installed (it is part of the Java release) then you can just zip the file and call it something.jar.
The template.css and banner.jpg files are in a directory (exampletemplate) under the htdocs directory so they can be referenced in the html as:
<link href="/repository/htdocs_v5_0_40/exampletemplate/template.css" rel="stylesheet" type="text/css" media="screen">You can specify a default template for your site in 2 ways. First, go to the Admin->Users list and edit the anonynmous user. Select the desired template from the list. You can also specify the default template for the site via a property:
ramadda.html.template.default=<your template id>You can set this in a plugin .properties file or you can specify this property (and other properties as well) in the Admin->Settings->Site and Contact Information->Extra Properties field.
ramadda.template.mobile=<template id >You can also specify a mobile=true property in the properties section of your template.