--- title: "Header and footer" slug: "modèle-doffre-en-tête-et-pied-de-page" updated: 2025-11-17T14:08:40Z published: 2026-01-07T10:04:05Z canonical: "help.frisbii.com/modèle-doffre-en-tête-et-pied-de-page" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.frisbii.com/llms.txt > Use this file to discover all available pages before exploring further. # Header and footer Now that Linda knows how to set up a custom Quotation template, she wants to understand her Quotation template. She starts reading the Visualforce page she just got from GitHub. At some point, she asks Vijay, their Salesforce developer, to explain the code. ![visualforceimage.png](https://cdn.document360.io/b84e1b5d-2ba6-4465-8c62-fb45a2f31314/Images/Documentation/e2441538-b4e5-447b-bbc9-912cc2b36ad9?sv=2026-02-06&spr=https&st=2026-10-28T01%3A36%3A11Z&se=2026-10-28T02%3A36%3A11Z&sr=c&sp=r&sig=4JLC8wgTv4%2FfYZypje6sRIUp3B9vfwYKsonslpG8okw%3D) ## Header - StandardController ```xml ```

Important: it is a good idea to copy code between an invoice template and a Quotation template, as there are some parts like the addresses that are the same (or almost).

1. Think about changing the controller: ```xml ``` ```xml ``` 1. The relationship fields do not necessarily have the same name: ```xml ``` ```xml ``` Both fields retrieve the name of the Corporate Name. ## Header - Language The header of the Quotation page also contains by default the snippet that translates the template: `language="{!sofactoapp__Offre__c.sofactoapp__Langue__c}"  ` Linda can see that the language is selected from the Quotation. She can also select the language from: 1. the corporate name `{!sofactoapp__Offre__c.sofactoapp__Raison_Sociale__r.sofactoapp__Langue__c}` 1. the accounting data `{!sofactoapp__Offre__c.sofactoapp__Donnee_Comptable__r.sofactoapp__Langue__c}` Reminder: In general, only the parts for which there are translations in Salesforce will be translated. This includes: - Labels for Frisbii object fields (FR / EN) - [Custom labels](https://help.salesforce.com/articleView?id=cl_about.htm&type=5) set up by you, if you have set up a translation. What is not included: - Hardcoded text in the Visualforce page - Untranslated custom labels - Data entered into Frisbii / Salesforce by the user ## Footer The footer is divided into four columns: ![](https://cdn.document360.io/b84e1b5d-2ba6-4465-8c62-fb45a2f31314/Images/Documentation/image-TM1PT8FR.png?sv=2026-02-06&spr=https&st=2026-10-28T01%3A36%3A11Z&se=2026-10-28T02%3A36%3A11Z&sr=c&sp=r&sig=4JLC8wgTv4%2FfYZypje6sRIUp3B9vfwYKsonslpG8okw%3D) The information is to be filled in on your Corporate Name. ### Your company details In the first column you will find : - The name of the company - The street - Postal code - City - Country This is how it looks in the code: ```xml     ``` ### Contact of your company The second column contains the contact information of the Company: - Phone number - Fax number - Email address - Website This is how it looks in the code: ```xml


``` ### Legal notice Here is the information in the third column: - Legal form - Share capital - City RCS (french corporate name) - SIREN (french corporate name) - APE code (french corporate name) - Intra-community VAT (european corporate name) This is how it looks in the code: ```xml



``` ### Page number Let's look at the fourth column in more detail where we display the page: ```xml   / ``` We can use the pagenumber and pagecount classes, as both are defined in the stylesheet : ```xml ``` Here is how this CSS code is specified in the stylesheet: ```xml .pagenumber:before {content: counter(page);} .pagecount:before {content: counter(pages);} ```


Linda is surprised because the Visualforce page starts with the footer. "It's the world upside down" she thinks. Vijay explains to her that the display is managed by the styleClass="footer_center small".

Even though the code for this part is at the top of the Visualforce page, the information specified in the **apex:outputPanel** tag ensures that the footer appears at the bottom of the Quotation page.

styleClass="footer_center small" layout="block">