There are plenty of external sire which will teach you the basics of HTML. Â Simply run a Google search and choose which one suite you best. Â Here is one link as an example:
http://www.w3schools.com/html/default.asp
Â
Reports are made up of 3 separate templates; the header, the content and the footer. You will need to setup a template for each of these within Expert Agent and then once you have done this you will need to create the report template itself.
To create a report template you will need to go to the property grid, right click and select the ‘Outputs - Create Report’ option. This will then open a window displaying your existing report templates and in the bottom right corner there will be a + button. You click the new button, and this will allow you name your new report, choose how many records show per page in your report and set the report type.
You will see 3 dropdown boxes within this screen asking you for a header template, content template and footer template - this is where you would assign the 3 templates that you have created.Â
Please see the Reports section of the manual or the Reports Video on our YouTube channel. Â
Sometimes, either due to making lots of changes to an HTML template or due to using ‘messy data’ when originally creating the template, you can find that you end up with lots of unnecessary coding in your document. As a result of this it will be hard to work with your document, or to make further changes – it is likely they may not have any effect due to all of the additional code that is present.
The example of the HTML view shown in the previous section on page breaks is a perfect amount of code for a one page document. If you go into the HTML view in a document and find you have lots more than that, it’s likely that you need to strip out some of what is there.
The easiest way to do this is to follow the steps below:
Â
Â
Â
When deleting HTML page breaks you don’t just need to delete the ‘------ Page Break ------‘ within the design view you also need to remove the HTML code that makes these page breaks work.
When in the HTML view of the Expert Agent template editor a page break will display as:
<div style="page-break-before: always;">------ Page Break ------</div>
Â
Because you may not want to delete all the page breaks within a template we recommend that you mark the page breaks you would like to remove, from within the design view, to read as ‘------ Page Break ------##’. This will then allow you to see which page breaks are the ones you want to remove, now in the HTML view on the Expert Agent template editor the page breaks will display as:
<div style="page-break-before: always;">------ Page Break ------##</div>
To then remove a page break from the template you will need to remove all of this HTML code.
If you have a template that has page breaks appearing without the ‘------ Page Break ------‘ text displaying in the design view you will need to remove the following HTML code from the HTML view:
<div style="page-break-before: always;">
And:
</div>
Â