Various ways to configure the entry pages.
|
Page Header
<div class="ramadda-pageheader">${pageheader}</div>The contents of this page header can be specified with a "Page Header" property. This property can contain arbitrary wiki text. The most common use is to include a "navbar" tag, e.g.: Results in: By making this property be inherited then all entries within the repository would have the same page navigation links. For example, on ramadda.org we have the following navbar. In this example the links are aliases but they can be entry IDs. The extra id.label=... attributes allow one to specify an alternate label to be used. If a label is not defined then the name of the entry is used.
{You can also use entry IDs, e.g.:{navbar links="ramadda_information,examples,release,aboutgeode" ramadda_information.label=Information examples.label=Examples aboutgeode.label=About release.label=Downloads}}
{You can also add URLs in the links of the form:{navbar links="2e485e95-eb29-44fc-8987-76e6ac74365a,e2a0c8ee-4276-4fe3-bc70-76243faed1a2,..." 2e485e95-eb29-44fc-8987-76e6ac74365a.label=Information e2a0c8ee-4276-4fe3-bc70-76243faed1a2.label="Some other label" }}
links="URL1;label1,entry_id,URL1;label1"e.g.:
{{navbar links="https://google.com;Google,/repository/search/form;Search,2e485e95-eb29-44fc-8987-76e6ac74365a,e2a0c8ee-4276-4fe3-bc70-76243faed1a2,..." }}
The Footer property can be added and set to inherited=true to add a footer to every entry page.
The Footer can be arbitrary wiki text.
For example, you can add a share bar and a license
with a Footer property, e.g.:
Which results in the below on every page:
You can add a social media share bar to a page or to every page with the share tag:
If here=true then the bar is shown in place on the page. Else it is shown fixed either to the left, right
or the bottom of the page (depending on the horizontail attribute).
{{share position="left|right" theme="circle|square" horizontal="true" here="true" channels="facebook,twitter,linkedin,tumblr,digg,googleplus,reddit,pinterest,stumbleupon,email" animate="false" }}
You can use the navbar tag to create a fixed popup menu like:
{Some arguments:{navbar popup="true" header="Links
" left=true links="..."}}
- left=false - If you want this right aligned set
- popupLinkStyle="css to position the menu"
- header="Text to open the popup"
- footer="Text to close the popup"
Aliases
Sub-domains
Specifying Page Templates
ramadda.html.template.default=fixedmapheaderThis property can be set in the site Admin-Settings-Site and Contact Information-Extra Properties section or in a repository.properties file on the server. You can also specify a page template as a entry property that can be used for an entire sub-area of your RAMADDA. For example, the site https://landknowledge.org/ runs on ramadda.org. It has "Page Template" property that specifies the "Land Knowledge Template" and the property is set inherited=true so all descendent entries of the main entry use that template.
Site Maps