Table of Contents

HTML usage in Newbase

Within Newbase there are a number of components where HTML can be used. HTML is the language with which you create documents (but also home pages or web pages) that can be viewed on the World Wide Web and, within Newbase, take care of the layout of prints and messages. This format can be used within the following modules:

  • drop-down lists (think of formatting conditions)
  • translations (think of texts on prints)
  • templates (e.g. the layout of an email)
  • for users - messages: e-mail end
Note Newbase works with HTML 2.0, which means that only the basic HTML code will work.

Bij de meeste onderdelen is er een speciale HTML editor aanwezig die gebruikt kan worden om de HTML code in te voeren.

In het onderstaande voorbeeld is het ‘email einde’ te zien op de manier zoals deze ook in een e-mail zal worden weergegeven. Indien de applicatie in wijzig modus staat is de knop ‘HTML Editor’ zichtbaar. Na klikken op de knop opent zich een pop-up scherm en wordt de HTML code zichtbaar.

HTML Codes

In any case, the following HTML codes work within Newbase.

The basis

To be able to use HTML, the program must know that it is HTML code. Each part must contain the following code:

<html>

</html>

Each code has a start <code> and an end code </code>. Without ending code, the code remains active in the following lines until the code </html> terminates the HTML code. Pay close attention to this.
Codes can also be combined (to print a text bold and italic, for example)
do not use <title>: it has been found that the use of <title> can cause problems because it is not visible in Newbase but arrives at the recipient.
Note when copying formatted texts from Microsoft Office: when formatting text in Microsoft Office (and in all probability also in other packages) HTML code is used that is not supported by Newbase. At first the result may seem good, but it often turns out later that things are not going well. If you put the markup in another package and copy it to Newbase, always open the relevant text with the HTML editor in Newbase and clean it.

New line

if you are creating a block of text with multiple lines, you will have to insert a “hard line break”. If you don't do this, the text will continue in one line.

Spaces, center and tables

It is not possible to use tables within the HTML code available in Newbase. You can, however, use the <table> code for centering texts.

HOWEVER, IT IS NOT POSSIBLE TO ACTUALLY ENTER TABLES. The reason is that the fields available on the prints are seen as cells; it is not possible to place a table in a cell.

You can use spaces to align texts such as conditions on documents. PLEASE NOTE! The width of letters is different; you will never get it perfect!

Use of color

You can use colors in the texts. Within HTML, a hexadecimal format is used for colors.

If you have a specific PMS color in your logo that you want to use in the text, click here to look up the hex code

Load external image

At the "email end" you can include a company logo.

If you want to show this in your e-mail signature, you have to put the image online.
It is very wise to place this image within your own website because by placing the image on your own domain, you avoid ending up in a spam box.

Codes

Begin code

End code

Code

Result

Print text in bold

<b>

</b>

This is printed <b>bold</b>

This is printed bold

Print text italic

<i>

</i>

This is printed<i>italic</i>

This is printed italic

Print text underlined

<u>

</u>

This <u>text </u> is underlined

This text is underlined

Line break

<br>

no need

This is line one<br>and this is line two

This is line one

and this is line two

Space

&nbsp;

no need

Here 3 spaces are used: & nbsp; & nbsp; & nbsp; space

Here 3 spaces are used:   space

Centrering

<table align=”center”>

</table>

The text below is centered: <br> <table align = ”center”> Middle </table>

The text below is centered:

Middle 

Use of color

<font color="#xxxxx">

</font>

This <font color = "# D33115"> text </font> is printed in red

This text is printed in red

link to website in text

<a href>

</a>

<a href="https://www.newbase.nl">Newbase website</a>

Newbase website

link to e-mail in text

<a href>

</a>

<a href="mailto:info@newbase.nl">Send Newbase an e-mail</a> 

Send Newbase an e-mail

HTML in combination with merge code

HTML and merge codes can be combined. For more information about merge codes, see the help file

Some examples

Code

Result

<html>

  <b>Delivery address: </b><br><br>

CompanyName<br>Adresstraat 13<br>1000 AA AMSTERDAM<br> 

</html>

Delivery address:

CompanyName

Adresstraat 13

1000 AA AMSTERDAM

<html>

  <b>Payment condition:</b><br>&nbsp;&nbsp;&nbsp; 14 days netto<br>&nbsp;&nbsp;&nbsp;<font color="#D33115c"> <i>payment deadline July 21!</font> </i>

</html>

Payment condition:    

14 days netto

   payment deadline July 21!

<html>

 Please state our project number<br> on all correspondence:<b> %%merge.project.serial%%</b>

</html>

Please state our project number

on all correspondence: PR17-12345

How did we do?

VAT Settings

How does currency work within Newbase

Contact