<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/exampletemplate/template.css" rel="stylesheet" type="text/css" media="screen">
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. If you have a site that has different hostnames that resolve to it (e.g, asdi.ramadda.org, ditchproject.org, etc) you can specify a default page template for each host with the properties:
<hostname>.template=template id e.g.: ditchproject.org.template=ditchproject www.ditchproject.org.template=ditchproject sdn.ramadda.org.template=sdnLikewise you can set the logourl on a per hostname basis:
<hostname>.logourl=... e.g.: ditchproject.org.logourl=https://ditchproject.org www.ditchproject.org.logourl=https://www.ditchproject.org sdn.ramadda.org.logourl=https://sdn.ramadda.org
ramadda.template.mobile=<template id >You can also specify a mobile=true property in the properties section of your template.