BlueSpice 4 cloud has one standard template that can be customized in the wiki. Its elements are defined in the following pages:
- MediaWiki:UniversalExport/PDF/Default/Header.html
- MediaWiki:UniversalExport/PDF/Default/Footer.html
- MediaWiki: UniversalExport/PDF/Default/Cover page.html
- MediaWiki: UniversalExport/PDF/Default/Styles.less
These pages have been replaced in BlueSpice 5. You need to transfer the content of these pages to one or more new PDF layouts.
To move the content:
- Open the page MediaWiki:PDFCreator.
- Select the template you want to edit or create a new one.
- Add the content of your templates to the appropriate tabs:
- Header.html -> Header tab
- Footer.html -> Footer tab
- Cover page -> Document prefixtab
- Styles.less -> Styles tab
- Correct the style-references for the header and footer wrappers:
Comparison of the default template content of BlueSpice 4 cloud and BlueSpice 5 cloud:
BlueSpice 4 | BlueSpice 5 | |
---|---|---|
Header | {|
| {{{logo}}} || || {{{title}}}
|}
|
The page header of each PDF page. The basic structure is:<div class="pdfcreator-runningheaderfix">
<table>
<tr>
<td>
<div class="pdfcreator-runningheader-logo">
{{{logo}}}
</div>
</td>
<td>
<h1 class="title">{{{title}}}</h1>
</td>
</tr>
</table>
</div>
|
Content | The content layout. The basic structure is:{{{content}}}
| |
Footer | {|
| {{{exportdate}}} || {{int:universal-export-pdf-default-disclaimer}} || {{{currentpagenumber}}} / {{{totalpagescount}}}
|}
|
<div class="pdfcreator-runningfooterfix">
<table>
<tr>
<td>
<span>{{int:pdfcreator-pdf-disclaimer}}</span>
</td>
<td>
<span>{{int:pdfcreator-pdf-export-time}}:{{#time:d.m.Y|now}}</span>
</td>
<td>
<span>{{int:pdfcreator-pdf-param-currentpagenumber-label}} </span>{{{currentpagenumber}}}
<span> {{int:pdfcreator-pdf-param-totalpagescount-label}} </span>{{{totalpagescount}}}
</td>
</tr>
</table>
</div>
|
Document preface | {| style="width: 100%; text-align: right;"
|{{{logo}}}
|}
{| style="margin-top: 10cm;"
| <span style="font-size: 18px; font-weight:bold;">{{{title}}}</span>
|-
|{{{subtitle}}}
|-
|}
|
<div class="pdfcreator-intro">
<div class="pdfcreator-intro-title">{{{title}}}</div>
</div>
pdfcreator-intro .
|
Document appendix | n/a | The last page of the PDF export. It has no predefined basic structure. |
Styles | default styles. | Style declarations for the CSS classes that are used in any of the template elements. There are no predefined styles. |
Properties | n/a | Allows to control some aspects of the PDF output. |
Description | n/a | Allows to document the template and its usage purpose. |
The following parameters no longer exist and need to be replaced with MediaWiki magic words:
Parameter | Description | Replace with |
---|---|---|
url | URL of the wiki page | {{fullurl:{{FULLPAGENAME}}}} |
exportdate | date of PDF-creation | {{CURRENTMONTH}}/{{CURRENTDATE}}/{{CURRENTYEAR}} |
exporttime | time of PDF-creation | {{CURRENTTIME}} |
subtitle | Subtitle of the book | {{{book-subtitle}}} |